Displaying 1 result from an estimated 1 matches for "cleanbasel".
2004 May 10
1
Explaining Survival difference between Stata and R
....pp.cd + eio,
data=dat3, control=coxph.control(iter.max=1000),singular.ok=T)
Warning message:
Ran out of iterations and did not converge in: fitter(X, Y, strats,
offset, init, control, weights = weights,
So I wrote out the file exatly as it was in R into Stata dataset
> write.dta(dat3,"cleanBasel.dta")
Warning message:
Abbreviating variable names in: write.dta(dat3, "cleanBasel.dta")
Here's the Stata output:
. use "/home/pauljohn/ps/ps909/AdvancedRegression/duration_2/cleanBasel.dta"
(Written by R. )
. stset yrs2, failure (ratify)
failure...