Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'result.summary()' does not work #7

Open
Simonlisw opened this issue Oct 28, 2022 · 2 comments
Open

'result.summary()' does not work #7

Simonlisw opened this issue Oct 28, 2022 · 2 comments

Comments

@Simonlisw
Copy link

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

@LacanJr
Copy link

LacanJr commented Jul 25, 2023

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

@tankahoy
Copy link

tankahoy commented Nov 6, 2023

I tried this, and the output table only shows the constant, and omits the exogenous variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants