Statistics question

Quote from bozwood:

Actually, I am trying to do it in excel. Any ideas?

Thanks

I've done this recently... I'll see if I can find the sheet for you tonight.

- The New Guy
 
Quote from bozwood:

Is there a way to normalize the slope of the linear regression of price data so that different units from different stocks/commodities can be compared?

Calculate the slope in absolute units then divide by the ATR (average true range) or a similar measure of volatility.
 
(Linear Regression Slope) gives you points per day.

100*((Linear Regression Slope) / (today's close)) gives you percent per day. Probably this is what you want if you are comparing two stocks.

(Linear Regression Slope) / (5 day EMA of True Range) gives you ATR's per day. Probably this is what you want if you are comparing two commodities, especially when using backadjusted continuous contracts.
 
Use the log of the price series rather than the price series itself.

That way the slope of the linear regression equals (Δprice/price)/Δtime rather than Δprice/Δtime.
 
Back
Top