[R] var.gamma in the prop.odds funtion (timereg package)

2015-10-13 Thread lspirk
Hi R users! I am trying to calculate the variance of the parameter under the null (Ho) using the "prop.odds" function in the timereg package. I know var.gamma will give the variance of the parameter, but how do I find this under Ho? For the Cox PH model, I used iter = 0 and the "vcov" function:

[R] variance of beta using prop.odds function in timereg package

2015-10-06 Thread lspirk
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, d

[R] Variance of parameter Beta under the null for Prop.Odds

2015-10-01 Thread lspirk
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. In other words, I am looking for Var(Beta under the null). For the Cox PH model, I used the "vcov" function and did the following: