- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi. Good evening.
I forgot how to do this. But I want to save coding time and do an ANOVA for many variables against one variable (dependent one) .
My code is:
proc anova data=aung.initial_complete6; ; *p=.0406;
class m_zmed_combo_id_use ;
model(bmi age_initial)= m_zmed_combo_id_use;
means m_zmed_combo_id_use/bonferonni ;
run; quit;
I wish to do bmi, age, etc all in one step.
Any help?
Thanks so much,
grzyb
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You've almost got it correct. Eliminate the parentheses and use the BON option. Here is a working example:
proc anova data=sashelp.heart;
class Smoking_Status;
model Cholesterol Weight Systolic Diastolic= Smoking_Status;
means Smoking_status / bon;
run; quit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You've almost got it correct. Eliminate the parentheses and use the BON option. Here is a working example:
proc anova data=sashelp.heart;
class Smoking_Status;
model Cholesterol Weight Systolic Diastolic= Smoking_Status;
means Smoking_status / bon;
run; quit;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, kindly~~
Sometimes when in a rush, I, like others, make silly mistakes, esp. after programming for 10 hours.
Thank you very much!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content