Giter VIP home page Giter VIP logo

Comments (9)

Jayhyung avatar Jayhyung commented on August 14, 2024 2

Hi @ARCCer !

I recently updated wald_test method in feols class, so you should be able to implement F test on OLS regressions(meaning that you can manually do weak IV test by implementing F test on the 1st stage regression).
I'll be adding 1st stage F statistics as a default attribute to the feiv class soon, but if you have any opinion on any other diagonostic tools related with IV regression, please feel free to comment on the issue #543! Thanks!

from pyfixest.

Jayhyung avatar Jayhyung commented on August 14, 2024 1

Thanks for letting us know. I'm actually working on this and trying to raise a new issue regarding this, as the diagnostic tools in the first stage regression are absent in the current package. Stay tuned for our next update!

from pyfixest.

ARCCer avatar ARCCer commented on August 14, 2024 1

well , I check the code and the example. So, I can get the F-test results and the related p-value by below codes: fit.wald_test(R=R, distribution="F")
f_stat = fit._f_statistic
p_stat = fit._p_value

from pyfixest.

ARCCer avatar ARCCer commented on August 14, 2024 1

Yeah, thanks for the response. There are some different tests in IV related methods or 2SLS related issues, such as the Hausman test, over-identification test, I hope we can add these tests to make Pyfixest more comprehensive in IV area

from pyfixest.

s3alfisc avatar s3alfisc commented on August 14, 2024

We actually already have an open issue for this #280 and @Vksingh306 has offered to pick it up =)

from pyfixest.

ARCCer avatar ARCCer commented on August 14, 2024

yes, that's great. I hope this package can be better to catch up STATA one day and really thanks to all the contributors for the priceless dedication

from pyfixest.

ARCCer avatar ARCCer commented on August 14, 2024

Great thanks for the contribution. While the document notes that we should not directly instantiate Feiv(), but Feols(), so I can get the F-test results with the defined function: _F_stat? or need other settings?

from pyfixest.

s3alfisc avatar s3alfisc commented on August 14, 2024

Yea, exactly, that's the intended use =)we're also working on automatically computing the F test for the first stage when an IV model is run.

from pyfixest.

Jayhyung avatar Jayhyung commented on August 14, 2024

Thanks for the comment @ARCCer ! In the current PR, I updated robust F statistics(robust to heteorskedasticity and clusteres) and effective F by Olea and Pflueger, which will be updated soon. I will also develop the tests you suggested as the default setting in my next iteration!

from pyfixest.

Related Issues (20)

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.