Files
OpenBB/website/content/common/quantitative_analysis/unitroot/_index.md
Danglewood 85d8b59b33 Hugo Server Update - November 26, 2021 (#990)
* Updated Image and source URL

* Updated text/URL

* added image/updated URL

* Added image/source URL

* added image/updated URL

* Added Images/updated description

* updated text

* Updated text/added images

* Added images/updated text

* added image/updated source URL

* Added images/updated text and source URLs

* Added Image/Source URL

* added image/updated text and source URL

* added images/updated source URL

* Added Images/Updated Text/Source URL

* updated text/image

* Update _index.md

* Updated Source URL

* Updated source URL

* Update _index.md

* Updated Source URL

* updated source URL

* Update _index.md

* Updated Source URL

* Updated images/source URL

* Updated Source URL

* added image/updated source url

* Updated description/source URL

* Updated description/source URL

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Updated source URL

* Updated description

* Updated description.

* Updated description.

* Updated description.

* Updated description.

* Updated description

* Updated description.

* Updated description.

* Updated description.

* Updated description.

* Updated description.

* Update _index.md

* Updated description/added image.

* Updated description.

* updated description.

* Update _index.md

* Delete folder for merge conflict

* Removed re: "/stocks/discover/latest"

* Spelling

* Spelling

* Updated description/added images.

* added image/updated description.

* added image/updated description

* Updated URL

* updated image/source URL

* Updated source URL

* Updated image/source URL

* Updated image/source URL

* Updated image/source URL

* Updated Source URL

* updated description

* added image/updated source URL

* Updated description with sample output text/added link to explanation of process.

* Added image/updated text/source URL

* added image/updated text/source URL

* added image/updated text/source URL

* Updated Text

* Updated text

* added image/updated description/source URL

* Added image/updated description/source URL

* Added Image/updated text

* added image/updated text/source URL

* Added image/updated text

* added image

* updated text.

* Added image/updated text

* added image

* feature/command no longer exists

* Added image/updated source URL

* Added Image/updated URL

* Added image

* Updated text

* added image/updated URL

* For premium members only.

* Added Image/Updated description.

* Added image/updated URL

* Added image/updated URL

* Added image/updated source URL

* Added image/updated URL

* updated text

* Added image/updated source URL

* command does not exist.

* replacing accidental deletion

* Added image/updated URL

* Added image/updated URL

* Added Images

* added image

* Added image

* Added image.

* Updated text.

* Updated text

* added image.

* updated text

* added image

* Spelling

* Spelling

* Spelling

* Added image/source URL

* Updated description

* updated description

* Updated text/added image

* changed word

* Updated description/added image.

* added image/updated text

* Updated text

* added image/updated text

* Added image

* added image

* added image.

* added image

* added image

* added image

* added image

* added image

* added image

* added sample

* added images

* added image

* added image

* added image

* added image

* added image

* added image

* added image

* added image

* added image

* added image

* added link to country codes

* added image

* added image

* added image

* added image

* added image.

* added image

* added image/updated text

* added image

* added image/updated text

* added image

* added image

* added image

* Added image/updated description

* added image

* added image/updated description

* added image/updated description

* added image/updated description

* added image/updated description.

* added image/updated description

* updated text

* Updated text

* added image

* added image/updated text

* Added image/updated description.

* added image

* updated text

* added image/updated description

* added image/update description

* added image

* added image

* updated text

* added image

* added image

* added image/updated description.

* Create _index.md

* Create _index.md

* updated image/description

* added image/updated description

* added image

* added image

* added image

* added image

* added additional image

* Updated description.

* updated image/description.

* Updated image/description

* updated image/description.

* updated image/description.

* updated description.

* updated image/description.

* updated image/description.

* updated image/description.

* updated image/added description.

* updated image/description.

* updated image/description.

* updated image/description.

* Updated description.

* updated description.

* updated description.

* added image

* updated text

* updated text

* updated url

* updated URL

* updated image

* updated url

* updated url

* added sample output

* updated description.

* updated description

* Updated text

* added image/updated description.

* updated description.

* updated description.

* updated link.

* updated description.

* updated description.

* added image/updated description.

* Updated description.

* Updated description.

* added sample output

* updated description

* updated description

* updated image/description

* added sample output/updated description.

* added sample output/updated description

* updated image/description.

* updated description.

* added image/updated description.

* updated description.

* added image/updated description.

* updated description.

* added image/updated description.

* added image/updated description

* updated description.

* added image/updated description.

* updated description/added image

* spelling

* Update labels.yml

updated label from none to 'website'

* updated to remove error

Co-authored-by: jmaslek <jmaslek11@gmail.com>
2021-11-27 19:46:48 +00:00

2.5 KiB
Executable File
Vendored
Raw Blame History

usage: unitroot [-r {c,ct,ctt,nc}] [-k {c,ct}] [--export {csv,json,xlsx}] [-h]

Unit root test / stationarity (ADF, KPSS)

In statistics, a unit root test tests whether a time series variable is non-stationary and possesses a unit root. The null hypothesis is generally defined as the presence of a unit root and the alternative hypothesis is either stationarity, trend stationarity or explosive root depending on the test used.

See the Wiki page on this subject for more information: https://en.wikipedia.org/wiki/Unit_root_test

optional arguments:
  -r {c,ct,ctt,nc}, --fuller_reg {c,ct,ctt,nc}
                        Type of regression. Can be ‘c’,’ct’,’ctt’,’nc’ 'c' - Constant and t - trend order (default: c)
  -k {c,ct}, --kps_reg {c,ct}
                        Type of regression. Can be ‘c’,’ct' (default: c)
  --export {csv,json,xlsx}
                        Export dataframe data to csv,json,xlsx file (default: )
  -h, --help            show this help message (default: False)

Sample output:

(✨) (stocks)>(qa)> unitroot
╒════════════════╤═══════════╤═════════════════════╕
│                │       ADF │ KPSS                │
╞════════════════╪═══════════╪═════════════════════╡
│ Test Statistic │   -4.8135 │ 0.38852605166304083 │
├────────────────┼───────────┼─────────────────────┤
│ P-Value        │    0.0001 │ 0.08210083980041344 │
├────────────────┼───────────┼─────────────────────┤
│ NLags          │    9.0000 │ 7                   │
├────────────────┼───────────┼─────────────────────┤
│ Nobs           │  242.0000 │                     │
├────────────────┼───────────┼─────────────────────┤
│ ICBest         │ -188.0797 │                     │
╘════════════════╧═══════════╧═════════════════════╛