Tuesday, April 12, 2011

Slope of the linear regression line indicator

Slope of the linear regression line
The following custom formula will return the slope of the linear regression line.
TP: = Input ("periods", 1,200,21);
((TP * (Sum (Cum (1) * C, TP )))-( Sum (Cum (1), TP) * (Sum (C, TP ))))/(( tp * Sum (Pwr (Cum (1), 2), TP))-Pwr (Sum (Cum (1), TP), 2))

No comments:

Post a Comment

Powered by Blogger.