Comments (2)
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.
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)
- Can we have an imputation example where the outcome has missing values?
- errata --- small typo in Overthinking: Non-centered parameterization of the multilevel model
- Allow = in place of <- assignment operator in model specification to better mimic mathematical notation HOT 4
- Overthinking: Binomial maximum entropy (errata) p. 312
- How can I add ifelse statement inside ulam? HOT 3
- modelling the result of manipulating confounders in advanced varying effect
- Undeclared MuMIn dependency for AICc?
- Ulam/cmdstan errors HOT 11
- processx error with ulam() HOT 5
- Multivariate linear ecological community models
- ulam: save> and log_lik clash with one another HOT 1
- 2nd edition errata: p. 445, discussion of Fig. 14.5 describes 1st edition Fig. 13.5
- Feature request: Add a template for shifted lognormal distribution HOT 2
- Does the rethinking package work using the newest version of R - 4.2.2? HOT 1
- Nevermind HOT 2
- Eliminating variable breaks ulam model HOT 2
- Smooth functions of a variable - modeling syntax HOT 2
- Problem with R code 9.14 on Mac OS
- problems loading rethinking HOT 1
- Zero Inflated Negative Binomial Model HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rethinking.