Displaying 2 results from an estimated 2 matches for "stepreg".
Did you mean:
stephen
2024 May 16
0
segmented 2.1-0 is released
...i.e. piecewise linear, relationships in (generalized) linear
models. Starting with version 2.0-0, it is also possible to model
stepmented, i.e. piecewise constant, effects.
In the last release both models may be fitted via a formula interface,
such as
segreg(y ~ seg(x1, npsi=2) + seg(x2) + z)
stepreg(y ~ seg(x1, npsi=2) + seg(x2) +seg(x3, npsi=3) + z, family=poisson)
There is virtually no limit in the number of covariates and
corresponding number of changepoints to be estimated.
thank you,
kind regards,
Vito
--
=================================================
Vito M.R. Muggeo, PhD
Profes...
2024 May 16
0
segmented 2.1-0 is released
...i.e. piecewise linear, relationships in (generalized) linear
models. Starting with version 2.0-0, it is also possible to model
stepmented, i.e. piecewise constant, effects.
In the last release both models may be fitted via a formula interface,
such as
segreg(y ~ seg(x1, npsi=2) + seg(x2) + z)
stepreg(y ~ seg(x1, npsi=2) + seg(x2) +seg(x3, npsi=3) + z, family=poisson)
There is virtually no limit in the number of covariates and
corresponding number of changepoints to be estimated.
thank you,
kind regards,
Vito
--
=================================================
Vito M.R. Muggeo, PhD
Profes...