I have a set of monthly water quality data, and I want to use them in a few statistical analysis (such as finding distribution or using in copula models) which require random variables as input. I performed RUN TEST for randomness (runstest function in MATLAB) but the result showed that the data is not from a random data set. I tried removing seasonality from the data but it is still non random. Is there any way to transform or convert this data to a random data set so I acn use it in may analysis? Thank you
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
You data $X$ are indexed by time $t$, so the runs test is a nonparametric test confirming autocorrelation in your data.
It may be there is a random component in your data, however, you may need to find an appropriate time-series model first. Also, removing seasonality may or may not have helped- it is important to know this is different from controlling for autocorrelation.