You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In view of the na_kalman function defines that there are at least 3 observations in the time series imputation, I removed individuals with less than 3 values. Then the code for imputation with the na_kalman function based on id is:
I got an error that was similar to the previous issue. When I tried na_kalman(value, type = 'level'), the data where id = 30004306 seem to be solved, however, I got another error with the data in different id. I guess the function cannot automatically process according to the individual data situation, so there are different errors with or without the level parameter.
My data is saved in Rdata format and uploaded here. Could you please help me to process this error at your convenience? Thank you very much! df.Rdata.zip
The text was updated successfully, but these errors were encountered:
I experienced the same issue after replicating some analysis that previously did not return any error message. Also, when running na_kalman on other datasets I encountered the same issue:
Dear Steffen Moritz:
Recently I've been trying to impute my time series data in my project with the
na_kalman
function based on each subject (id
in the datasetdf
).The dataset
df
is:In view of the
na_kalman
function defines that there are at least 3 observations in the time series imputation, I removed individuals with less than 3 values. Then the code for imputation with thena_kalman
function based onid
is:I got an error that was similar to the previous issue. When I tried
na_kalman(value, type = 'level')
, the data whereid = 30004306
seem to be solved, however, I got another error with the data in differentid
. I guess the function cannot automatically process according to the individual data situation, so there are different errors with or without thelevel
parameter.My data is saved in
Rdata
format and uploaded here. Could you please help me to process this error at your convenience? Thank you very much!df.Rdata.zip
The text was updated successfully, but these errors were encountered: