Code Monkey home page Code Monkey logo

Comments (5)

jmboehm avatar jmboehm commented on May 10, 2024

Yes, would be great. Ideally, your package would provide a DataFrameRegressionModel, like GLM.jl, then regtable() should be able to use it. Otherwise, you'd need to change regtable() (but I'd prefer the former variant -- otherwise we're duplicating interfaces and RegressionTables would be requiring several estimation packages).

from regressiontables.jl.

lbittarello avatar lbittarello commented on May 10, 2024

Is it absolutely necessary to provide a DataFrameRegressionModel? The current output is a RegressionModel (note that DataFrameRegressionModel is a subtype of RegressionModel). The standard methods are supported (coef, coefnames, nobs, r2, etc.). It may not even be necessary to require Microeconometrics.jl as long as RegressionTables.jl provides support for abstract statistical models.

from regressiontables.jl.

jmboehm avatar jmboehm commented on May 10, 2024

I'd be happy to work with a RegressionModel if it contains all the information we need for the table (notably variable names).

from regressiontables.jl.

lbittarello avatar lbittarello commented on May 10, 2024

One can get covariate labels from coefnames. I don't think StatsModels.jl provides a method to retrieve the name of the dependent variable though. We could propose it in a pull request – it would be a good addition.

from regressiontables.jl.

jmboehm avatar jmboehm commented on May 10, 2024

Closing this as RegressionTables now supports RegressionModels.

from regressiontables.jl.

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.