File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ docs/site/
44* .jl.cov
55* .jl. * .cov
66* .jl.mem
7+ Manifest.toml
Original file line number Diff line number Diff line change 11name = " StatsAPI"
22uuid = " 82ae8749-77ed-4fe6-ae5f-f523153014b0"
33authors = [
" Milan Bouchet-Valat <[email protected] " ]
4- version = " 1.4 .0"
4+ version = " 1.5 .0"
55
66[deps ]
77LinearAlgebra = " 37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Original file line number Diff line number Diff line change @@ -114,6 +114,21 @@ function reconstruct! end
114114 offset(model::RegressionModel)
115115
116116Return the offset used in the model, i.e. the term added to the linear predictor with
117- known coefficient 1.
117+ known coefficient 1, or `nothing` if the model was not fit with an offset .
118118"""
119119function offset end
120+
121+ """
122+ linearpredictor(model::RegressionModel)
123+
124+ Return the model's linear predictor, `Xβ` where `X` is the model matrix and `β` is the
125+ vector of coefficients, or `Xβ + offset` if the model was fit with an offset.
126+ """
127+ function linearpredictor end
128+
129+ """
130+ linearpredictor!(storage, model::RegressionModel)
131+
132+ In-place version of [`linearpredictor`](@ref), storing the result in `storage`.
133+ """
134+ function linearpredictor! end
You can’t perform that action at this time.
0 commit comments