Hi,
I would like to study the effect of a heritable exposure (gene mutation) on two outcomes (a and b) in a prospective cohort with survival data using cox regression in Stata.
It is known that the exposure under study (gene mutation) causes some condition (c) later in life, which if untreated eventually leads to cancer.
My data contains dates for enrolment into the study which varies depending on when one was tested for the mutation (controls were sampled on the testing date), date of diagnosis of the condition (for those who developed it), dates for the outcomes (a, b), and date for end of followup/study which is the same for all.
I am interested to run sub-analyses to check if the risk of the two incident events/outcomes (a,b) depends on the mutation in itself, or on the phenotype of the condition (c) the gene causes.
To do that, I want to run stratified analyses on those with/without the condition (c) followed up to only 1 year after diagnosis of the condition (c) as opposed to the normal situation of following them up to the end of the study.
I can run regular stratified cox analyses to analyse the entire follow-up period, but I haven’t figured out yet how I can set up the analyses to only analyse up to 1 year of follow-up after diagnosis of the condition. I shall appreciate any ideas and or pseudo-code.
nelly
Related Posts with How to set up and run stcox stratified survival analyses on a limited time of the entire followup.
Two loop of foreach: How to outreg2?Could you kindly help me? I try to produce regression using three different variables (physical con…
What statistical analysis should I use?Hello, I am bit confused in multivariate logistic regression analysis. I was reading a paper and t…
CollapseI hope all is well with you. I have a question about "collapse". I want to create tables with the '…
Choosing the 7-day-value per countryHi everyone, I'm working with a dataset that shows me the number of infected people with Covid-19 p…
if command with 3 conditionsI am trying to generate a new variable using the "if" command based on 3 other variables ex: gen com…
Subscribe to:
Post Comments (Atom)
0 Response to How to set up and run stcox stratified survival analyses on a limited time of the entire followup.
Post a Comment