Package: |
logbin |
Type: |
Package |
Version: |
1.2 |
Date: |
2015-05-12 |
License: |
GPL (>= 2) |
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 (2015).
Marschner, I. C. (2014). Combinatorial EM algorithms. Statistics and Computing 24(6): 921--940.
Marschner, I. C. and A. C. Gillett (2012). Relative risk regression: reliable and flexible methods for log-binomial models. Biostatistics 13(1): 179--192.
glm
## For examples, see example(logbin) and example(logbin.smooth)
Run the code above in your browser using DataLab