Hi,
I am doing a systematic review and I am comparing ORs. For most of the studies, I can only extract prevalence, calculate numbers to insert in a 2x2 table and then calculate an OR.
There is one study per observation: cases have an aaa (abdominal aortic aneurysm), exposure is dm (diabetes)
Array
Does anyone know how to do that in a loop, so I do not have to calculate all by hand?
I need to save the computed ORs along with CI (my guess is return list, gen var=r(or) - but then the variable is for all the observations and not just the exact study?)
Can anyone please help me? I know, I can do it by hand, but I would prefer programming my way out of it as to making it reproducible
Let me know if you need further information or clarification.
Thank you & Happy Holidays,
Kind regards,
Katrine
Related Posts with Loop for calculating OR in 2x2 tables (cci)
Small sample of 38 observationsHi, I have a panel data of 26 countries and 21 years, but I am only concerned with 38 observations.…
How to use lnmvnormalden(M,V,X) function (natural logarithm of the multivariate normal density)?I need to calculate the (logs of) bivariate normal densities for a large number of observations on t…
List string values of multiple varlistsHi everyone, I am trying to list the string values of two varlists (med_other_ind* and med_name*) w…
Conflicting results in did and dose response modelsDear All, I am looking to the impact of Syrian mass migration on the firm-level performance measure…
Technical problem: A regression model runs slowlyHello, I am doing multilevel logistic regression models And I run into a problem when I add two slop…
Subscribe to:
Post Comments (Atom)
0 Response to Loop for calculating OR in 2x2 tables (cci)
Post a Comment