AttributeError: 'VARResults' object has no attribute 'y'
时间: 2023-09-30 09:12:40 浏览: 198
AttributeError: 'VARResults' object has no attribute 'y'这个错误通常表示在VAR模型中,VARResults对象没有'y'属性。这可能是因为你在尝试访问一个不存在的属性。要解决这个问题,你可以检查一下你的代码,确保你正确地定义了变量和对象,并且在使用它们之前进行了适当的初始化。你还可以查看相关的文档或参考资料,以了解如何正确使用VAR模型和VARResults对象。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [# Pycharm关于AttributeError: ‘DataFrame’ object has no attribute ‘score’的错误](https://download.csdn.net/download/weixin_38720756/13749766)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [报错AttributeError: ResultSet object has no attribute ‘get_text‘.](https://blog.csdn.net/weixin_55579895/article/details/120979091)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文