Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misleading wording in multivariate model vignette? #1668

Open
soskuthy opened this issue Jun 27, 2024 · 0 comments
Open

misleading wording in multivariate model vignette? #1668

soskuthy opened this issue Jun 27, 2024 · 0 comments

Comments

@soskuthy
Copy link

I've read and re-read the multivariate model vignette a few times:

https://cran.r-project.org/web/packages/brms/vignettes/brms_multivariate.html

I keep getting confused by the following wording (emphasis mine):

Within dams, tarsus length and back color seem to be negatively correlated, while within fosternests the opposite is true.

To me, this suggests the following. Take two birds (b1 and b2) from the same dam m1. b1 has a higher value for tarsus, and b2 a lower value for tarsus; we predict that they will have the opposite pattern for back colour (b1 lower for back and b2 higher for back). If we now take two birds (b3 and b4) from another dam, m2, a similar relationship should be seen, with a negative correlation between tarsus and color across b3 and b4. However, under this reading, the correlation does not tell us anything about how m1 and m2 relate to each other.

My understanding of how multivariate models are implemented in brms suggests that this is wrong: in fact, the correlation parameter tells us something about how tarsus and back relate to each other across m1 and m2, but not about b1 vs. b2 or b3 vs. b4 (that's reflected in the rescor parameter). Really, one way to think about the correlation parameter is as if we calculated mean back and tarsus values within each dam, and then looked at how those values are correlated (though, of course, the model does much more than this!).

A simple rewording would fix this problem:

Across dams, tarsus length and back color seem to be negatively correlated, while across fosternests the opposite is true.

But it's also entirely possible that I'm misinterpreting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants