Files
OpenBB/gamestonk_terminal/residuals_analysis
2021-04-09 07:51:14 -07:00
..
2021-03-28 13:50:02 +01:00
2021-04-09 07:51:14 -07:00
2021-03-28 12:44:31 +01:00

RESIDUAL ANALYSIS

This menu aims to perform residual analysis on a pre-loaded stock in order to do statistical modeling, and the usage of the following commands along with an example will be exploited below.

  • pick
    • pick one of the model fitting
    • Currently Supported: Naive, ARIMA
  • fit
    • show model fit against stock
  • res
    • show residuals
  • hist
    • histogram and density curve
  • qqplot
    • residuals against standard normal curve
  • acf
    • (partial) auto-correlation function
  • normality
    • normality test (Kurtosis,Skewness,...)
  • goodness
    • goodness of fit test (Kolmogorov-Smirnov)
  • arch
    • autoregressive conditional heteroscedasticity
  • unitroot
    • unit root test / stationarity (ADF, KPSS)
  • independence
    • tests independent and identically distributed (BDS)

pick

usage: pick [-m MODEL]

Pick model to fit to stock data. Currently supported: Naive, ARIMA

  • -m : model to fit to stock data. Default: None.

fit

usage: fit

Plot model fitting

fit

res

usage: res

Plot residuals

res

hist

usage: hist

Histogram and density curve

hist

qqplot

usage: qqplot

Qqplot time series against a standard normal curve

qqplot

acf

usage: acf [-l LAGS]

(partial) auto-correlation function

  • -l : maximum lags to display in plots. Default 40.

acf

normality

usage: normality

normality test (Kurtosis,Skewness,...)

normality

goodness

usage: goodness

goodness of fit test (Kolmogorov-Smirnov)

goodness

arch

usage: arch

autoregressive conditional heteroscedasticity with Engle's test

arch

unitroot

usage: unitroot

unit root test / stationarity (ADF, KPSS)

unitroot

independence

usage: independence

tests independent and identically distributed (i.i.d.) time series (BDS)

independence