Question
DATA ONE; FIRSTOBS=2 DLM='09'X INPUT FREQ $ LOC; Cards; $36,198 1 $44,166 4 $31,874 4 $32,691 1 $41,259 4 $32,126 4 $42,924 2 $39,338 2
DATA ONE; FIRSTOBS=2 DLM='09'X INPUT FREQ $ LOC; Cards; $36,198 1 $44,166 4 $31,874 4 $32,691 1 $41,259 4 $32,126 4 $42,924 2 $39,338 2 $35,166 1 $33,664 1 $41,027 4 $31,159 4 $37,166 3 $34,696 3 $33,226 3 $33,386 3 $35,166 1 $38,655 1 $31,835 2 $43,235 2 $40,600 2 $35,901 3 $34,505 3 $31,184 1 $30,064 3 $27,274 4 $30,844 3 $35,358 4 $34,280 2 $48,631 2 $31,960 4 $43,839 2 $30,778 1 $32,019 3 $33,096 3 $31,606 3 $33,549 4 $41,901 2 $39,196 2 $32,306 1 $29,851 3 $34,098 1 $38,091 3 $33,081 4 $35,541 2 $37,848 1 $36,335 4 $32,533 1 $33,546 3 $43,269 4
INPUT FREQ LOC; IF LOC=1 THEN REGION='Southeast'; IF LOC=2 THEN REGION='Northeast'; IF LOC=3 THEN REGION='Midwest'; IF LOC=4 THEN REGION='WEST'; RUN; PROC PRINT; RUN; PROC ANOVA; CLASS REGION; MODEL MEDINC=REGION; MEANS REGION/SCHEFFE TUKEY LSD SNK ALPHA=0.05; RUN; */PROC GLM; *CLASS REGION; *MODEL FREQ=REGION; *CONTRAST 'CENTRAL CITY VS. SUBURBS AND RURAL' REGION -1 0.5 0.5; *MEANS REGION/SCHEFFE TUKEY LSD SNK ALPHA=0.1; *RUN; /*PROC NPAR1WAY ANOVA WILCOXON; CLASS REGION; VAR FREQ; RUN;*/
Trying to run an anova sas program above. Can you please help me and find what could be wrong with it in order to get an anova output.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started