Grocer Function

NAME

ols2 - ordinary least squares

CALLING SEQUENCE

[rols]=ols2(y,x)

PARAMETERS

Input

Output

DESCRIPTION

Least-squares regression when variables looks like in the textbook. The results tlist contains all the results recorded by ols, except the fields 'namey', 'namex', 'prests', and, naturally, 'bounds'.

EXAMPLE

rols=ols2(grocer_y,grocer_x)

This example is taken from ols.

AUTHOR

Eric Dubois 2002