<< regress Regression stepwiselm >>

stixbox >> stixbox > Regression > regressprint

regressprint

Print linear regression

Calling Sequence

regressprint(fullstats)

Parameters

fullstats :

a struct, the statistics, see below for details.

Description

This function prints the statistics of a linear model with n independent variables x1, x2, ..., xn which best fit the data in the least squares sense. The fullstats data structure is the output of the scidoe_regress or scidoe_multilinreg functions.

Examples

// Longley.dat contains 1 Response Variable y, 6 Predictor Variables x
// and 16 Observations.
// Source : [4]
[data,txt] = getdata(24);
Y=data(:,1);
X=data(:,2:7);
[B,bint,r,rint,stats,fullstats] = regress(Y,[ones(Y),X]);
regressprint(fullstats)

Authors

Bibliography

[1] "Introduction to probability and statistics for engineers and scientists.", Third Edition, Sheldon Ross, Elsevier Academic Press, 2004

[2] http://en.wikipedia.org/wiki/Linear_regression

[3] Octave's regress, William Poetra Yoga Hadisoeseno

[4] http://www.itl.nist.gov/div898/strd/lls/data/LINKS/DATA/Longley.dat


Report an issue
<< regress Regression stepwiselm >>