Giter Club home page Giter Club logo

Comments (3)

ASKurz avatar ASKurz commented on July 17, 2024

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.

icrichmond avatar icrichmond commented on July 17, 2024

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.

ASKurz avatar ASKurz commented on July 17, 2024

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)

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.