N/A
Posts: 1

# Simple Linear Regression

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
Super Contributor
Posts: 281

## Re: Simple Linear Regression

> 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?
Super Contributor
Posts: 365

## Re: Simple Linear Regression

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
Discussion stats
• 2 replies
• 134 views
• 0 likes
• 3 in conversation