Hello users-
Can someone please verify if I wanted to test the fit of the model using ROCTAB after running logistic model with time at risk as on offset this is how I would do it.
y is binomial (0,1)
xi: logit y x1 x2, or offset(ln-timeatrisk)
predict p1, p
gen p1inv=1-p1
roctab y p1inv, graph
Thanks
Ashar
Can someone please verify if I wanted to test the fit of the model using ROCTAB after running logistic model with time at risk as on offset this is how I would do it.
y is binomial (0,1)
xi: logit y x1 x2, or offset(ln-timeatrisk)
predict p1, p
gen p1inv=1-p1
roctab y p1inv, graph
Thanks
Ashar
Comment