CAVEAT: I have a limited knowledge of statistics and and am not particularly adept with respect to formulas. Hence, kindly explain using prose if you would.
ISSUE: Using stock trading software by prophet.net, a 64-day Linear Regression Trendline ("LRT") is currently the best fit for a particular stock. The 64-day LRT has an R-squared of .933. Now, the trading software has an indicator called "Standard Error Bands" which allows you, for example, to enter (64,3), (64,2), (64,1) etc. In this example, of course, the indicator plots "standard error band" values ("SE") (3SE, 2SE, 1SE etc.) both above and below the 64-day LRT.
With all this in mind, I have researched how to calculate "standard error" but my results don't seem to match the trading software. The trading software determines the 64-day LRT by using the CLOSING prices for the last 64-days. Can someone give me a step-by-step on how to calculate the 1SE of the 64-day LRT. ASSUME THAT I ALREADY HAVE THE LRT VALUE--I do.
2006-10-12
11:42:53
·
1 answers
·
asked by
Anonymous
in
Science & Mathematics
➔ Mathematics
It's my understanding that the "Standard Error" is the "Standard Deviation" divided by the square root of the number of samples. I tried taking the Standard Deviation of the Closing Prices over the last 64 days and, alternatively, the Standard Deviation of the 64-day Linear Regression Trendline itself--both of which come out to 3.15 and 3.18 respectively, and then divided both of those numbers by 8, which gives me a value of .39 or so for 1 Standard Error. The software, however, has a value that is much greater--closer to .80.
2006-10-12
12:01:11 ·
update #1