logistftest(formula=attr(data, "formula"), data=sys.parent(),
test, values, maxit = 25, maxhs=5, epsilon = .0001,
maxstep = 10, firth=TRUE, beta0)
~ B +
D - 1
). As default all parameter apart from the intercept are tested.
If -1 is not included in the formula, the intercept would be tested,
too! As alternative to the formula oneHeinze G (1999). Technical Report 10: The application of Firth's procedure to Cox and logistic regression. Department of Medical Computer Sciences, Section of Clinical Biometrics, Vienna University, Vienna.
Heinze G, Ploner M (2001). SAS and SPLUS programs to perform Cox regression without convergence problems. Computer methods and programs in Biomedicine, to appear.
Heinze G, Schemper M (2001). A solution to the problem of monotone likelihood in logistic regression. submitted.
data(sex2)
logistftest(case ~ age+oc+vic+vicl+vis+dia, sex2,
test = ~ vic + vicl - 1, values = c(2, 0))
Run the code above in your browser using DataLab