Thanks for the answer Allin,
the problem that I have is that
making the OLS command I do not see the "b" of the Linear regression.
At same time I see different results, as R2 for the same regression made on Excel.
I'd like to understand why this difference.




On Tue, Oct 25, 2011 at 5:59 PM, Allin Cottrell <> wrote:
On Mon, 24 Oct 2011, Simari wrote:

> I am trying to make a linear regression between X (days, 13/06/2011,
> 14/06/2011, 15/06/2011 and so on) and Y (price data)
> and look for the slope and R2.

Unless you have special requirements not mentioned here, the
place to start is with the "ols" command (/Help/Command
reference) or the Ordinary Least Squares item under the /Model

Allin Cottrell
Gretl-users mailing list