Is there a general trick to using masked arrays (or arrays containing nan’s) with the statsmodels routines? For example pacf and acf?
Is there a general trick to using masked arrays (or arrays containing nan’s) with
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In general, the functions don’t know anything about masked arrays. The Model classes accept a missing keyword for missing value handling. However, I don’t think there’s anything in acf/pacf. What would you expect these functions to do with missing data? If you file an issue on github with an example and ideally a reference of comparison results from another stats package, I can look into it.
https://github.com/statsmodels/statsmodels/issues