-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why ContrastsMatrix matrix is Matrix{Float64}? #251
Comments
Is it possible to make:
|
@PharmCat how many contrast levels do you have? If this is for the grouping variable in MixedModels.jl, then there is the |
Hello! It can be more than 10^5. Actually I'am working on Metida.jl, that helps me in some tasks where MixedModels.jl can't be used. I know that in MixedModels this problem solved, Metida have some "workaround" too. And I see 'Grouping' in MixedModels.jl and may be 'Grouping' code should be moved to StatsModels.jl and documented there (may be with some other code from MixedModels, such using "/" in terms). So also I can't find any roadmap for StatsModels, I think StatsModels is a core package for JuliaStats ecosystem, but have no information about it's development plan to version 1.0 |
The nesting syntax |
The implementation of Depending on the exact structure of your model, you might be able to skip using the full formula infrastructure and instead call a custom |
Yep, but this means that I should copy this code or include MixedModels as a dependency. Maybe place this functionality in StatsModels? |
There's nothing wrong with copying this code, but maybe @kleinschmidt has thoughts on whether it makes more general sense to include this in StatsModels? |
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 like this:
But I have memory overflow because ContrastsMatrix tries to convert this to Matrix{Float64}.
The text was updated successfully, but these errors were encountered: