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


"""
hasintercept(model::StatisticalModel)

Return a Boolean indicating whether the model has an intercept
"""
function hasintercept end


"""
isfitted(model::StatisticalModel)

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

const adjr² = adjr2