Comments (3)
Hey @icrichmond, I can see your point. I actually think the plot in McElreath’s text (p. 396) is misleading and probably based on a typo in his code. The lowest educational category is Elem
. Since this would be treated as the reference category for the simplex, it would be assigned delta[0]. Further, within the context of the simplex, delta[0] is not a parameter, but is fixed to zero. You can get a sense of this on page 394 in the text. If you were to base the results on McElreath’s rethinking and base-R code, I think he’d need to change his R code block on page 395 to read:
delta_labels <- c("Elem","MidSch","SHS","HSG","SCol","Bach","Mast","Grad")
pairs( m12.6 , pars="delta" , labels=delta_labels[-1])
from statistical_rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed.
Ahhhh okay, I see what you mean and you're absolutely right - on p. 392 of the text he even says
"The first level (Elementary School) will be absorbed into the intercept. Then the first increment comes from moving Elementary School to Middle School"
I was misinterpreting because of the previous section, where on p. 383 he mentions:
"Since the largest response value always has a cumulative probability of 1, we effectively do not need a parameter for it"
Thanks so much for your response and apologies for the unnecessary issue!
from statistical_rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed.
Yep, the whole thing is very tricky. Thanks for reporting your concerns and for the kind words, above.
from statistical_rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed.
Related Issues (20)
- retraction whitehouseComplexSocietiesPrecede2019 HOT 2
- {posterior} HOT 1
- b11.11 HOT 1
- 4.4.3.1 posterior_samples deprecation HOT 2
- drop {urbnmapr} for {tigris} HOT 1
- Ch 5 DAGs
- Chapter 10.1.1: plot of shape and entropy HOT 2
- Ch 6.3.1 sim_happiness function HOT 2
- residuals
- Quarto port and content update for 2023 lectures + beginning of 3rd edition HOT 1
- Section 4.4.3.4. Predictions for E{height} at a given weight HOT 2
- Section 4.4.3.5 Using `nesting` when doing posterior calculations HOT 7
- Please use `linewidth` instead.
- residuals and history
- social media
- 3.4 brms::fitted() results in "not an exported object from 'namespace:brms'" error HOT 7
- dplyr::lag()
- DAG on 15.2.1
- 4.3.6 tidyverse parallel for the transformed base R
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 statistical_rethinking_with_brms_ggplot2_and_the_tidyverse_2_ed.