BookmarkSubscribeRSS Feed
KarimaTouati
Obsidian | Level 7

Hello, 

I am trying to ansewer to the below problem :

pb1.png

using Proc GLM :

PROC SORT
	DATA=TAB2 (keep= Country Sex Age Group year EmployPop ImmiShare )
	OUT=Sorted_TAB2;
	BY Group ;
RUN;

TITLE "Model M1";
Proc glm Data=Sorted_TAB2;
class year country ;
model EmployPop=ImmiShare/solution alpha=0.05 ;
by group ;
quit;

But  I am confused if my model is right or not since I have fixed effects (group, year and country).

Proc GLM or Proc Panel can give the same result ?

And if it is right using absorb or class is it the same in my case ? Proc Sort by group is necessary ?

 

And How Can I explicit  the null and alternative hypotheses, the test statistic, the rejection rule and the degrees of freedom.

Any help will be appreciated.

 

PS: this is an overview of my data : 

2222.PNG

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 794 views
  • 0 likes
  • 1 in conversation