[英]python statsmodels.tsa.stattools.pacf with masked array?
Is there a general trick to using masked arrays (or arrays containing nan's) with the statsmodels routines? 是否有使用屏蔽数组(或包含nan的数组)与statsmodels例程的一般技巧? For example pacf and acf?
例如pacf和acf?
In general, the functions don't know anything about masked arrays. 通常,函数不知道有关掩码数组的任何信息。 The Model classes accept a missing keyword for missing value handling.
Model类接受缺失值处理的缺失关键字。 However, I don't think there's anything in acf/pacf.
但是,我认为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.
如果你在github上用一个例子提交一个问题,理想情况下是另一个stats包的比较结果的引用,我可以调查一下。
https://github.com/statsmodels/statsmodels/issues https://github.com/statsmodels/statsmodels/issues
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.