Please help, I am running against time and I apologise if I missed any formatting/gidance on posting here.
so I have to run a predictive regression for intraday time series data.
but fuller variable keeps resulting r(2000) no observations error.
how can I fix this? the datetime variable is already in %tc format and declaring it as tsset worked fine.
Thanks in advance!
I noticed another post no this, but frankly I didn't understand at all!
sample code: --------
clear
import excel using "filepath.xlsx", sheet("Sheet1") firstrow
* Create a copy of uniquedate and format it to retain only dates
gen double dates = floor(uniquedate)
* Display the new variable
list uniquedate dates in 1/10
tsset dates
dfuller variable
(results in r(2000) error, no observations
--------
with this code, scatter plot, tsline etcetera work fine....
so I have to run a predictive regression for intraday time series data.
but fuller variable keeps resulting r(2000) no observations error.
how can I fix this? the datetime variable is already in %tc format and declaring it as tsset worked fine.
Thanks in advance!
I noticed another post no this, but frankly I didn't understand at all!
sample code: --------
clear
import excel using "filepath.xlsx", sheet("Sheet1") firstrow
* Create a copy of uniquedate and format it to retain only dates
gen double dates = floor(uniquedate)
* Display the new variable
list uniquedate dates in 1/10
tsset dates
dfuller variable
(results in r(2000) error, no observations
--------
with this code, scatter plot, tsline etcetera work fine....
Comment