'Augmented Dickey Fuller test for Time series with NA in r
Does anyone have any suggestions to implement the augmented dickey fuller test in r on a time series with NA values?
The adf.test function does not accept NA values.
Any help is appreciated!
Solution 1:[1]
Solved it with:
data = data %>% dplyr::filter(!is.na(column))
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | benson23 |
