Giter Site home page Giter Site logo

fixedeffectmodel's Issues

iv2sls() error

Hello,

when I tried to run the sample code I run into the following error.

Is my pandas version not correct for this package to run? Thanks!

image

Fixed Effect Regression does not work

Here, I'm doing everything fine that seems to me, but unfortunately, the package does not work as it should. I'm using the right parameters, Please have a look at the code and the error message in the attached image.
error_new

Thanks & regards
Kaleem

summary() not working

Hello, I´ve been trying to perform a iv2sls regression with fixed effects with your library but I can´t get the summary of the results. I even tried it with the data from your example and it doesn´t work.
1 print
2 print
3 print
4 print

If you could please check this out I would really appreciate it. It would be really useful to be able to get the results. This seems to be the only library with decent outputs for this kind of regression in Python. Thanks.

'result.summary()' does not work

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

Error prevents code to run properly

The code seems to be broken when transforming estimates to strings for visualization into table. OLSFixed.py line 213:

        params_data = lzip(["%#6.5f" % float(params[i]) for i in exog_len],
                           ["%#6.5f" % float(std_err[i]) for i in exog_len],
                           ["%#6.4f" % float(tstat[i]) for i in exog_len],
                           ["%#6.4f" % float(prob_stat[i]) for i in exog_len],
                           ["%#6.4f" % float(conf_int[0][i]) for i in exog_len],
                           ["%#6.4f" % float(conf_int[1][i]) for i in exog_len])

I needed to cast the various parameters to float for the code to work again. I am using Python 3.9.6 on MacOS

fixedeffect() error

hello, I have been using fixedeffect function, but there's an error when I include two category variables(userid and time).

It shows 'NameError: Total sum of square equal 0, program quit.'

The function works well when I include only one of these two category variables.
Would you please check this out? thanks a lot.

error

re: replacing NaN with zeros

Any thoughts on omitting the preprocessing step in which NaNs are set to zero? Choosing how to handle missing data is a non-trivial modeling choice and having it happen automatically might cause problems for the analyst. My preference would be to drop any row with missings, but throwing an error is also a fine way to go. Thanks!

Question: Partialout

Hi
I was looking into the command, and the helpfile. I couldnt find if there is an option to simply obtain the demean versions of the data.
For example, in Stata you could use the user written command hdfe. In Julia you have partialout as part of the package FixedEffectModel. In R, you have demean, part of fixest.
Is there a similar option with this package for python?
Thank you
Fernando

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.