Hi all,
I am trying to calculate the variance-covariance matrix for parameter Beta
under the null (Ho) using the "prop.odds" function in the timereg package.
For the Cox PH model, I used the "vcov" function and did the following:
cox <- coxph(Surv(time, censor) ~ x, iter = 0, init = 0, data = dat)
sig2 <- vcov(cox)
However, this vcov() does not work with the object created from "prop.odds".
Is there something similar I can do to get this value from a prop.odds
model?
Thanks for the help!
--
View this message in context:
http://r.789695.n4.nabble.com/variance-of-beta-using-prop-odds-function-in-timereg-package-tp4713220.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.