https://123dok.org/document/y4wjk0o5-testing-linearity-economic-time-series-monte-carlo-comparison.html