Open Simonlisw opened 2 years ago
Ok guys the problem is very simple. Go to OLSFixed.py at "...\site-packages\fixedeffect\utils\OLSFixed.py" directory. In my case, using python 3.10, is: "C:\Users\Iohan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\fixedeffect\utils\OLSFixed.py"
Once there, you go to line 212 where there is "params_data = ...." and replace by " params_data = lzip([params[i] for i in exog_len], [std_err[i] for i in exog_len], [tstat[i] for i in exog_len], [prob_stat[i]], [conf_int[0][i]], [conf_int[1][i]]) "
It will work out
I tried this, and the output table only shows the constant, and omits the exogenous variable
I have made some exercises of the examples, but I found that the code 'result.summary()' in each example gives some warnings. Please help me. thx