Closed AsafManela closed 5 years ago
I've had this before with StatsModels, where sometimes rhs
is iterable and sometimes it is a singleton. I wonder if this should be fixed upstream in the long term by requesting that StatsModels always enforce some kind of iterable?
As a side note, the problem comes from running regressions with single regressors. An example of the error is the mapreduce
in this line:
Thanks so much for using the software and reporting the bug to improve the package. It is indeed the issue with different return types in StatsModel the issue. I thought I had caught those issues, but it seems those are correctly handled through decompose
, but I missed the special handling later in the pipeline for some show
methods. I worked on a fix, but I want to make sure it works for the other models (add a couple more tests). I should have the PR by tomorrow hopefully if not by the latest on Friday for JuliaCon hackaton. Thanks again.
Great package! I tried to fit an EconometricModel with a dataframe and a formula and the model fits, but showing the model fails.
Here's a mwe: