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?
merging multiple excel file from a folder using key variable household id and monthI have many excel files in a folder and each data file contains variable VDS_ID and SUR_MON_YR. I wa…
Panel DataHey everyone, I'm fairly new to using Stata, so im still getting use to everything. I am using unbal…
Do the regression for only one company each and saving them to an excel/doc (ASDOC)Hi everybody, I do have a panel dataset where every company has a unique ID (-company-) and their r…
CONSORT DiagramDear Statalist, Is is possible to create a CONSORT flow diagram in stata without specifying the coo…
Mean of a variable by multiple variables in the same tableHi. In my data there are 20 variables (var1- var20) which are deciles created based on different fa…
Subscribe to:
Post Comments (Atom)
0 Response to Can lpoly/lowess/npregress be used in a survival analysis context?
Post a Comment