Skip to content
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

add hasintercept #17

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
12 changes: 12 additions & 0 deletions src/statisticalmodel.jl
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,15 @@ Return the weights used in the model.
"""
function weights end


matthieugomez marked this conversation as resolved.
Show resolved Hide resolved
"""
hasintercept(model::StatisticalModel)

Return a Boolean indicating whether the model has an intercept
matthieugomez marked this conversation as resolved.
Show resolved Hide resolved
"""
function hasintercept end


matthieugomez marked this conversation as resolved.
Show resolved Hide resolved
"""
isfitted(model::StatisticalModel)

Expand Down Expand Up @@ -314,3 +323,6 @@ function adjr2(model::StatisticalModel, variant::Symbol)
end

const adjr² = adjr2



matthieugomez marked this conversation as resolved.
Show resolved Hide resolved