X-Git-Url: https://code.communitydata.science/stats_class_2020.git/blobdiff_plain/d6d41996cb1f73b32130cfd82648b29cc2438872..d7a0a0bfc4cebcab15d7d93c8d2b32e34b949e4b:/os_exercises/ch1_exercises_solutions.html?ds=inline
diff --git a/os_exercises/ch1_exercises_solutions.html b/os_exercises/ch1_exercises_solutions.html
new file mode 100644
index 0000000..90a6b50
--- /dev/null
+++ b/os_exercises/ch1_exercises_solutions.html
@@ -0,0 +1,517 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
All questions taken from the OpenIntro Statistics textbook, \(4^{th}\) edition, Chapter 1.
+
+
1.6
+
+- Many possible answers here. A basic one rearranges the first sentence of the question in the textbook: "Is there a difference in unethical behaviors by people from different (perceived) social classes?
+- 129 UC Berkeley undergraduate students.
+- From the description in the question text it seems like there are two primary measures:
+
+
+- Unethical behavior (candies taken): a discrete numerical measure.
+- Perceived social class (experimental treatment): categorical measure.
+
+
+
+
1.10
+
+- Each row represents the data collected about a single participant in the survey.
+
+- There were 1,691 participants.
+- See the table below:
+
+
+
+
+
+
+
+sex |
+categorical |
+ |
+
+
+age |
+numerical |
+discrete (rounded to year) |
+
+
+maritalStatus |
+categorical |
+ |
+
+
+grossIncome |
+categorical |
+ordinal |
+
+
+smoke |
+categorical |
+ |
+
+
+amtWeekends |
+numerical |
+discrete |
+
+
+amtWeekdays |
+numerical |
+discrete |
+
+
+
+
+
+
1.16
+
+- The population of interest is all people. The sample is the 129 UC Berkeley undergraduates who participated in the study.
+- Given that this is an observational study conducted on a convenient sample of UC Berkeley undergraduate students any claims to either causal identification or generalizability seemâ¦implausible.
+
+
+
+
1.40
+
+- The explanatory (independent, predictor, \(x\)) variable is percent of a countyâs population with a bachelorâs degree and the response (dependent, outcome, \(y\)) variable is each countyâs per capita income (measured in thousands of US$).
+- There is a positive, linear relationship between the two variables. There are few counties where more than 50% of residents hold bachelorâs degrees and few counties with a per capita income greater than $40k.
+- No. Based on the description a causal interpretation is not justified. The data suggest a positive association between education and income.
+
+
+
+
1.42
+
+- This is an observational study.
+- The explanatory (independent, predictor, \(x\)) variables are childâs screen time, sex, and age and motherâs education, ethnicity, psychological distress, and employment. If you just said childâs screen time that would probably be okay since that seems to be the key explanatory variable that is the focus of the study and the other variables are included to support a more accurate estimate of the relationship between screen time and psychological well-being.
+- The response (dependent, outcome, \(y\)) variable is childâs psychological well-being.
+- The best answer to this depends on the target population of the study. The surveys come from three nationally representative samples from the UK, Ireland, and the United States. If the target population of the study is the populations of those three countries, then sure, the study results should generalize. If the target population is âall children on earthâ or something like that, well then thereâs no reason to believe it generalizes since these three countries are in no way representative of the world.
+- The study is observational and lacks any clear strategy for identifying a causal relationship between screen time and psychological well-being. As a result, it does not support any claims to have identified causal effects.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+