Skip to content

Commit

Permalink
correct documentation on standardize argument
Browse files Browse the repository at this point in the history
  • Loading branch information
evangorstein committed Jan 13, 2025
1 parent 248bc0f commit f50a631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HighDimMixedModels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ algorithm and return a fitted model of type `HDMModel`.
- `Z=X`: Random effects design matrix (N by m), should contain some subset of the columns of `X` (defaults to equal `X`)
Keyword:
- `penalty::String="scad"`: Either "scad" or "lasso"
- `standardize::Bool=true`: Whether to standardize the columns of all design matrices before performing coordinate descent. The value of `λ` (and `wts`) should be chosen accordingly. Estimates will be returned to the original scale at the end.
- `standardize::Bool=true`: Whether to standardize the columns of `G` before fitting. The value of `λ` (and `wts`) should be chosen accordingly. Coefficient estimates are returned on the original scale.
- `λ::Real=10.0`: Positive number providing the regularization parameter for the penalty
- `wts::Union{Vector,Nothing}=nothing`: If specified, the penalty on covariate j will be λ/wⱼ, so this argument is useful if you want to penalize some covariates more than others.
- `scada::Real=3.7`: Positive number providing the extra tuning parameter for the scad penalty (ignored for lasso)
Expand Down

0 comments on commit f50a631

Please sign in to comment.