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

Question about contrasts and correlation #11

Open
rxg opened this issue Jan 29, 2022 · 0 comments
Open

Question about contrasts and correlation #11

rxg opened this issue Jan 29, 2022 · 0 comments

Comments

@rxg
Copy link

rxg commented Jan 29, 2022

Hi, thanks for being willing to help with my question from:
https://twitter.com/rg9119/status/1487179286532349952

Here an attempt at Python code to generate a synthetic dataset of height,sex entries from correlated parameters (my impression is you know Python, so hope that's ok!). Based on p. 155 of the book (though partly inspired by Lecture 4 of this term's course.

I'm trying to understand the word of warning from:
https://www.youtube.com/watch?v=QiHKdvAbYII&t=1752s

as regards computing contrasts (and plotting their density) when using categorical variables for sex.

I hope my confusion hasn't overcomplicated my question.
abc.txt

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

No branches or pull requests

1 participant