☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 11-29-2023 03:49 PM
(23263 views)
Hi SAS users!
I am trying to create a PROC ANOVA for my analysis and keep coming with this error: ERROR: No continuous effects allowed in PROC ANOVA.
My code is this: PROC ANOVA DATA=ANOVA;
CLASS Quartiles;
MODEL riskfactors_countyestimate = demo_edupctn3 demo_povpctn outcomes_adults_mental_distr;
RUN;
Quartiles is a character variable while the rest of the variables are numeric.
I am not very good at the statistical side of SAS so advice is well-appreciated!
The numeric variables are percentages of populations if that also helps!
Thank you!
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I think you want a GLM, not PROC ANOVA here.
ANOVA expects the variables on the right hand side of the equal sign to be categorical.
ANOVA expects the variables on the right hand side of the equal sign to be categorical.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I think you want a GLM, not PROC ANOVA here.
ANOVA expects the variables on the right hand side of the equal sign to be categorical.
ANOVA expects the variables on the right hand side of the equal sign to be categorical.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
That would make so much sense, thank you!