Editing Statistics and Statistical Programming (Winter 2021)/Problem set 11
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
===PC1. Access and import the data === | ===PC1. Access and import the data === | ||
* | * [https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/2NJV2P Download the dataset]. You may want to familiarize yourself with the experimental treatment and key details of the research design from the (short) article linked above. | ||
* Import the data into R. Depending on the file format you encounter, you may need to install the <code>readstata13</code> package and identify an appropriate function with which to do so. | * Import the data into R. Depending on the file format you encounter, you may need to install the <code>readstata13</code> package and identify an appropriate function with which to do so. | ||
===PC2. Explore and cleanup the data=== | ===PC2. Explore and cleanup the data=== | ||
Get to know your dataset. Take a look at the codebook if necessary and make sure you have the two columns of the dataset that correspond to the experimental treatment (being presented with Michelle Obama's face or not) and the outcome (whether or not trick-or-treaters picked up fruit). Don't worry about any of the other measures for now. | Get to know your dataset. Take a look at the codebook if necessary and make sure you have the two columns of the dataset that correspond to the experimental treatment (being presented with Michelle Obama's face or not) and the outcome (whether or not trick-or-treaters picked up fruit). Don't worry about any of the other measures for now. | ||
Line 33: | Line 31: | ||
:: (d) Summarize/restate the results in both statistical and substantive terms. Assess the results: How convincing do you find them? What should we take away from this analysis? | :: (d) Summarize/restate the results in both statistical and substantive terms. Assess the results: How convincing do you find them? What should we take away from this analysis? | ||
===EQ2. Two blogospheres=== | ===EQ2. Two blogospheres=== | ||
Line 41: | Line 38: | ||
:: (c) Reproduce Figure 2 using the data in Table 3. One thing that's missing from that figure is error bars. Based on the reading from Reinhart §5, what type of error bars do you think you should use? Figure out how to calculate the error bars and figure out if they overlap? What does that tell us? (Bonus: figure out how to add error bars to the bar plot) | :: (c) Reproduce Figure 2 using the data in Table 3. One thing that's missing from that figure is error bars. Based on the reading from Reinhart §5, what type of error bars do you think you should use? Figure out how to calculate the error bars and figure out if they overlap? What does that tell us? (Bonus: figure out how to add error bars to the bar plot) | ||
:: (d) Should we be concerned about the base rate fallacy described in Reinhart §4? Why or why not? | :: (d) Should we be concerned about the base rate fallacy described in Reinhart §4? Why or why not? | ||