Thread Subject: Interpreting OLS Matlab results

Subject: Interpreting OLS Matlab results

From: kostas Lynch

Date: 7 Nov, 2009 10:53:01

Message: 1 of 3

Hi,
I'm new to Matlab and looking to interpret the below results. I'm not sure what the signiificance of things like the R squared, the coefficients, t stats are etc. I've used one dependant variable and six independent variables. Can anyone please help. Anything appreciated. thanks. Apologies if this is a double post.


Ordinary Least-squares Estimates
R-squared = 0.0644
Rbar-squared = 0.0457
sigma^2 = 0.0000
Durbin-Watson = 0.4464
Nobs, Nvars = 256, 6
***************************************************************
Variable Coefficient t-statistic t-probability
variable 1 0.146728 162.088033 0.000000
variable 2 0.000095 0.017054 0.986407
variable 3 -0.014683 -2.153490 0.032237
variable 4 0.011606 2.488331 0.013486
variable 5 0.000000 1.598341 0.111230
variable 6 -0.000000 -1.059647 0.290328

Wald F-test results

ans =

    1.0475 0.3832

Subject: Interpreting OLS Matlab results

From: dpb

Date: 7 Nov, 2009 14:04:31

Message: 2 of 3

kostas Lynch wrote:
> Hi,
> I'm new to Matlab and looking to interpret the below results. I'm not
> sure what the signiificance of things like the R squared, ...
> Ordinary Least-squares Estimates
> R-squared = 0.0644
...

This really isn't a ML question at all.

That value of R^2 implies the model explains only 6% of the total
variance of the data (which by inference leaves 94% unexplained).

Have you plotted these data and the model fit to look for
reasonableness?????

--

Subject: Interpreting OLS Matlab results

From: Peter Perkins

Date: 11 Nov, 2009 15:01:58

Message: 3 of 3

kostas Lynch wrote:
> Hi,
> I'm new to Matlab and looking to interpret the below results. I'm not sure what the signiificance of things like the R squared, the coefficients, t stats are etc. I've used one dependant variable and six independent variables. Can anyone please help. Anything appreciated. thanks. Apologies if this is a double post.

Kostas, this isn't really a MATLAB question; you really ought to pick up an introductory book on linear regression. But I couldn't help but notice this:

> Ordinary Least-squares Estimates
> R-squared = 0.0644

> sigma^2 = 0.0000

which seems rather odd, unless perhaps your data are pretty badly scaled. The first says you can't hardly predict y at all, the seond says the error in predicting y is very small (in absolute terms, anyway).

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
kostas lynch kostas Lynch 7 Nov, 2009 05:54:02
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com