BookmarkSubscribeRSS Feed
MCT-PHD
Calcite | Level 5

I have a dataset of approximately 450 observations, 250 from Country #1 and 200 from Country #2.  Here are my variables in my dataset:

 

Country (either #1 or #2)

Variable of Interest #1

Variable of Interest #2

Variable of Interest #3

Variable of Interest #4

Control #1

Control #2

Control #3

Dependent Variable #1

Dependent Variable #2

Dependent Variable #3

 

For example, in Proc Reg:  Model DV1 = VariableInterest#1 VariableInterest#2 VariableInterest#3 VariableInterest#4 Control#1 Control#2 Control#3;

 

I am working on coding MANOVA using Country as "Class".  I'm not very familiar with MANOVA and have tried a few codes, but nothing has worked.  Any help on coding MANOVA for this data to determine any variance between DVs #1-3?  Thanks!

2 REPLIES 2
PaigeMiller
Diamond | Level 26

You have to do this in PROC GLM. Put the three dependent variables on the left side of the equal sign in the MODEL statement. You also need a MANOVA statement in PROC GLM. Please look at the PROC GLM documentation for examples. 

--
Paige Miller
ChrisHemedinger
Community Manager

Here's an example from the documentation that @PaigeMiller referenced.  And more details in the MANOVA statement.

SAS For Dummies 3rd Edition! Check out the new edition, covering SAS 9.4, SAS Viya, and all of the modern ways to use SAS!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 868 views
  • 0 likes
  • 3 in conversation