StatsModels.jl icon indicating copy to clipboard operation
StatsModels.jl copied to clipboard

Specifying, fitting, and evaluating statistical models in Julia

Results 114 StatsModels.jl issues
Sort by recently updated
recently updated
newest added

Hi! hope I didn't miss it in the docs somewhere, is it possible to extend the formula syntax with keyword-value pairs? E.g. `poly(x,deg=5)` instead of the boring `poly(x,5)` Cheers, Benedikt

I initially posted this issue (incorrectly) to `GLM.jl` https://github.com/JuliaStats/GLM.jl/issues/490 `lrtest` tests a difference in deviance, but the correct definition for the test statistic is twice the difference in the loglikelihood....

changing `categorical` to `string.` fixes issue #250

Per the doc strings for `lrtest`: ```julia julia> using DataFrames, GLM julia> dat = DataFrame(Result=[1, 0, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1], Treatment=[1, 1, 1, 2,...

This is a pretty substantial change in how non-special function calls are represented. Instead of generating an anonymous function, the new `FunctionTerm` simple wraps the called function, it's arguments (wrapped...

breaking

Hi everyone, I was sent over from FixedEffectModels.jl as the problem seems to stem from StatsModels.jl Here is the link to the thread: https://github.com/FixedEffects/FixedEffectModels.jl/issues/206 Here is the original issue: The...

When done, this will close #145 and potentially address #17 . - [x] Handle missing in continuous variables. - [ ] Handle missing in categorical variables.

Why matrix field of struct ContrastsMatrix is Matrix{Float64}? For many cases fo DummyCoding() or FullDummyCoding() this can be BitMatrix or SparseMatrixCSC{Bool, Int64}. For big datasets I try to make something...

Similarly to `lag`, it's very common to use differenced time series in analysis. Would a differencing function be a good addition to the package? Where I think it could be...

Is it possible to add to API some like this: ``` function term_n_to_modelmatrix_col(mm::ModelMatrix, i::Int) inds = findall(x -> x==i, mm.assign) end ``` Generally I try to make function that can...