Hi,
I am trying to estimate the hazard ratios of the age of first drinking, the goal is to measure the risks of underage drinking (<18 years). The values for age at first drinking are: 0 (never), 12,13, 14...38.
I can run the analysis as it is, but certainly not doing it right because I didn't specify the cut-off age anywhere. I am following a similar study that mentioned: "The outcome variable is the age at first drinking. For teens with no drinking experience at survey time, the age at interview was used to include them in the analysis (i.e., censor under the terminology of survival analysis)."
Please free free to share your insights on this, or link to any material that can teach the method.
Thank you.
Related Posts with Setting the outcome variable in Cox regression.
Trouble configuring use of whereis with Word for Mac and markstat in Stata 16Hello all, I very happily developed a .do file on a Windows 10 machine using markstat with pandoc a…
Running regression with time indicator interactionHello, I am running regressions for daily exchange rate data and using Brexit-related news to see t…
Preserve/Restore with GlobalsIf I preserve, establish globals, and then restore, will the globals I established in the preserve/r…
Is there code for analyzing the Dietary Screener Questionnaire in Stata?Hello, I am using the Dietary Screener Questionnaire to assess dietary intake. The National Cancer …
Grand margin is ouside range given by margins at specified values of covariatesI have a problem understanding -margin results, even after reading Clyde Schechter's clarifications.…
Subscribe to:
Post Comments (Atom)
0 Response to Setting the outcome variable in Cox regression.
Post a Comment