- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I want to assess the association of fruit (three levels of intake) with odds of high creatinine (tertile). I did ordinary logistic regression. How can I get P-trend for ordinary logistic regression?
When I do ordinary logistic regression in SAS, I get the same odds ratio when select "event" 1, or 3. It means the odds ratio is the same when I compare tertile 3 vs 1 or tertle 1 vs 3? Is it true? How can I limit it to tertile 3 to 1? Can you share the code?
I used this code:
proc logistic data=w plots(only)=(effect oddsratio);
class fruit(ref='0')Sex(ref='1')/param=ref;
model creatinine(event='1')= fruit Age Sex BMI_A /Clodds=wald;
title " Association of fruit with high creatinin (adjusted for age Sex BMI_A ) ";
run;
exposure: fruit
outcome: creatinine
covariates: age, sex, BMI
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your response.
Can you tell me how I can get P for trend for odds ratios which I gained from logistic regression? How can I do test for trend for logistic regression? Can you share the relevant code for P for trend for crude and adjusted models?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content