Giter Club home page Giter Club logo

Comments (3)

AnestisTouloumis avatar AnestisTouloumis commented on July 18, 2024

Hi Julia,

To insert the values using the bstart argument, you need to create a numerical vector which includes first the values of the category-specific intercepts in ascending order and then the values of the regression coefficients that relate with the explanatory variables in the order that they appear in the formula argument.

A smaller sample size might be one explanation why the algorithm does not converge. However, I cannot say for sure since I cannot view the dataset.

from multgee.

fusion809 avatar fusion809 commented on July 18, 2024

Hi @AnestisTouloumis, I've encountered the same issue. But I keep getting the error: bstart and beta differ in length. I would have assumed beta would be of the same length as the the number of coefficients in the regression, which in my case is 24, but when I set bstart to rep(-1, 24) I get this error. I've also tried setting the length of bstart to the number of intercepts in my regression and that also failed with the differing lengths error.

from multgee.

AnestisTouloumis avatar AnestisTouloumis commented on July 18, 2024

Hi @fusion809, it is difficult to answer this without a reproducible example/code but my best guess is that the number of coeffients in your model is not 24, e.g. this would be the case if you have not accounted for the category specific intercepts or for a factor with more than two levels. If you can share reproducible code that generates this error message I should be able to be more specific.

from multgee.

Related Issues (8)

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.