[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [EquisMetaStock Group] Subject: Linear Regression / Linear Regression Slope Relationship



PureBytes Links

Trading Reference Links

Hi Jose

> > b=the slope (Linear Regression Slope)
> > and
> > b=[(x1-xbar)(y1-ybar)+.......+(xn-xbar)(yn-ybar)]/
> >    [(x1-xbar)sq +......+(xn-xbar)sq]
>
> Which is almost the same as:
>
> startBar:=Cum(1)-pds;
> y:=pds*Sum(startBar*x,pds)
>  -Sum(startBar,pds)*Sum(x,pds);
> z:=pds*Sum(Pwr(startBar,2),pds)
>  -Pwr(Sum(startBar,pds),2);
> LRS:=y/z;
>
> There must be an easy way to get rid of the Cum(1).

I see what you've done with "Cum(1)-pds" and I would have thought it was way to go too. My head is
beginning to hurt. This will have to go on the back burner now that the weekend is over.

Regards

Roy




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/