Giter Site home page Giter Site logo

Comments (4)

rmcelreath avatar rmcelreath commented on July 22, 2024 1

This is not supported yet, no.

I had started to add this use case, but then stopped when I decided I should refactor the way map2stan handles distributions, so that users can more easily add their own.

This is a good reminder to do something about that.

from rethinking.

andersgs avatar andersgs commented on July 22, 2024

Thank you for the quick reply. I would be more than happy to help in refactoring map2stan.

from rethinking.

mbeddo avatar mbeddo commented on July 22, 2024

I am helping a college perform a student retention study. I wanted to use some ideas from chapter 13 because I believe some of the variables are correlated. But I can't get my model to work with map2stan, and I can't make the examples in the chapter work either.

I get "Rho : no dimension found for this matrix. Use explicit start value to define its dimension. For example: Rho = diag(2)". I've tried dmvnorm, dmvnorm2, and dmvnormNC variates.

So if I include "start = list(Rho=diag(2))" in the arguments to map2stan, I then get "Error in paste(..., collapse = "", sep = "") : argument "n" is missing, with no default"

I use R version 3.2.4 Revised (2016-03-16 r70336), and rstan (Version 2.11.1, packaged: 2016-07-28 18:19:31 UTC, GitRev: 85f7a56811da)

from rethinking.

rmcelreath avatar rmcelreath commented on July 22, 2024

mbeddo, your issue doesn't belong in this thread. Please start another issue and include your code.

from rethinking.

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.