RohanAlexander / telling_stories

Telling Stories with Data
https://rohanalexander.github.io/telling_stories/
115 stars 77 forks source link

Annie's Chpt 16 Notes #46

Closed anniecollins closed 1 year ago

anniecollins commented 2 years ago
RohanAlexander commented 1 year ago
  • Line 89: explain “variables need to be available on a cross-tab basis”, and give context to why exit poll data is a viable option in the US but not in other countries.

Changed.

  • Section 16.2.1: Austen, Brontë, Dickens, and Shakespeare (Table 16.1): Comment on why there is only an estimated value for intercept with the multilevel model

Fixed this. How embarrassing.

  • Section 16.3.1: Construct a population: Why simulate a population size of 1000000 if you’re never going to use the whole thing?

Computationally one million is too big, so need to reduce it. One hundred thousand would work, but would take ages. Ten thousand for a population would be small, so stuck with the situation, but explained it better)

  • Section 16.3.1: Construct a population and Section 16.3.2: Get a biased sample from it: in the pre-editing version (i.e. currently online), the summary stats and text in these sections refer to the median bedtime of each group even though they are labelled “Average” in the tables. Was that intentional? Why consider the median instead of the mean, particularly when the model in the following sections will output the mean?

Completely changed this example. It was all weird.

  • Line 999: What does this section mean? I don’t see gather_draws() used anywhere and there’s no coefficient in the model called “b_.” The graphs below also need more explanation/context.

Removed this section.