I am working on a report which is being sent through to end users that should flag to them any "large changes" in the day-to-day values for the past 30 days. These values are day-to-day differences which we assume to have a mean of zero.
To shed a bit more light on the data, the values are proportional returns to a portfolio. They are used to measure the change in the riskiness of different aspects a portfolio which is constantly managed, so the riskiness should always stay at "round about the same level" based upon the investing strategy associated with that given portfolio.
That being said, the risk will fluctuate a bit from day-to-day, but it gets re-balanced and so the change in daily risk should fluctuate around zero - positively for roughly half the time & negatively for roughly half the time.
This analysis is to simply point out any large daily deviations so they can be examined.
So, assume we have the following data:
Day: Change from previous day:
1 -40
2 30
3 15
4 12
5 -34
6 -2
...
30 12
And, as I stated earlier, they don't care about the direction of the change, just to flag any day where the change is of a "statistically significant" magnitude.
I'm curious as to how to calculate the statistics for this properly / what distribution would best be used to assign probability levels for this set of data.
What has been proposed is to, firstly, look at the square of the changes (rather than the original values since all we care about is magnitude):
- To calculate the std dev as $\sqrt{ \dfrac{\sum \left( x_i - 0 \right)^2 }{29}}$ - In other words assume a zero expected value
- To Calculate the std dev as $\sqrt{ \dfrac{\sum \left( x_i - \bar{x} \right)^2 }{29}}$ - In other words, use the mean we would calculate for this sample
And then to take each day's value and divide it by this std_dev to calculate it's magnitude.
I have quite a few problems with a few things here, but especially idea #2 since I believe the mean SHOULD BE ZERO.
Generally speaking, what is the correct way to analyze deltas with an expected value of zero and what distribution would you use for a 30-sample data-set to find statistically significant values? Note that historical data is available / can be easily gathered.
If we assumed the daily changes to be ROUGHLY normally distributed, would the square of them (only measuring deviation from zero, regardless of whether it's positive or negative) be distributed via Chi-Square? ... Or could a folded-Normal work if we took their absolute value?
I'm just looking for something to show how change magnitude might be distributed... Nobody would take any issue with assuming the changes to be normally distributed if necessary...
I hope this makes sense, but, if not, please let me know where I could clarify more.
THANKS!!!
(I originally asked this question here and was recommended to ask it here - Hopefully someone here can give me a good response)