API
Types defined in the package
Missing docstring for LinearModel
. Check Documenter's build log for details.
Missing docstring for GLM.DensePredChol
. Check Documenter's build log for details.
Missing docstring for GLM.DensePredQR
. Check Documenter's build log for details.
Missing docstring for GLM.LmResp
. Check Documenter's build log for details.
Missing docstring for GLM.GlmResp
. Check Documenter's build log for details.
Missing docstring for GLM.LinPred
. Check Documenter's build log for details.
Missing docstring for GLM.ModResp
. Check Documenter's build log for details.
Constructors for models
The most general approach to fitting a model is with the fit
function, as in
julia> using Random
julia> fit(LinearModel, hcat(ones(10), 1:10), randn(MersenneTwister(12321), 10))
LinearModel{GLM.LmResp{Vector{Float64}}, GLM.DensePredChol{Float64, LinearAlgebra.CholeskyPivoted{Float64, Matrix{Float64}, Vector{Int64}}}}:
Coefficients:
────────────────────────────────────────────────────────────────
Coef. Std. Error t Pr(>|t|) Lower 95% Upper 95%
────────────────────────────────────────────────────────────────
x1 0.717436 0.775175 0.93 0.3818 -1.07012 2.50499
x2 -0.152062 0.124931 -1.22 0.2582 -0.440153 0.136029
────────────────────────────────────────────────────────────────
This model can also be fit as
julia> using Random
julia> lm(hcat(ones(10), 1:10), randn(MersenneTwister(12321), 10))
LinearModel{GLM.LmResp{Vector{Float64}}, GLM.DensePredChol{Float64, LinearAlgebra.CholeskyPivoted{Float64, Matrix{Float64}, Vector{Int64}}}}:
Coefficients:
────────────────────────────────────────────────────────────────
Coef. Std. Error t Pr(>|t|) Lower 95% Upper 95%
────────────────────────────────────────────────────────────────
x1 0.717436 0.775175 0.93 0.3818 -1.07012 2.50499
x2 -0.152062 0.124931 -1.22 0.2582 -0.440153 0.136029
────────────────────────────────────────────────────────────────
Missing docstring for lm
. Check Documenter's build log for details.
Missing docstring for glm
. Check Documenter's build log for details.
Missing docstring for negbin
. Check Documenter's build log for details.
Missing docstring for fit
. Check Documenter's build log for details.
Model methods
Missing docstring for StatsBase.deviance
. Check Documenter's build log for details.
Missing docstring for GLM.dispersion
. Check Documenter's build log for details.
Missing docstring for GLM.ftest
. Check Documenter's build log for details.
Missing docstring for GLM.installbeta!
. Check Documenter's build log for details.
Missing docstring for StatsBase.nobs
. Check Documenter's build log for details.
Missing docstring for StatsBase.nulldeviance
. Check Documenter's build log for details.
Missing docstring for StatsBase.predict
. Check Documenter's build log for details.
Missing docstring for StatsModels.isnested
. Check Documenter's build log for details.
Links and methods applied to them
Missing docstring for Link
. Check Documenter's build log for details.
Missing docstring for GLM.Link01
. Check Documenter's build log for details.
Missing docstring for CauchitLink
. Check Documenter's build log for details.
Missing docstring for CloglogLink
. Check Documenter's build log for details.
Missing docstring for IdentityLink
. Check Documenter's build log for details.
Missing docstring for InverseLink
. Check Documenter's build log for details.
Missing docstring for InverseSquareLink
. Check Documenter's build log for details.
Missing docstring for LogitLink
. Check Documenter's build log for details.
Missing docstring for LogLink
. Check Documenter's build log for details.
Missing docstring for NegativeBinomialLink
. Check Documenter's build log for details.
Missing docstring for PowerLink
. Check Documenter's build log for details.
Missing docstring for ProbitLink
. Check Documenter's build log for details.
Missing docstring for SqrtLink
. Check Documenter's build log for details.
Missing docstring for GLM.linkfun
. Check Documenter's build log for details.
Missing docstring for GLM.linkinv
. Check Documenter's build log for details.
Missing docstring for GLM.mueta
. Check Documenter's build log for details.
Missing docstring for GLM.inverselink
. Check Documenter's build log for details.
Missing docstring for canonicallink
. Check Documenter's build log for details.
Missing docstring for GLM.glmvar
. Check Documenter's build log for details.
Missing docstring for GLM.mustart
. Check Documenter's build log for details.
Missing docstring for devresid
. Check Documenter's build log for details.
Missing docstring for GLM.dispersion_parameter
. Check Documenter's build log for details.
Missing docstring for GLM.loglik_obs
. Check Documenter's build log for details.
Missing docstring for GLM.cancancel
. Check Documenter's build log for details.