Statistical Procedures

Programming the statistical procedures from SAS
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
niki0209
Obsidian | Level 7

Hello people.

I am using proc glm to estimate a model, because I want to include non-numerical variables, and that doesn't work in proc reg.

My issue is that when I include the non-numerical variables and a class statement, then I don't get a table with the regression results anymore...

 

If I were to remove the non-numerical variables and the class statement, then i would get a table with intercept, estimates, standard errors etc.

But when I include them, this table is not produced. So when I estimate my model, I don't get the parameter estimates and the standard errors.

 

Does anybody know how to solve this problem?

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

Use the SOLUTION option on the MODEL statement

 

Example:

model y=x1 x2 x3/solution;
--
Paige Miller

View solution in original post

2 REPLIES 2
PaigeMiller
Diamond | Level 26

Use the SOLUTION option on the MODEL statement

 

Example:

model y=x1 x2 x3/solution;
--
Paige Miller
niki0209
Obsidian | Level 7

Oh my god - I love you. Thanks!

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 2 replies
  • 1151 views
  • 2 likes
  • 2 in conversation