BookmarkSubscribeRSS Feed
rmiller
Calcite | Level 5
Hello everyone,
This is my first post in this forum.
Currently I am taking SAS class at my university. Right now in the class, the professor is teaching simple linear regression on the data sets.Once I run the proc reg on the data set, the output window pops up with the information in 4 tables:
Table 1 displays Number of observation read and used.
Table 2 displays Analysis of Variance
Table 3 displays Root MSE, Dependent Mean, Coeff Var, R-Square Adj R-Sq
Table 4 displays Parameter Estimates.

I want to learn how we got the values from tables 2 to 4 based on the formulas. Could anyone let me know how I can calculate these values based on the formulas with an example(similar to observations in sas data set).
Once I get to know how to calculate these values manually then I can check these values against the output of proc reg.

Later, I can easily understand the procedure involved to solve the problems related to multiple and logistic regression.

Thanks in advance.
Kind regards,
Rmiller
2 REPLIES 2
Paige
Quartz | Level 8
> I want to learn how we got the values from tables 2
> to 4 based on the formulas. Could anyone let me know
> how I can calculate these values based on the
> formulas with an example(similar to observations in
> sas data set).

I guess I am mystified by this question. Any text book on regression has the formulas. Any data set will do. Could you explain in more detail what you expect someone in this forum to provide?
SPR
Quartz | Level 8 SPR
Quartz | Level 8
Hello Miller,

If you would like SAS specific implementation of regression formulas you can find them in SAS help for proc reg. For example, the "Model Fir and Diagnostic Statistics" topic from this help contains part of these formulas.

Sincerely,
SPR

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1177 views
  • 0 likes
  • 3 in conversation