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.
Plotting Interactions after xtregHello everyone, I am currently struggling to create a graph to visualize the moderation effect in m…
Help with stata codes to generate weights in a household surveyHi, I have two files: Central file (state1) and State file (state 1). I have to generate pooled est…
logistic regression ? panel dataDear Stata community, My data is long data and I have given an example of how it looks below. I ha…
Returning to variable window after outreg2 (seeout) in Stata 16.I have noticed a slight change in Stata 16 after I "seeout" my regression output after "outreg2". Be…
Standard deviation of industry-adjusted return on assets over five yearsDear STATA experts, My sample consists of firm-year observations panel with unbalanced data over th…
Subscribe to:
Post Comments (Atom)
0 Response to Setting the outcome variable in Cox regression.
Post a Comment