Hi experts,
I know that in STATA we can use the logit command to fit a discrete-time logistic hazards model (logit event timevar indepvars, where event is a binary variable with 0 meaning surviving at a given time and 1 meaning 'died' at a given time), given that our data is in the long format.
My question is: can I use local regression commands such as lpoly/lowess/npregress to fit a hazards model? For example, given a long-format data, can I run:
lpoly event timevar indepvars, logit
or
npregress event timevar indepvars
and then use margin to calculate the probability of experiencing the event at each time point of the timevar?
Related Posts with Can lpoly/lowess/npregress be used in a survival analysis context?
How to calculate the team size?I have a dataset as below. There are two columns, one is the team ID, the other is the team member I…
How to view the SE of autocorrelation in xtregarI'm estimating a model using xtregar, fe. The results include an estimate of rho (rho_ar), but I can…
Help with graph.Hello to all. I'm trying to use pciplot to plot a HR obtained from cox regression against a continu…
Repeated measures, do GEE, mixed models or logistic regressionHello, I know there are many postings on this topic but I am still a bit confused. I have cohort …
Generating a variable that takes value 1 if other characteristics of other variables are fulfilledHi I have to generate a dummy variable X1 that takes the value of 1 if only ONE of the dummy variab…
Subscribe to:
Post Comments (Atom)
0 Response to Can lpoly/lowess/npregress be used in a survival analysis context?
Post a Comment