logbin
and logbin.smooth
,
together with various supporting functions.
It is useful in two main situations. The first is when a standard GLM routine, such as
glm
, fails to converge with such a model. The second is when a flexible
semi-parametric component is desired in these models. One of the main purposes of this
package is to provide parametric and semi-parametric adjustment of relative risks.
The computational method is a combinatorial EM algorithm (Marschner, 2014),
which accommodates the parameter constraints and is more stable than iteratively
reweighted least squares. A collection of restricted parameter spaces is defined
which covers the full parameter space, and the EM algorithm is applied within each
restricted parameter space in order to find a collection of restricted maxima of
the log-likelihood function, from which can be obtained the global maximum over the
full parameter space.
The methodology implemented in this package is presented in Marschner and Gillett (2012)
and Donoghoe and Marschner (2014).glm
## For examples, see example(logbin) and example(logbin.smooth)
Run the code above in your browser using DataLab