ljr1 {ljr} | R Documentation |
Determines the maximum likelihood estimates of model coefficients in the logistic joinpoint regression model with one joinpoint.
ljr1(y,n,tm,X,ofst,summ=TRUE)
y |
the vector of Binomial responses. |
n |
the vector of sizes for the Binomial random variables. |
tm |
the vector of ordered observation times. |
X |
a design matrix containing other covariates. |
ofst |
a vector of known offsets for the logit of the response. |
summ |
a boolean indicator of whether summary tables should be returned. |
The re-weighted log-likelihood is the log-likelihood divided by the largest component of n.
Coef |
A table of coefficient estimates. |
Joinpoint |
The estimate of the joinpoint. |
wlik |
The maximum value of the re-weighted log-likelihood. |
The authors are Michal Czajkowski, Ryan Gill, and Greg Rempala. The software is maintained by Ryan Gill rsgill01@louisville.edu.
Czajkowski, M., Gill, R. and Rempala, G. (2008). Model selection in logistic joinpoint regression with applications to analyzing cohort mortality patterns. {emph Statistics in Medicine} 27, 1508-1526.
data(kcm) attach(kcm) ljr1(Count,Population,Year+.5)