AllenDowney / ThinkBayes2

Text and code for the forthcoming second edition of Think Bayes, by Allen Downey.
http://allendowney.github.io/ThinkBayes2/
MIT License
1.8k stars 1.49k forks source link

Chapter 1: caseid definition in the gss_bayes dataset #70

Closed vitorvilela closed 9 months ago

vitorvilela commented 9 months ago

It's not an issue, but a comment.

In Chapter 1 - Fraction of Bankers, page 3:

caseid: Respondent id (which is the index of the table).

It would be clearer to define as:

caseid: Respondent id in each year of survey.

Because different respondents may share the same id, and using it as index of the table sometimes may induce to think it's a primary key.

AllenDowney commented 9 months ago

Good point. Will fix.