Hi all,
I am new to stata, and have quite large data set I'm working on, I'd be grateful for some advice:
First question is: whether "origin" is required in the stset? I have some code from others that hasn't used it but see many using it. Because my aim is to look at annual incidence rates, I don't know really how relevant it is?
Second question is:
I want to stsplit this to allow agecat, sex and agecat with sex combined stratification for incidence rates for the disease of interest for each year from 2000 to 2016. and then graphically represent this with CIs.
My problem is that because dataset includes almost 9 million subjects, the number of observations when I "(0(1)16)trim" is way too big for my computer to handle. Is this commonly encountered? is there a better way?
Many thanks,
Dom
This is what I have done:
stset dox, id(patient_id) fail(o_UC==1) enter(doe) scale(365.24)
gen _y = _t - _t0
stsplit _year, after(time=d(1/1/2000)) at(0(1)16) trim ***************************//this is where things go awry.
replace _year=2000 + _year
Related Posts with IR
Interpretation coefficients fixed-effects model when time dummies are includedDear community! I need your help I have been reading many posts in this forum and generally on the…
Want to do many regressions using ivreg2 with different variables and add them all to the results tableWant to do many regressions using ivreg2 with different variables and add them all to the results ta…
Increasing the gap between bar charts- Twoway barHi everyone, I was wondering if anyone could help me with increasing the gap between the bar charts…
kmatch md (iw =), what does it do?Does anyone have any idea of how the importance weights (iw) change the nearest neighbor (md) matchi…
Reshaping dataDear, I need to transform the following data: Code: * Example generated by -dataex-. For more info…
Subscribe to:
Post Comments (Atom)
0 Response to IR
Post a Comment