Giter Site home page Giter Site logo

Matrix notation? about rethinking HOT 2 OPEN

rmcelreath avatar rmcelreath commented on July 22, 2024
Matrix notation?

from rethinking.

Comments (2)

rmcelreath avatar rmcelreath commented on July 22, 2024

Hi, Joel.

If there is a way to specify the design matrix style linear model, it's not
really supported. The Stan team has told me that it's not any faster to do
it that way, so I haven't invested any time in it.

But it might not be much work to add it, really. I'll add it to the wish
list.

On Fri, Sep 11, 2015 at 10:03 PM, Joel Gombin [email protected]
wrote:

Hi,

thanks for this package, which seems really great. I also enjoyed the book
a lot.

I wondered if there is a way in map2stan to use matrix notation, as is
possible in stan. Suppose for example I have a matrix of covariates X and
a vector of parameters B, such that y ~ XB, is there anyway to indicate
it in map2stan?

Thanks!


Reply to this email directly or view it on GitHub
#12.

from rethinking.

vasishth avatar vasishth commented on July 22, 2024

Hi Richard,

take a look at our tutorial. I think the matrix notation does tend to be
faster, and it is certainly easier to generalize, as far as LMMs go:

http://www.ling.uni-potsdam.de/~vasishth/statistics/BayesLMMs.html

Also see the example KB07 using Stan in RePsychLing:

https://github.com/dmbates/RePsychLing

Shravan Vasishth
Professor for Psycholinguistics and Neurolinguistics
Department of Linguistics
University of Potsdam, Germany
http://www.ling.uni-potsdam.de/~vasishth

On Mon, Sep 14, 2015 at 10:40 AM, Richard McElreath <
[email protected]> wrote:

Hi, Joel.

If there is a way to specify the design matrix style linear model, it's not
really supported. The Stan team has told me that it's not any faster to do
it that way, so I haven't invested any time in it.

But it might not be much work to add it, really. I'll add it to the wish
list.

On Fri, Sep 11, 2015 at 10:03 PM, Joel Gombin [email protected]
wrote:

Hi,

thanks for this package, which seems really great. I also enjoyed the
book
a lot.

I wondered if there is a way in map2stan to use matrix notation, as is
possible in stan. Suppose for example I have a matrix of covariates X and
a vector of parameters B, such that y ~ XB, is there anyway to indicate
it in map2stan?

Thanks!


Reply to this email directly or view it on GitHub
#12.


Reply to this email directly or view it on GitHub
#12 (comment)
.

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.