diff --git a/content/public/001.Introduction to Data/Topic Outcome/1_1_case_study_using_stents_to_prevent_strokes_q1_1/1_1_case_study_using_stents_to_prevent_strokes_q1_1.md b/content/public/001.Introduction to Data/Topic Outcome/1_1_case_study_using_stents_to_prevent_strokes_q1_1/1_1_case_study_using_stents_to_prevent_strokes_q1_1.md index 6a6d86ec..878b71d7 100644 --- a/content/public/001.Introduction to Data/Topic Outcome/1_1_case_study_using_stents_to_prevent_strokes_q1_1/1_1_case_study_using_stents_to_prevent_strokes_q1_1.md +++ b/content/public/001.Introduction to Data/Topic Outcome/1_1_case_study_using_stents_to_prevent_strokes_q1_1/1_1_case_study_using_stents_to_prevent_strokes_q1_1.md @@ -62,17 +62,17 @@ myst: title: Migraine and acupuncture, Part I table0: r2: - c2: 10 - c3: 40 - c4: 50 + c2: 12 + c3: 37 + c4: 49 r3: - c2: 6 - c3: 44 - c4: 50 + c2: 5 + c3: 41 + c4: 46 r4: - c2: 16 - c3: 84 - c4: 100 + c2: 17 + c3: 78 + c4: 95 part1: num1: 24.0 part3: @@ -90,12 +90,12 @@ myst: part4: num1: 24.0 description: - num1: 100 - num2: 50 - num3: 50 + num1: 95 + num2: 49 + num3: 46 num4: 24.0 - part1_ans_before_convert: 0.2 - part2_ans_before_convert: 0.12 + part1_ans_before_convert: 0.245 + part2_ans_before_convert: 0.109 --- # {{ params.vars.title }} A migraine is a particularly painful type of headache, which patients sometimes wish to treat with acupuncture. To determine whether acupuncture relieves migraine pain, researchers conducted a randomized controlled study where ${{ params.description.num1 }}$ females diagnosed with migraine headaches were randomly assigned to one of two groups: treatment or control. ${{ params.description.num2 }}$ patients in the treatment group received acupuncture that is specifically designed to treat migraines. ${{ params.description.num3 }}$ patients in the control group received placebo acupuncture (needle insertion at non-acupoint locations). ${{ params.description.num4 }}$ hours after patients received acupuncture, they were asked if they were pain free. Results are summarized in the contingency table below. diff --git a/content/public/001.Introduction to Data/Topic Outcome/1_3_sampling_principles_and_strategies_q1_17/1_3_sampling_principles_and_strategies_q1_17.md b/content/public/001.Introduction to Data/Topic Outcome/1_3_sampling_principles_and_strategies_q1_17/1_3_sampling_principles_and_strategies_q1_17.md index 493c396a..83d556c8 100644 --- a/content/public/001.Introduction to Data/Topic Outcome/1_3_sampling_principles_and_strategies_q1_17/1_3_sampling_principles_and_strategies_q1_17.md +++ b/content/public/001.Introduction to Data/Topic Outcome/1_3_sampling_principles_and_strategies_q1_17/1_3_sampling_principles_and_strategies_q1_17.md @@ -35,10 +35,10 @@ myst: vars: title: Relaxing after work part3: - num1: 1.98 + num1: 2.36 description: - num1: 1094 - num2: 1.98 + num1: 1158 + num2: 2.36 part1: option1: value: Observation @@ -59,7 +59,7 @@ myst: value: Number of hours spent relaxing after an average work day. matches: option2 statement3: - value: 1.98 + value: 2.36 matches: option3 statement4: value: Average number of hours all Americans spend relaxing after an average diff --git a/content/public/001.Introduction to Data/Topic Outcome/2_1_examining_numerical_data_q2_5/2_1_examining_numerical_data_q2_5.md b/content/public/001.Introduction to Data/Topic Outcome/2_1_examining_numerical_data_q2_5/2_1_examining_numerical_data_q2_5.md index e359158e..ac4483e9 100644 --- a/content/public/001.Introduction to Data/Topic Outcome/2_1_examining_numerical_data_q2_5/2_1_examining_numerical_data_q2_5.md +++ b/content/public/001.Introduction to Data/Topic Outcome/2_1_examining_numerical_data_q2_5/2_1_examining_numerical_data_q2_5.md @@ -36,20 +36,22 @@ myst: title: Parameters and statistics part1: option1: - value: 2001 + value: 2007 option2: - value: 172 + value: 2008 option3: - value: 10 + value: 1600 statement1: value: Claimed population mean - matches: '3.73' + matches: '51' statement2: value: Sample mean - matches: '4.33' - question1: The average GPA of students in 2001 at a private university was 3.73. - A survey on a sample of 172 students from this university yielded an average - GPA of 4.33 a decade later. + matches: '62' + question1: American households spent an average of about $51 in 2007 on Halloween + merchandise such as costumes, decorations and candy. To see if this number + had changed, researchers conducted a new survey in 2008 before industry numbers + were reported. The survey included 1600 households and found that average + Halloween spending was $62 per household. --- # {{ params.vars.title }} Identify which value represents the sample mean and which value represents the claimed population mean. diff --git a/content/public/001.Introduction to Data/openstax_C1_Q63/openstax_C1_Q63.md b/content/public/001.Introduction to Data/openstax_C1_Q63/openstax_C1_Q63.md index 9aed345e..6fbe63e9 100644 --- a/content/public/001.Introduction to Data/openstax_C1_Q63/openstax_C1_Q63.md +++ b/content/public/001.Introduction to Data/openstax_C1_Q63/openstax_C1_Q63.md @@ -32,20 +32,19 @@ myst: params: vars: title: San Jose Park Use - every: 7 + every: 6 part1: - measurement: Age + measurement: Number of times per week ans1: value: qualitative feedback: Try again please! ans2: value: quantitative discrete - feedback: Not quite, it is quantitative, but the this is a continuous measurement, - fractional values are valid inside the domain of possible values. Try - again! + feedback: Great! You got it. ans3: value: quantitative continuous - feedback: Great! You got it. + feedback: Not quite, it is quantitative, but the a count of something is + not a continuous measurement. Try again! --- # {{ params.vars.title }} A study was done to determine the occupation, age, number of times per week, and the duration (amount of time) of resident use of a local park in San Jose. The first house in the neighborhood around the park was selected randomly and then every {{ params.vars.every }}$^{th}$ house in the neighborhood around the park was interviewed. diff --git a/content/public/001.Introduction to Data/openstax_C1_Q65/openstax_C1_Q65.md b/content/public/001.Introduction to Data/openstax_C1_Q65/openstax_C1_Q65.md index 99f970d5..3a09134f 100644 --- a/content/public/001.Introduction to Data/openstax_C1_Q65/openstax_C1_Q65.md +++ b/content/public/001.Introduction to Data/openstax_C1_Q65/openstax_C1_Q65.md @@ -40,10 +40,10 @@ myst: params: vars: title: Babies on Airplanes - flights: seven + flights: nine part1: ans1: - value: The survey was conducted using seven similar flights. + value: The survey was conducted using nine similar flights. feedback: Correct! ans2: value: The survey would not be a true representation of the entire population diff --git a/content/public/002.Summarizing Data/Topic Outcome/Q2.15_Distributions_and_Appropriate_Statistics/Q2.15_Distributions_and_Appropriate_Statistics.md b/content/public/002.Summarizing Data/Topic Outcome/Q2.15_Distributions_and_Appropriate_Statistics/Q2.15_Distributions_and_Appropriate_Statistics.md index 004f1959..59dee00f 100644 --- a/content/public/002.Summarizing Data/Topic Outcome/Q2.15_Distributions_and_Appropriate_Statistics/Q2.15_Distributions_and_Appropriate_Statistics.md +++ b/content/public/002.Summarizing Data/Topic Outcome/Q2.15_Distributions_and_Appropriate_Statistics/Q2.15_Distributions_and_Appropriate_Statistics.md @@ -41,8 +41,8 @@ myst: params: vars: title: Distributions and Appropriate Statistics - animal: hamster - place: the nearest hardware store + animal: human + place: the nearest park thing: electronics Question: a) Would you expect the number of electronics per household to be symmetric, right skewed, or left skewed? @@ -53,15 +53,15 @@ myst: few people have many electronicss.' feedback: Correct, awesome work ans2: - value: 'Left skewed: The distribution of number of hamsters per household + value: 'Left skewed: The distribution of number of humans per household is likely left skewed as there is a natural boundary at 0 and only a few - people have many hamsters.' + people have many humans.' feedback: Not quite, the reasoning here is mostly correct, think over what it means for a graph to be left skewed ans3: - value: 'Symmetric skewed: The distribution of number of hamsters per household + value: 'Symmetric skewed: The distribution of number of humans per household is likely symmetric as there is a natural boundary at 0 and only a few - people have many hamsters.' + people have many humans.' feedback: Not quite, the reasoning here is mostly correct, think over what it means for a graph to be symmetric part2: diff --git a/content/public/002.Summarizing Data/Topic Outcome/Q2.19a)_Commute_Times/Q2.19a)_Commute_Times.md b/content/public/002.Summarizing Data/Topic Outcome/Q2.19a)_Commute_Times/Q2.19a)_Commute_Times.md index 64961f20..8e5720ed 100644 --- a/content/public/002.Summarizing Data/Topic Outcome/Q2.19a)_Commute_Times/Q2.19a)_Commute_Times.md +++ b/content/public/002.Summarizing Data/Topic Outcome/Q2.19a)_Commute_Times/Q2.19a)_Commute_Times.md @@ -43,21 +43,22 @@ myst: title: Commute Times part1: ans1: - value: The Median of the distribution is about 25 min + value: The distribution is Unimodal feedback: Correct, good job ans2: - value: The distribution is Unimodal + value: The distribution is Uniform feedback: Correct, good job ans3: - value: The distribution is Right Skewed - feedback: What does it mean for a graph to be Right Skewed? + value: The Standard deviation is about 1 min + feedback: Sorry, this is not a very good estimate of the standard deviation + try again ans4: + value: The distribution is trimodal + feedback: Not quite, what does tri mean + ans5: value: The distribution is Bimodal feedback: Not quite, what does bi mean in math (look up the definition if it is unfamiliar) - ans5: - value: The distribution is trimodal - feedback: Not quite, what does tri mean ans6: value: The Standard deviation is about 10 min feedback: Sorry, this is not a very good estimate of the standard deviation @@ -68,28 +69,28 @@ myst: is not necessary feedback: Correct, good job ans2: - value: Since the distribution is already bimodal and right skewed, a log + value: Since the distribution is trimodal and right skewed, a log transformation + would be beneficial to reduce the skewing of the data + feedback: What does it mean if a graph is right right skewed or trimodal? + ans3: + value: Since the distribution is already trimodal and left skewed, a log transformation is not necessary - feedback: What does it mean if a graph is right skewed, bimodal, and when + feedback: What does it mean if a graph is left skewed, trimodal, and when should you do a log transformation? - ans3: - value: Since the distribution is bimodal and right skewed, a log transformation - would be beneficial to reduce the skewing of the data - feedback: What does it mean if a graph is right skewed or bimodal? ans4: value: Since the distribution is already trimodal and right skewed, a log transformation is not necessary feedback: What does it mean if a graph is right skewed, trimodal, and when should you do a log transformation? ans5: - value: Since the distribution is bimodal and left skewed, a log transformation - would be beneficial to reduce the skewing of the data - feedback: What does it mean if a graph is left skewed or bimodal? - ans6: - value: Since the distribution is already bimodal and left skewed, a log + value: Since the distribution is already bimodal and right skewed, a log transformation is not necessary - feedback: What does it mean if a graph is left skewed, bimodal, and when + feedback: What does it mean if a graph is right skewed, bimodal, and when should you do a log transformation? + ans6: + value: Since the distribution is trimodal and left skewed, a log transformation + would be beneficial to reduce the skewing of the data + feedback: What does it mean if a graph is left skewed or trimodal? --- # {{ params.vars.title }} The US census collects data on time it takes Americans to commute to work, among many other variables. diff --git a/content/public/002.Summarizing Data/Topic Outcome/Q2.21_Antibiodic_use_in_Children/Q2.21_Antibiodic_use_in_Children.md b/content/public/002.Summarizing Data/Topic Outcome/Q2.21_Antibiodic_use_in_Children/Q2.21_Antibiodic_use_in_Children.md index d33ef891..89a83a48 100644 --- a/content/public/002.Summarizing Data/Topic Outcome/Q2.21_Antibiodic_use_in_Children/Q2.21_Antibiodic_use_in_Children.md +++ b/content/public/002.Summarizing Data/Topic Outcome/Q2.21_Antibiodic_use_in_Children/Q2.21_Antibiodic_use_in_Children.md @@ -45,38 +45,38 @@ myst: chart feedback: Correct good job ans2: - value: The pie chart shows what the highest relative frequency is - feedback: This is also visible in the bar graph + value: The pie chart gives a conclusion whereas the bar graph does not + feedback: Nice try, but the pie chart does not give a conclusion, it is + only a representation of the data ans3: - value: We can see the relative frequencies in the pie chart - feedback: This is not possible in the pie chart + value: The pie chart shows what the lowest relative frequency is + feedback: This is also visible in the bar graph ans4: value: The pie chart is much more visually appealing than the bar graph feedback: This is not objective ans5: - value: The pie chart gives a conclusion whereas the bar graph does not - feedback: Nice try, but the pie chart does not give a conclusion, it is - only a representation of the data + value: We can see the relative frequencies in the pie chart + feedback: This is not possible in the pie chart part2: ans1: value: A bar graph is usually a better choice as we can also see the relative frequencies of the categories in this graph. feedback: Correct good job ans2: - value: They are both equally - feedback: Not quite consider the answer to part 1 - ans3: value: A pie chart is usually a better choice as we can also see the relative frequencies of the categories in this graph. feedback: Not quite, consider the answer to part 1 + ans3: + value: There is not enough information to tell + feedback: Not quite there is enough information, consider your answer to + part 1 ans4: value: I have no idea feedback: Being honest is good, but you need to find the answer, take a look at part 1 and have a look at the axis labels on the bar chart ans5: - value: There is not enough information to tell - feedback: Not quite there is enough information, consider your answer to - part 1 + value: They are both equally + feedback: Not quite consider the answer to part 1 --- # {{ params.vars.title }} The bar graph and the pie chart below show a distribution of several categories that could be observed. diff --git a/content/public/002.Summarizing Data/Topic Outcome/Q2.27_Make_up_Exam/Q2.27_Make_up_Exam.md b/content/public/002.Summarizing Data/Topic Outcome/Q2.27_Make_up_Exam/Q2.27_Make_up_Exam.md index 4d2591b8..63f0bc3f 100644 --- a/content/public/002.Summarizing Data/Topic Outcome/Q2.27_Make_up_Exam/Q2.27_Make_up_Exam.md +++ b/content/public/002.Summarizing Data/Topic Outcome/Q2.27_Make_up_Exam/Q2.27_Make_up_Exam.md @@ -49,8 +49,8 @@ myst: '#ofpeople': 40 '#ofpeoplem1': 39 average: 79 - new: 46 - sd: 9.0 + new: 62 + sd: 8.0 part1: ans1: value: Decrease diff --git a/content/public/002.Summarizing Data/Topic Outcome/Q2.29_TV_Watchers/Q2.29_TV_Watchers.md b/content/public/002.Summarizing Data/Topic Outcome/Q2.29_TV_Watchers/Q2.29_TV_Watchers.md index 4a91e1a3..57dee81c 100644 --- a/content/public/002.Summarizing Data/Topic Outcome/Q2.29_TV_Watchers/Q2.29_TV_Watchers.md +++ b/content/public/002.Summarizing Data/Topic Outcome/Q2.29_TV_Watchers/Q2.29_TV_Watchers.md @@ -32,8 +32,8 @@ myst: params: vars: title: TV_Watchers - ave_time: 4.77 - sd: 5.03 + ave_time: 5.26 + sd: 4.81 part1: ans1: value: No, I would expect the distribution to be right skewed as the number @@ -42,6 +42,16 @@ myst: the mean which further suggests that the data is skewed. feedback: Correct good job ans2: + value: 'Yes: the natural boundaries at zero and 24, along with a relatively + manageable standard deviation are strong indicators that this distribution + is symmetric' + feedback: Not quite, there is not a good natural boundary at 24 as no one + would default to watching 24 hours of TV in a day + ans3: + value: 'Yes: the standard deviation being fairly close in size to the mean + indicates that this is probably a symmetric distribution' + feedback: Not quite, try again + ans4: value: No, I would expect the distribution to be left skewed, there is a natural boundary of 24 hours and very few people watch less than a certain number of hours of TV each day; also, the standard deviation is quite @@ -49,15 +59,6 @@ myst: feedback: 'Note: the default number of hours watched in a day is not 24 hours, not to mention very few people would have the time to watch lots of TV' - ans3: - value: Not enough information to tell - feedback: nice try, but there is enough information here - ans4: - value: 'Yes: the natural boundaries at zero and 24, along with a relatively - manageable standard deviation are strong indicators that this distribution - is symmetric' - feedback: Not quite, there is not a good natural boundary at 24 as no one - would default to watching 24 hours of TV in a day --- # {{ params.vars.title }} Students in an AP Statistics class were asked how many hours of television they watch per week (including online streaming). diff --git a/content/public/002.Summarizing Data/Topic Outcome/Q2.31_Oscar_Winners/Q2.31_Oscar_Winners.md b/content/public/002.Summarizing Data/Topic Outcome/Q2.31_Oscar_Winners/Q2.31_Oscar_Winners.md index 8c8402c2..9a4668a4 100644 --- a/content/public/002.Summarizing Data/Topic Outcome/Q2.31_Oscar_Winners/Q2.31_Oscar_Winners.md +++ b/content/public/002.Summarizing Data/Topic Outcome/Q2.31_Oscar_Winners/Q2.31_Oscar_Winners.md @@ -37,20 +37,20 @@ myst: title: Oscar Winners actor_y: '0': 0 - '1': 16 - '2': 49 + '1': 19 + '2': 42 '3': 23 - '4': 9 - '5': 1 + '4': 13 + '5': 2 '6': 1 actress_y: - '0': 7 - '1': 53 - '2': 19 - '3': 3 - '4': 9 - '5': 0 - '6': 1 + '0': 13 + '1': 46 + '2': 15 + '3': 2 + '4': 10 + '5': 2 + '6': 2 age: '0': 20 '1': 30 @@ -59,48 +59,47 @@ myst: '4': 60 '5': 70 '6': 80 - no_actors: 99 - no_actress: 92 - actor_mean: 48.16 - actress_mean: 41.07 - actor_sd: 10.07 - actress_sd: 11.49 + no_actors: 100 + no_actress: 90 + actor_mean: 48.8 + actress_mean: 40.7 + actor_sd: 10.88 + actress_sd: 14.58 part1: ans1: - value: The difference in the peeks of these 2 graphs could suggest best - actor winners are generally older than best actress winners + value: Both histograms are right skewed feedback: Correct good job ans2: - value: Both histograms are right skewed + value: The difference in the peeks of these 2 graphs could suggest best + actor winners are generally older than best actress winners feedback: Correct good job ans3: value: The best act actress' seem to have a median age of approximately - 40.0 while the best actors seem to have a median age of about 50 + 40.0 while the best actors seem to have a median age of about 50.0 feedback: Correct good job ans4: value: There is not enough information to compare the 2 distributions in any meaningful way feedback: 'False' ans5: - value: The similarly in the peeks of these 2 graphs suggest best actor winners - are generally about the same age as best actress winners - feedback: Notice the difference in the peeks between the two distributions + value: The difference in the peeks of these 2 graphs could suggest best + actor winners are generally younger than best actress winners + feedback: Nice try, take a closer look at the distributions ans6: value: The best act actress' seem to have a median age of approximately - 60.0 while the best actors seem to have a median age of about 30 - feedback: not quite, remember the median is the observation that is in the - middle of the distribution + 50.0 while the best actors seem to have a median age of about 40.0 + feedback: read carefully ans7: - value: Both histograms are symmetric - feedback: Not Quite - ans8: - value: The actor distribution is right skewed while the actress distribution - is left skewed + value: The actor distribution is left skewed while the actress distribution + is symmetric feedback: Not quite - ans9: + ans8: value: The actor distribution is symmetric while the actress distribution is left skewed feedback: Not quite + ans9: + value: Both histograms are symmetric + feedback: Not Quite --- # {{ params.vars.title }} The first Oscar awards for best actor and best actress were given out in 1929. The histograms below show the age distribution for all of the best actor and best actress winners from 1929 to 2018. Summary statistics for these distributions are also provided. Compare the distributions of ages of best actor and actress winners. diff --git a/content/public/002.Summarizing Data/openstax_C2_Q110_Q112/C2_Q110_Q112.md b/content/public/002.Summarizing Data/openstax_C2_Q110_Q112/C2_Q110_Q112.md index c51d4687..58bd01a8 100644 --- a/content/public/002.Summarizing Data/openstax_C2_Q110_Q112/C2_Q110_Q112.md +++ b/content/public/002.Summarizing Data/openstax_C2_Q110_Q112/C2_Q110_Q112.md @@ -46,32 +46,32 @@ myst: Frequency 7 - $4$ + $1$ $14$ - $3$ + $2$ 15 - $3$ + $1$ $18$ - $5$ + $4$ 19 $4$ $20$ - $3$ + $5$ 22 - $5$ + $3$ $23$ $4$ 26 - $2$ + $5$ $40$ - $1$ + $3$ 42 - $5$ + $1$ part2: diff --git a/content/public/002.Summarizing Data/openstax_C2_Q12_to_Q17/openstax_C2_Q12_to_Q17.md b/content/public/002.Summarizing Data/openstax_C2_Q12_to_Q17/openstax_C2_Q12_to_Q17.md index 8d0a55e8..9ae38f60 100644 --- a/content/public/002.Summarizing Data/openstax_C2_Q12_to_Q17/openstax_C2_Q12_to_Q17.md +++ b/content/public/002.Summarizing Data/openstax_C2_Q12_to_Q17/openstax_C2_Q12_to_Q17.md @@ -56,34 +56,34 @@ myst: vars: title: Histograms sells: - three: 6 - four: 18 - five: 5 - six: 6 - seven: 16 + three: 8 + four: 9 + five: 17 + six: 8 + seven: 14 headers: - Data Value (# cars) - Frequency - Relative Frequency - Cumulative Relative Frequency - frequencies: &id001 - - 6 - - 18 - - 5 - - 6 - - 16 - sample_size: 51 + frequencies: &id003 + - 8 + - 9 + - 17 + - 8 + - 14 + sample_size: 56 rel_freq: &id002 - - 0.11764705882352941 - - 0.35294117647058826 - - 0.09803921568627451 - - 0.11764705882352941 - - 0.3137254901960784 - cum_rel_freq: &id003 - - 0.11764705882352941 - - 0.47058823529411764 - - 0.5686274509803921 - - 0.6862745098039216 + - 0.14285714285714285 + - 0.16071428571428573 + - 0.30357142857142855 + - 0.14285714285714285 + - 0.25 + cum_rel_freq: &id001 + - 0.14285714285714285 + - 0.3035714285714286 + - 0.6071428571428572 + - 0.75 - 1.0 part1: table: |- @@ -95,28 +95,28 @@ myst: Cumulative Relative Frequency - - - + + + - - - + + + - - - + + + - - - + + + - - + + @@ -143,17 +143,17 @@ myst: feedback: Not Quite - Check the definitions again. hist_values: - *id001 - - - 6 - - 24 - - 29 - - 35 - - 51 + - - 8 + - 17 + - 34 + - 42 + - 56 - *id002 - *id003 part5: ans1: value: Histogram 1 - feedback: Good Job! + feedback: Try again! ans2: value: Histogram 2 feedback: Try again! @@ -162,7 +162,7 @@ myst: feedback: Good Job! ans4: value: Histogram 4 - feedback: Try again! + feedback: Good Job! --- # {{ params.vars.title }} {{ params.sample_size }} randomly selected car salespersons were asked the number of cars they generally sell in one week. {{ params.sells.three }} people answered that they generally sell three cars; {{ params.sells.four }} generally sell four cars; {{ params.sells.five }} generally sell five cars; {{ params.sells.six }} generally sell six cars; {{ params.sells.seven }} generally sell seven cars. diff --git a/content/public/002.Summarizing Data/openstax_C2_Q19/openstax_C2_Q19.md b/content/public/002.Summarizing Data/openstax_C2_Q19/openstax_C2_Q19.md index 49d36e52..bef4b5f4 100644 --- a/content/public/002.Summarizing Data/openstax_C2_Q19/openstax_C2_Q19.md +++ b/content/public/002.Summarizing Data/openstax_C2_Q19/openstax_C2_Q19.md @@ -53,8 +53,8 @@ myst: params: vars: title: Depth of Hunger - color: blue - color_inst: The color of the frequency polygon should be blue. + color: orange + color_inst: The color of the frequency polygon should be orange. table: |- @@ -62,53 +62,53 @@ myst: - + - + - + - + - + - + - +
Frequency
230–2592027
260–2891412
290–31954
320–34945
350–37920
380–40931
410–43921
_workspace_files: - name: data.csv contents: | Depth of Hunger,Frequency - 230–259,20 - 260–289,14 - 290–319,5 - 320–349,4 - 350–379,2 - 380–409,3 - 410–439,2 + 230–259,27 + 260–289,12 + 290–319,4 + 320–349,5 + 350–379,0 + 380–409,1 + 410–439,1 autograding: - std_plot: std_8vo7q3mt_plot.png - ref_plot: ref_lrfxauwo_plot.png + std_plot: std_zxaocvn6_plot.png + ref_plot: ref_ft4vwp7s_plot.png _images: - label: Your Frequency Polygon - filename: std_8vo7q3mt_plot.png + filename: std_zxaocvn6_plot.png part: Check graph is similar to expected graph - label: Expected Frequency Polygon - filename: ref_lrfxauwo_plot.png + filename: ref_ft4vwp7s_plot.png part: Check graph is similar to expected graph _autograder_files: - path: /grade/tests/data.csv - contents: RGVwdGggb2YgSHVuZ2VyLEZyZXF1ZW5jeQoyMzDigJMyNTksMjAKMjYw4oCTMjg5LDE0CjI5MOKAkzMxOSw1CjMyMOKAkzM0OSw0CjM1MOKAkzM3OSwyCjM4MOKAkzQwOSwzCjQxMOKAkzQzOSwyCg== + contents: RGVwdGggb2YgSHVuZ2VyLEZyZXF1ZW5jeQoyMzDigJMyNTksMjcKMjYw4oCTMjg5LDEyCjI5MOKAkzMxOSw0CjMyMOKAkzM0OSw1CjM1MOKAkzM3OSwwCjM4MOKAkzQwOSwxCjQxMOKAkzQzOSwxCg== - path: /grade/student/data.csv - contents: RGVwdGggb2YgSHVuZ2VyLEZyZXF1ZW5jeQoyMzDigJMyNTksMjAKMjYw4oCTMjg5LDE0CjI5MOKAkzMxOSw1CjMyMOKAkzM0OSw0CjM1MOKAkzM3OSwyCjM4MOKAkzQwOSwzCjQxMOKAkzQzOSwyCg== + contents: RGVwdGggb2YgSHVuZ2VyLEZyZXF1ZW5jeQoyMzDigJMyNTksMjcKMjYw4oCTMjg5LDEyCjI5MOKAkzMxOSw0CjMyMOKAkzM0OSw1CjM1MOKAkzM3OSwwCjM4MOKAkzQwOSwxCjQxMOKAkzQzOSwxCg== --- # {{ params.vars.title }} diff --git a/content/public/002.Summarizing Data/openstax_C2_Q5_Q7/openstax_C2_Q5_Q7.md b/content/public/002.Summarizing Data/openstax_C2_Q5_Q7/openstax_C2_Q5_Q7.md index b00c231f..416420dd 100644 --- a/content/public/002.Summarizing Data/openstax_C2_Q5_Q7/openstax_C2_Q5_Q7.md +++ b/content/public/002.Summarizing Data/openstax_C2_Q5_Q7/openstax_C2_Q5_Q7.md @@ -59,39 +59,39 @@ myst: y_axis: Frequency overplotted: should style: o - color: purple + color: blue _workspace_files: - name: data.csv contents: | Number of TV Shows,Frequency - 0,7 - 1,23 - 2,36 + 0,5 + 1,18 + 2,44 3,5 - 4,1 + 4,3 df: null autograding: - std_plot: std_96g42qjq_plot.png - ref_plot: ref_dla7a0jk_plot.png + std_plot: std_6toy92ae_plot.png + ref_plot: ref_evoqeojq_plot.png csv: | Number of TV Shows,Frequency - 0,7 - 1,23 - 2,36 + 0,5 + 1,18 + 2,44 3,5 - 4,1 + 4,3 _images: - label: Your Line Graph - filename: std_96g42qjq_plot.png + filename: std_6toy92ae_plot.png part: Check graph is similar to expected graph - label: Expected Line Graph - filename: ref_dla7a0jk_plot.png + filename: ref_evoqeojq_plot.png part: Check graph is similar to expected graph _autograder_files: - path: /grade/tests/data.csv - contents: TnVtYmVyIG9mIFRWIFNob3dzLEZyZXF1ZW5jeQowLDcKMSwyMwoyLDM2CjMsNQo0LDEK + contents: TnVtYmVyIG9mIFRWIFNob3dzLEZyZXF1ZW5jeQowLDUKMSwxOAoyLDQ0CjMsNQo0LDMK - path: /grade/student/data.csv - contents: TnVtYmVyIG9mIFRWIFNob3dzLEZyZXF1ZW5jeQowLDcKMSwyMwoyLDM2CjMsNQo0LDEK + contents: TnVtYmVyIG9mIFRWIFNob3dzLEZyZXF1ZW5jeQowLDUKMSwxOAoyLDQ0CjMsNQo0LDMK --- # {{ params.vars.title }} {{ params.vars.description }} The results are shown in the table below diff --git a/content/public/002.Summarizing Data/openstax_C2_Q9_Q11/openstax_C2_Q9_Q11.md b/content/public/002.Summarizing Data/openstax_C2_Q9_Q11/openstax_C2_Q9_Q11.md index bd5b3e8e..cb22ee45 100644 --- a/content/public/002.Summarizing Data/openstax_C2_Q9_Q11/openstax_C2_Q9_Q11.md +++ b/content/public/002.Summarizing Data/openstax_C2_Q9_Q11/openstax_C2_Q9_Q11.md @@ -55,81 +55,66 @@ myst: table: |- - - - + + + - - - + + + - - - + + + - - - + + + - - - - - - - - - - - + + +
High SchoolScience competition population (%)Overall student population (%)SeasonNumber of studentsProportion of population (%)
Alabaster12.723.6Spring624
Concordia5.73.9Summer520
Genoa24.82.5Autumn936
Mocksville15.135.0
Tynneson26.433.8
West End15.21.2Winter520
graph_instructions: - - The plot should have a main title of 'Students in Science Competition from - Each School'. + - The plot should have a main title of 'Birthdays in Each Season'. - The x-axis should be labeled 'Proportion (%)'. - - The y-axis should be labeled 'School'. + - The y-axis should be labeled 'Season'. - The bars should be appropriately labelled. - - The bars should be colored orange. - - The bars should have a purple border. - - The bars should have a density of 6. + - The bars should be colored darkgreen. + - The bars should have a blue border. + - The bars should have a density of 1. - The plot should be horizontal. - description: David County has six high schools. Each school sent students to - participate in a county-wide science competition. The table below shows the - percentage breakdown of competitors from each school, and the percentage of - the entire student population of the county that goes to each school. Construct - a bar graph that shows the population percentage of competitors from each - school. + description: The students in Ms. Ramirez’s math class have birthdays in each + of the four seasons. The table below shows the four seasons, the number of + students who have birthdays in each season, and the proportion (%) of students + in each group. Construct a bar graph showing the percentages. autograding: col1: - - Alabaster - - Concordia - - Genoa - - Mocksville - - Tynneson - - West End + - Spring + - Summer + - Autumn + - Winter x: - - '12.7' - - '5.7' - - '24.8' - - '15.1' - - '26.4' - - '15.2' - title: Students in Science Competition from Each School + - 24 + - 20 + - 36 + - 20 + title: Birthdays in Each Season xlab: Proportion (%) - ylab: School - color: orange - border: purple - density: 6 + ylab: Season + color: darkgreen + border: blue + density: 1 horiz: 'True' - std_plot: std_i6k3c9pz_plot.png - ref_plot: ref_7vywzw60_plot.png + std_plot: std_twfegtki_plot.png + ref_plot: ref_555xfxow_plot.png _images: - label: Your Bar Plot - filename: std_i6k3c9pz_plot.png + filename: std_twfegtki_plot.png part: Check graph is similar to expected graph - label: Expected Bar Plot - filename: ref_7vywzw60_plot.png + filename: ref_555xfxow_plot.png part: Check graph is similar to expected graph --- # {{ params.vars.title }} diff --git a/content/public/003.Probability/3_1_defining_probability_q3_7/3_1_defining_probability_q3_7.md b/content/public/003.Probability/3_1_defining_probability_q3_7/3_1_defining_probability_q3_7.md index 714f5a35..9c4896b6 100644 --- a/content/public/003.Probability/3_1_defining_probability_q3_7/3_1_defining_probability_q3_7.md +++ b/content/public/003.Probability/3_1_defining_probability_q3_7/3_1_defining_probability_q3_7.md @@ -70,17 +70,17 @@ myst: vars: title: Swing voters description: - num1: 2322 - num2: 0.31 - num3: 0.25 - num4: 0.17 - num5: 0.14 - num6: 0.0775 - num22: 31.0 - num33: 25.0 - num44: 17.0 - num55: 14.0 - num66: 7.75 + num1: 2356 + num2: 0.43 + num3: 0.27 + num4: 0.12 + num5: 0.31 + num6: 0.11610000000000001 + num22: 43.0 + num33: 27.0 + num44: 12.0 + num55: 31.0 + num66: 11.61 part1: ans1: value: 'Yes' @@ -90,22 +90,22 @@ myst: feedback: Correct! There are voters who are both independent and swing voters. part2: ans1: - value: $A$ = 14.0%, $B$ = 17.0%, $C$ = 8.0% + value: $A$ = 31.0%, $B$ = 12.0%, $C$ = 15.0% feedback: Correct! ans2: - value: $A$ = 14.0%, $B$ = 8.0%, $C$ = 17.0% + value: $A$ = 31.0%, $B$ = 15.0%, $C$ = 12.0% feedback: Try again please! ans3: - value: $A$ = 17.0%, $B$ = 14.0%, $C$ = 8.0% + value: $A$ = 12.0%, $B$ = 31.0%, $C$ = 15.0% feedback: Try again please! ans4: - value: $A$ = 17.0%, $B$ = 8.0%, $C$ = 14.0% + value: $A$ = 12.0%, $B$ = 15.0%, $C$ = 31.0% feedback: Try again please! ans5: - value: $A$ = 8.0%, $B$ = 14.0%, $C$ = 17.0% + value: $A$ = 15.0%, $B$ = 31.0%, $C$ = 12.0% feedback: Try again please! ans6: - value: $A$ = 8.0%, $B$ = 17.0%, $C$ = 14.0% + value: $A$ = 15.0%, $B$ = 12.0%, $C$ = 31.0% feedback: Try again please! part6: ans1: diff --git a/content/public/003.Probability/Topic Outcome/22-31-defining-probability-q31/22-31-defining-probability-q31.md b/content/public/003.Probability/Topic Outcome/22-31-defining-probability-q31/22-31-defining-probability-q31.md index 26f7f0d6..45a19e4a 100644 --- a/content/public/003.Probability/Topic Outcome/22-31-defining-probability-q31/22-31-defining-probability-q31.md +++ b/content/public/003.Probability/Topic Outcome/22-31-defining-probability-q31/22-31-defining-probability-q31.md @@ -32,13 +32,14 @@ myst: params: vars: title: True or false - question1: Drawing a face card (jack, queen, or king) and drawing a red card - from a full deck of playing cards are mutually exclusive events. - question1_ans: False. There are red face cards. + question1: If a fair coin is tossed many times and the last eight tosses are + all heads, then the chance that the next toss will be heads is somewhat + less than 50%. + question1_ans: False. These are independent trials. part1: ans1: value: 'True' - feedback: False. There are red face cards. + feedback: False. These are independent trials. ans2: value: 'False' feedback: Correct! diff --git a/content/public/003.Probability/Topic Outcome/23-31-defining-probability-q33/probability_q33.md b/content/public/003.Probability/Topic Outcome/23-31-defining-probability-q33/probability_q33.md index c3d7be6f..1b3ad429 100644 --- a/content/public/003.Probability/Topic Outcome/23-31-defining-probability-q33/probability_q33.md +++ b/content/public/003.Probability/Topic Outcome/23-31-defining-probability-q33/probability_q33.md @@ -46,34 +46,34 @@ myst: params: vars: title: Four games, one winner - description1: If the proportion of heads is larger than 0.7, you win $1. - description2: If the proportion of heads is larger than 0.4, you win $1. - planswer1: 100 tosses. More flips means the observed proportion of heads would + description1: If the proportion of heads is larger than 0.3, you win $1. + description2: If the proportion of heads is larger than 0.7, you win $1. + planswer1: 10 tosses. Fewer tosses mean more variability in the sample fraction + of heads, meaning there's a better chance of getting at least 0.3 heads. + planswer2: 100 tosses. More flips means the observed proportion of heads would often be closer to the average, 0.50, and therefore also above 0.7. - planswer2: 10 tosses. Fewer tosses mean more variability in the sample fraction - of heads, meaning there's a better chance of getting at least 0.4 heads. num1: 10 num2: 100 num3: 1 part1: - num1: 0.7 + num1: 0.3 ans1: value: '10' - feedback: Not quite! + feedback: You got it! ans2: value: '100' - feedback: You got it! + feedback: Not quite! part2: - num1: 0.4 + num1: 0.7 ans1: value: '10' - feedback: You got it! + feedback: Not quite! ans2: value: '100' - feedback: Not quite! + feedback: You got it! part3: - num1: 0.4 - num2: 0.6 + num1: 0.3 + num2: 0.7 ans1: value: '10' feedback: Not quite! @@ -81,7 +81,7 @@ myst: value: '100' feedback: You got it! part4: - num1: 0.3 + num1: 0.2 ans1: value: '10' feedback: You got it! diff --git a/content/public/003.Probability/Topic Outcome/24-31-defining-probability-q35/24-31-defining-probability-q35.md b/content/public/003.Probability/Topic Outcome/24-31-defining-probability-q35/24-31-defining-probability-q35.md index a01795d2..9dac9c16 100644 --- a/content/public/003.Probability/Topic Outcome/24-31-defining-probability-q35/24-31-defining-probability-q35.md +++ b/content/public/003.Probability/Topic Outcome/24-31-defining-probability-q35/24-31-defining-probability-q35.md @@ -49,7 +49,7 @@ myst: params: vars: title: Coin flips - num1: 6 + num1: 8 --- # {{ params.vars.title }} If you flip a fair coin ${{ params.num1 }}$ times, what is the probability of diff --git a/content/public/003.Probability/Topic Outcome/27-31-defining-probability-q311/defining_probability_q311.md b/content/public/003.Probability/Topic Outcome/27-31-defining-probability-q311/defining_probability_q311.md index 80e00a64..b9865bae 100644 --- a/content/public/003.Probability/Topic Outcome/27-31-defining-probability-q311/defining_probability_q311.md +++ b/content/public/003.Probability/Topic Outcome/27-31-defining-probability-q311/defining_probability_q311.md @@ -61,20 +61,20 @@ myst: params: vars: title: Educational Attainment of Couples - male_9_less: '0.04' - male_9_to_12: '0.33' - male_HS: '0.15' - male_some_college: '0.12' - male_associates: '0.08' - male_bachelors: '0.17' - male_graduate_or_professional: '0.10' - female_9_less: '0.17' - female_9_to_12: '0.03' - female_HS: '0.18' - female_some_college: '0.16' - female_associates: '0.10' - female_bachelors: '0.17' - female_graduate_or_professional: '0.20' + male_9_less: '0.09' + male_9_to_12: '0.12' + male_HS: '0.18' + male_some_college: '0.13' + male_associates: '0.20' + male_bachelors: '0.14' + male_graduate_or_professional: '0.14' + female_9_less: '0.16' + female_9_to_12: '0.17' + female_HS: '0.21' + female_some_college: '0.04' + female_associates: '0.11' + female_bachelors: '0.07' + female_graduate_or_professional: '0.23' part4: ans1: value: 'Yes' diff --git a/content/public/003.Probability/Topic Outcome/28-32-conditional-probability-q313/conditional_probability_q313.md b/content/public/003.Probability/Topic Outcome/28-32-conditional-probability-q313/conditional_probability_q313.md index 08d06459..7d35b000 100644 --- a/content/public/003.Probability/Topic Outcome/28-32-conditional-probability-q313/conditional_probability_q313.md +++ b/content/public/003.Probability/Topic Outcome/28-32-conditional-probability-q313/conditional_probability_q313.md @@ -79,7 +79,7 @@ myst: title: Joint and Conditional Probabilities num1: 0.4 num2: 0.8 - num3: 0.2 + num3: 0.1 part1: ans1: value: 'Yes' diff --git a/content/public/003.Probability/Topic Outcome/29-32-conditional-probability-q315/conditional_probability_q315.md b/content/public/003.Probability/Topic Outcome/29-32-conditional-probability-q315/conditional_probability_q315.md index 180571a6..424c0e29 100644 --- a/content/public/003.Probability/Topic Outcome/29-32-conditional-probability-q315/conditional_probability_q315.md +++ b/content/public/003.Probability/Topic Outcome/29-32-conditional-probability-q315/conditional_probability_q315.md @@ -79,26 +79,26 @@ myst: vars: title: Global Warming num1: 0.1 - num2: 0.2 + num2: 0.22 num3: 0.01 - num4: 0.31 - num5: 0.06 - num6: 0.05 - num7: 0.01 - num8: 0.12 - num9: 0.26 - num10: 0.08 + num4: 0.33 + num5: 0.05 + num6: 0.06 + num7: 0.0 + num8: 0.11 + num9: 0.25 + num10: 0.07 num11: 0.02 - num12: 0.36 - num13: 0.2 + num12: 0.34 + num13: 0.19 num14: 0.01 num15: 0.01 - num16: 0.22 - num17: 0.62 - num18: 0.34 - num19: 0.05 + num16: 0.21 + num17: 0.59 + num18: 0.36 + num19: 0.04 num20: 1.0 - n20: 1257 + n20: 1253 part1: ans1: value: 'Yes' diff --git a/content/public/003.Probability/Topic Outcome/30-32-conditional-probability-q317/q317-conditional-probability.md b/content/public/003.Probability/Topic Outcome/30-32-conditional-probability-q317/q317-conditional-probability.md index 7c273346..565524d2 100644 --- a/content/public/003.Probability/Topic Outcome/30-32-conditional-probability-q317/q317-conditional-probability.md +++ b/content/public/003.Probability/Topic Outcome/30-32-conditional-probability-q317/q317-conditional-probability.md @@ -67,30 +67,30 @@ myst: params: vars: title: Burger Preferences - num1: 6 - num2: 12 - num3: 18 - num4: 148 - num5: 169 - num6: 317 - num7: 5 - num8: 14 - num9: 19 - num10: 29 - num11: 29 - num12: 58 - num13: 8 - num14: 4 - num15: 12 - num16: 28 - num17: 22 - num18: 50 - num19: 12 - num20: 7 - num21: 19 - num22: 236 - num23: 257 - num24: 493 + num1: 7 + num2: 10 + num3: 17 + num4: 165 + num5: 171 + num6: 336 + num7: 6 + num8: 11 + num9: 17 + num10: 27 + num11: 27 + num12: 54 + num13: 9 + num14: 2 + num15: 11 + num16: 24 + num17: 19 + num18: 43 + num19: 16 + num20: 9 + num21: 25 + num22: 254 + num23: 249 + num24: 503 part1: ans1: value: 'Yes' diff --git a/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_23/3_3_sampling_from_a_small_population_q3_23.md b/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_23/3_3_sampling_from_a_small_population_q3_23.md index 8379dc0e..8a735c8b 100644 --- a/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_23/3_3_sampling_from_a_small_population_q3_23.md +++ b/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_23/3_3_sampling_from_a_small_population_q3_23.md @@ -65,8 +65,8 @@ myst: vars: title: Marbles in an urn description: - num1: 8 - num2: 2 + num1: 10 + num2: 5 num3: 4 part5: ans1: diff --git a/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_25/3_3_sampling_from_a_small_population_q3_25.md b/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_25/3_3_sampling_from_a_small_population_q3_25.md index 2e1c42ec..3b7e1f56 100644 --- a/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_25/3_3_sampling_from_a_small_population_q3_25.md +++ b/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_25/3_3_sampling_from_a_small_population_q3_25.md @@ -57,12 +57,12 @@ myst: vars: title: Chips in a bag description: - num1: 6 - num2: 2 - num3: 2 - n1: 9 - n: 10 - blue1: 1 + num1: 3 + num2: 5 + num3: 4 + n1: 11 + n: 12 + blue1: 4 part4: ans1: value: 'Yes' diff --git a/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_27/3_3_sampling_from_a_small_population_q3_27.md b/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_27/3_3_sampling_from_a_small_population_q3_27.md index ed554ebc..5c2ffc01 100644 --- a/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_27/3_3_sampling_from_a_small_population_q3_27.md +++ b/content/public/003.Probability/Topic Outcome/3_3_sampling_from_a_small_population_q3_27/3_3_sampling_from_a_small_population_q3_27.md @@ -38,17 +38,17 @@ myst: vars: title: Student outfits description: - num1: 26 - num2: 11 - jeans1: 10 - num3: 7 - num4: 6 - num6: 2 + num1: 17 + num2: 5 + jeans1: 4 + num3: 4 + num4: 5 + num6: 3 num5: 3 - total: 26 - total1: 25 - total2: 24 - prob: 0.0141 + total: 17 + total1: 16 + total2: 15 + prob: 0.0147 --- # {{ params.vars.title }} In a classroom with ${{ params.description.num1 }}$ students, ${{ params.description.num2 }}$ students are wearing jeans, ${{ params.description.num3 }}$ are wearing shorts, ${{ params.description.num4 }}$ are wearing skirts, and the rest are wearing leggings. diff --git a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_29/3_4_random_variables_q3_29.md b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_29/3_4_random_variables_q3_29.md index 5c1a7a95..6ccd4145 100644 --- a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_29/3_4_random_variables_q3_29.md +++ b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_29/3_4_random_variables_q3_29.md @@ -41,11 +41,11 @@ myst: vars: title: College smokers part1: - num1: 96 + num1: 102 part2: start_hour: 11 before_start_hour: 10 - waiting_students: 29 + waiting_students: 25 ans1: value: 'No' feedback: Correct! @@ -54,7 +54,7 @@ myst: feedback: Incorrect. These students are not a random sample from the university's student population. description: - perc_smokers: 9 + perc_smokers: 7 --- # {{ params.vars.title }} At a university, ${{ params.description.perc_smokers }}$% of students smoke. diff --git a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_31/3_4_random_variables_q3_31.md b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_31/3_4_random_variables_q3_31.md index 94aa803d..d5ea0cee 100644 --- a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_31/3_4_random_variables_q3_31.md +++ b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_31/3_4_random_variables_q3_31.md @@ -67,25 +67,25 @@ myst: vars: title: Hearts win part3: - num1: 6 + num1: 7 part4: - num1: 6 + num1: 7 part5: - num1: 6 + num1: 7 ans1: - value: 'Yes' - feedback: Incorrect! The expected net profit is negative, so on average - you expect to lose money. - ans2: value: 'No' - feedback: Correct! The expected net profit is negative, so on average you - expect to lose money. + feedback: Incorrect! The expected net profit is positive, so on average + you expect to earn money. + ans2: + value: 'Yes' + feedback: Correct! The expected net profit is positive, so on average you + expect to earn money. description: - num1: 3 - num2: 3 + num1: 2 + num2: 2 num3: 46 - num4: 3 - num5: 24 + num4: 2 + num5: 27 --- # {{ params.vars.title }}
diff --git a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_33/3_4_random_variables_q3_33.md b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_33/3_4_random_variables_q3_33.md index dc3fcc02..1de8e078 100644 --- a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_33/3_4_random_variables_q3_33.md +++ b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_33/3_4_random_variables_q3_33.md @@ -38,9 +38,9 @@ myst: vars: title: Portfolio return description: - num1: 20 - num2: 14 - num3: 10 + num1: 16 + num2: 3 + num3: 12 --- # {{ params.vars.title }} A portfolio's value increases by ${{ params.description.num1 }}$% during a financial boom and by ${{ params.description.num2 }}$% during normal times. It decreases by ${{ params.description.num3 }}$% during a recession. diff --git a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_35/3_4_random_variables_q3_35.md b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_35/3_4_random_variables_q3_35.md index 67df4eb4..4f24a3c3 100644 --- a/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_35/3_4_random_variables_q3_35.md +++ b/content/public/003.Probability/Topic Outcome/3_4_random_variables_q3_35/3_4_random_variables_q3_35.md @@ -47,11 +47,11 @@ myst: vars: title: Roulette description: - num_slots: 45 - num_red: 20 - num_black: 21 + num_slots: 42 + num_red: 19 + num_black: 19 num_green: 4 - bet_amount: 4 + bet_amount: 6 bet_color: black part1: {} part2: {} diff --git a/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_39/3_5_continuous_distributions_q3_39.md b/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_39/3_5_continuous_distributions_q3_39.md index 9f4789af..27e43f97 100644 --- a/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_39/3_5_continuous_distributions_q3_39.md +++ b/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_39/3_5_continuous_distributions_q3_39.md @@ -34,34 +34,34 @@ myst: vars: title: Grade distributions description: - ra_cf: 0.2 - num1: 0.2 - num2: 0.2 - num3: 0.2 + ra_cf: 0.5 + num1: 0.1 + num2: 0.1 + num3: 0.1 num4: 0.4 num5: 0 num6: 0 num7: 1 num8: 0 num9: 0 - num10: 0.2 - num11: 0.2 - num12: 0.2 + num10: 0.1 + num11: 0.1 + num12: 0.1 num13: 0 num14: 0 - num15: 0.2 - num16: 0.2 + num15: 0.1 + num16: 0.3 num17: 0.4 num18: 0.2 num19: -0.2 num20: 0.2 - num21: 0.2 + num21: 0.3 num22: 0.1 - num23: 0.1 - num24: 0.4 + num23: 0.2 + num24: 0.2 num25: 0 num26: -0.2 - num27: 1.2 + num27: 1.0 num28: 0 num29: 0 part1: diff --git a/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_43/3_5_continuous_distributions_q3_43.md b/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_43/3_5_continuous_distributions_q3_43.md index c2af8309..86e52f3d 100644 --- a/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_43/3_5_continuous_distributions_q3_43.md +++ b/content/public/003.Probability/Topic Outcome/3_5_continuous_distributions_q3_43/3_5_continuous_distributions_q3_43.md @@ -57,10 +57,10 @@ myst: vars: title: Cost of breakfast description: - num1: '1.38' - std: '0.17' - num2: '2.62' - num3: '0.11' + num1: '1.40' + std: '0.20' + num2: '2.65' + num3: '0.10' --- # {{ params.vars.title }}
diff --git a/content/public/003.Probability/Topic Outcome/A2_P1/A2_P1.md b/content/public/003.Probability/Topic Outcome/A2_P1/A2_P1.md index 70792033..45944247 100644 --- a/content/public/003.Probability/Topic Outcome/A2_P1/A2_P1.md +++ b/content/public/003.Probability/Topic Outcome/A2_P1/A2_P1.md @@ -66,8 +66,8 @@ myst: title: A2 P1 pa: 0.3333333333333333 pnota: 0.6666666666666667 - pbmida: 0.78 - pnotbmida: 0.21999999999999997 + pbmida: 0.88 + pnotbmida: 0.12 pbmidnota: 0.91 pnotbmidnota: 0.08999999999999997 denomin: 3 diff --git a/content/public/003.Probability/Topic Outcome/A2_P2/A2_P2.md b/content/public/003.Probability/Topic Outcome/A2_P2/A2_P2.md index ac3a4db2..b84a9f53 100644 --- a/content/public/003.Probability/Topic Outcome/A2_P2/A2_P2.md +++ b/content/public/003.Probability/Topic Outcome/A2_P2/A2_P2.md @@ -67,7 +67,7 @@ myst: params: vars: title: Assignment 2, Problem 2 - variant: 1 + variant: 3 part1: ans1: value: The email was sent from a known contact diff --git a/content/public/003.Probability/Topic Outcome/A2_P3/A2_P3.md b/content/public/003.Probability/Topic Outcome/A2_P3/A2_P3.md index 4a228e8b..1a84bd4a 100644 --- a/content/public/003.Probability/Topic Outcome/A2_P3/A2_P3.md +++ b/content/public/003.Probability/Topic Outcome/A2_P3/A2_P3.md @@ -81,16 +81,16 @@ myst: params: vars: title: Blood types - a_pos: 0.3 - a_neg: 0.09 - b_pos: 0.081 - b_neg: 0.013 - ab_pos: 0.023 - ab_neg: 0.007 - o_pos: 0.416 - o_neg: 0.07 - lh: 0.82 - rh: 0.18 + a_pos: 0.37 + a_neg: 0.07 + b_pos: 0.082 + b_neg: 0.012 + ab_pos: 0.021 + ab_neg: 0.004 + o_pos: 0.381 + o_neg: 0.06 + lh: 0.854 + rh: 0.146 --- # {{ params.vars.title }} diff --git a/content/public/003.Probability/Topic Outcome/A3_P2/A3_P2.md b/content/public/003.Probability/Topic Outcome/A3_P2/A3_P2.md index a7778d55..0635be29 100644 --- a/content/public/003.Probability/Topic Outcome/A3_P2/A3_P2.md +++ b/content/public/003.Probability/Topic Outcome/A3_P2/A3_P2.md @@ -61,35 +61,35 @@ myst: params: vars: title: A3 P2 - x1: -3 - x2: 4 - x3: 6 + x1: -1 + x2: 1 + x3: 5 x4: 7 x5: '?' - p1: 0.09 - p2: 0.46 - p3: 0.17 - p4: 0.17 + p1: 0.24 + p2: 0.18 + p3: 0.22 + p4: 0.2 p5: c - ey: 4.77 + ey: 3.72 part4: - ub: 7 + ub: 4 i: 4 table: |-
- - - + + + - - - - + + + +
$y$$-3$$4$$6$$-1$$1$$5$ $7$ $?$
$P(Y = y)$$0.09$$0.46$$0.17$$0.17$$0.24$$0.18$$0.22$$0.2$ $c$
diff --git a/content/public/004.Distributions of random variables/Topic Outcome/A3_P1/A3_P1.md b/content/public/004.Distributions of random variables/Topic Outcome/A3_P1/A3_P1.md index 13a5272e..015f1e0f 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/A3_P1/A3_P1.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/A3_P1/A3_P1.md @@ -75,25 +75,25 @@ myst: title: A3 P1 length: 4 supx: - '0': -1 - '1': 1 + '0': -3 + '1': -2 '2': 2 '3': 3 probx: '0': 0.1 - '1': 0.1 - '2': 0.4 + '1': 0.2 + '2': 0.3 '3': 0.4 - x1: -1 - x2: 1 + x1: -3 + x2: -2 x3: 2 x4: 3 p1: 0.1 - p2: 0.1 - p3: 0.4 + p2: 0.2 + p3: 0.3 p4: 0.4 part6: - const: 6 + const: 5 i: 2 part3: ans1: diff --git a/content/public/004.Distributions of random variables/Topic Outcome/A3_P3/A3_P3.md b/content/public/004.Distributions of random variables/Topic Outcome/A3_P3/A3_P3.md index 026f20ad..c2f40343 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/A3_P3/A3_P3.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/A3_P3/A3_P3.md @@ -84,14 +84,14 @@ myst: vars: title: A3P3 lb: -2 - ub: 4 + ub: 6 percentile: 24 - offset: 3 - denom: 24 + offset: 2 + denom: 32 part3: - lb: 0 - ub: 2 - const: 4 + lb: -1 + ub: 5 + const: 2 --- # {{ params.vars.title }} Let the random variable $X$ had the probability density function given by: diff --git a/content/public/004.Distributions of random variables/Topic Outcome/A4_P1/A4_P1.md b/content/public/004.Distributions of random variables/Topic Outcome/A4_P1/A4_P1.md index dff799ea..efd65730 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/A4_P1/A4_P1.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/A4_P1/A4_P1.md @@ -56,9 +56,9 @@ myst: params: vars: title: Assignment 4 Problem 1 - numVehicles: 6 - prightPercentage: 78.0 - pleftPercentage: 22.0 + numVehicles: 7 + prightPercentage: 76.0 + pleftPercentage: 24.0 turnDirection: right part1: ans1: diff --git a/content/public/004.Distributions of random variables/Topic Outcome/A4_P2/A4_P2.md b/content/public/004.Distributions of random variables/Topic Outcome/A4_P2/A4_P2.md index 2ea3e959..2c196340 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/A4_P2/A4_P2.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/A4_P2/A4_P2.md @@ -62,9 +62,9 @@ myst: params: vars: title: A4P2 - N: 11 - K: 7 - n: 8 + N: 14 + K: 9 + n: 12 part1: ans1: value: Bernoulli @@ -83,16 +83,16 @@ myst: feedback: Correct! part2: ans1: - value: x = 0, 1, ..., 8 + value: x = 0, 1, ..., 12 feedback: Try again please! ans2: - value: x = 0, 1, ..., 11 + value: x = 0, 1, ..., 14 feedback: Try again please! ans3: - value: x = 0, 1, ..., 7 + value: x = 0, 1, ..., 9 feedback: Try again please! ans4: - value: x = 1, 2, ..., 7 + value: x = 1, 2, ..., 9 feedback: Correct! ans5: value: None of these diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0401/q0401.md b/content/public/004.Distributions of random variables/Topic Outcome/q0401/q0401.md index 9e066593..3d2fc184 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0401/q0401.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0401/q0401.md @@ -37,10 +37,9 @@ myst: params: vars: title: Area Under Curve - question: 0.02 < Z < 0.65 - low: 0.02 - upp: 0.65 - dis: 0.23417557547723333 + question: ' |Z| > 1.13' + bound: 1.13 + dis: 0.2584762244800357 --- # {{ params.vars.title }} Consider a standard normal distribution $$N(\mu=0,\sigma=1)$$. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0405/q0405.md b/content/public/004.Distributions of random variables/Topic Outcome/q0405/q0405.md index 3a175722..c919a6e1 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0405/q0405.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0405/q0405.md @@ -37,12 +37,12 @@ myst: params: vars: title: GRE Scores, Part II - sigma: 7.67 - mu: 151 - section: quantitative - percentile: 43 - dis: 149.6472101561308 - z_score: -0.17637416478086135 + sigma: 7.61 + mu: 149 + section: verbal + percentile: 48 + dis: 148.6183312298334 + z_score: -0.05015358346473367 --- # {{ params.vars.title }} The distribution of the {{params.section}} part of the GRE exam is $$N(\mu={{params.mu}},\sigma={{params.sigma}})$$. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0407/q0407.md b/content/public/004.Distributions of random variables/Topic Outcome/q0407/q0407.md index 82e9d103..fca6f3c0 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0407/q0407.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0407/q0407.md @@ -47,14 +47,14 @@ myst: vars: title: LA weather, Part I units: $$^{\circ} F$$ - mu: 74 - sig: 3 - temp: 74 - percent: 7 - z: 0.0 - prob: 0.5 - x: -1.48 - temp2: 69.6 + mu: 81 + sig: 6 + temp: 85 + percent: 18 + z: 0.67 + prob: 0.2514 + x: -0.92 + temp2: 75.5 --- # {{ params.vars.title }} The average daily high temperature in June in LA is ${{ params.mu }} ^{\circ} F$ with a standard deviation of ${{params.sig}} ^{\circ} F$. Suppose that the temperatures in June closely follow a normal distribution. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0409/q0409.md b/content/public/004.Distributions of random variables/Topic Outcome/q0409/q0409.md index f842b056..df55626f 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0409/q0409.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0409/q0409.md @@ -71,30 +71,30 @@ myst: params: vars: title: LA weather - mu: 75 - sig: 7 - temp: 82 - percent: 25 - z: 1.0 - prob: 0.1587 - mu_C: 23.88888888888889 - sig_C: 3.888888888888889 - temp_C_f: 27.77777777777778 - temp_C: 28 - z_C: 1.0571428571428572 - prob_C: 0.14522319716186471 - IQR_C: 5.246 + mu: 79 + sig: 3 + temp: 85 + percent: 23 + z: 2.0 + prob: 0.0228 + mu_C: 26.11111111111111 + sig_C: 1.6666666666666667 + temp_C_f: 29.444444444444443 + temp_C: 29 + z_C: 1.7333333333333334 + prob_C: 0.04151821968877911 + IQR_C: 2.248 part4: ans1: value: 'No' feedback: The answers are very close because only the units were changed. - (The only reason why they differ at all because 82 F is 27.778 C, not - precisely 28 C.) + (The only reason why they differ at all because 85 F is 29.444 C, not + precisely 29 C.) ans2: value: 'Yes' feedback: The answers are very close because only the units were changed. - (The only reason why they differ at all because 82 F is 27.778 C, not - precisely 28 C.) + (The only reason why they differ at all because 85 F is 29.444 C, not + precisely 29 C.) --- # {{ params.vars.title }} The average daily high temperature in June in LA is $${{params.mu}} ^{\circ} F$$ with a standard deviation of $${{params.sig}} ^{\circ} F$$, and it can be assumed that they do follow a normal distribution. We use the following equation to convert $$^{\circ} F$$ (Fahrenheit) to $$^{\circ} C$$ (Celsius): diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0413/q0413.md b/content/public/004.Distributions of random variables/Topic Outcome/q0413/q0413.md index e9fbaf65..1610b8b5 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0413/q0413.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0413/q0413.md @@ -55,13 +55,13 @@ myst: params: vars: title: Eye color, Part I - c1: 0.25 - c2: 0.375 - c3: 0.375 - p1: 0.146484375 - p: 0.375 - mu: 2.6666666666666665 - sig: 2.1081851067789197 + c1: 0.375 + c2: 0.125 + c3: 0.5 + p1: 0.095703125 + p: 0.125 + mu: 8.0 + sig: 7.483314773547883 --- # {{ params.vars.title }} A husband and wife both have brown eyes but carry genes that make it possible for their children to have brown eyes (probability ${{params.c1}}$), blue eyes (${{params.c2}}$), or green eyes (${{params.c3}}$). diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0417/q0417.md b/content/public/004.Distributions of random variables/Topic Outcome/q0417/q0417.md index 4d02c272..88038d43 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0417/q0417.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0417/q0417.md @@ -65,19 +65,19 @@ myst: params: vars: title: Underage drinking, Part I - percentage: 70.3 + percentage: 69.7 n2: 10 - k2: 4 + k2: 5 n3: 10 - k3: 6 + k3: 5 n4: 5 k4: 4 n5: 5 - k5: 3 - p2: 0.035 - p3: 0.035 - p4: 0.828 - p5: 0.841 + k5: 4 + p2: 0.106 + p3: 0.106 + p4: 0.836 + p5: 0.522 part1: ans1: value: 'Yes' diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0419/q0419.md b/content/public/004.Distributions of random variables/Topic Outcome/q0419/q0419.md index c3b0f0c1..2f535f5e 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0419/q0419.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0419/q0419.md @@ -57,20 +57,20 @@ myst: params: vars: title: Underage drinking - n: 60 - k: 54 - mu: 42.0 - sig: 3.54964786985977 - Z: 3.380617018914066 - Z4: 3.239757976459313 - p4: 0.0005976484979344157 + n: 50 + k: 45 + mu: 35.0 + sig: 3.2403703492039306 + Z: 3.086066999241838 + Z4: 2.9317636492797456 + p4: 0.0016948100192772598 part3: ans1: value: 'Yes' feedback: Correct! ans2: value: 'No' - feedback: Z = 3.38 is about 3 standard deviations away from the mean, we + feedback: Z = 3.09 is about 3 standard deviations away from the mean, we can assume that it is an unusual observiation. --- # {{ params.vars.title }} diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0421/q0421.md b/content/public/004.Distributions of random variables/Topic Outcome/q0421/q0421.md index 6ea72d2d..424a6916 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0421/q0421.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0421/q0421.md @@ -62,19 +62,19 @@ myst: vars: title: Game of dreidel part0: - num1: 4 + num1: 3 part1: num1: 1 - side: gimel - part2: - num1: 3 side: nun + part2: + num1: 2 + side: hei part3: + num1: 1 + side: gimel + part4: num1: 2 side: nun - part4: - num1: 3 - side: gimel --- # {{ params.vars.title }} A dreidel is a four-sided spinning top with the Hebrew letters $\textit{nun}$, $\textit{gimel}$, $\textit{hei}$, and $\textit{shin}$, one on each side. Each side is equally likely to come up in a single spin of the dreidel. Suppose you spin a dreidel ${{ params.part0.num1 }}$ times. Calculate the probability of getting diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0423/q0423.md b/content/public/004.Distributions of random variables/Topic Outcome/q0423/q0423.md index 0df2f580..d6738cda 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0423/q0423.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0423/q0423.md @@ -74,19 +74,19 @@ myst: vars: title: Eye color, Part II part6: - num1: 3 + num1: 2 num2: 8 - z: '0.816' + z: '1.069' ans1: value: 'Yes' - feedback: Z = 0.816 + feedback: Z = 1.069 ans2: value: 'No' feedback: Correct! description: - num1: 0.25 - num2: 0.25 - num3: 0.5 + num1: 0.125 + num2: 0.5 + num3: 0.375 --- # {{ params.vars.title }} A husband and wife with brown eyes who have ${{ params.description.num1 }}$ probability of having children with brown eyes, ${{ params.description.num2 }}$ probability of having children with blue eyes, and ${{ params.description.num3 }}$ probability of having children with green eyes. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0425/q0425.md b/content/public/004.Distributions of random variables/Topic Outcome/q0425/q0425.md index 60e3e9e4..4f69ef62 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0425/q0425.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0425/q0425.md @@ -51,13 +51,13 @@ myst: params: vars: title: Exploring permutations - name: Abbas + name: Ximena part3: num1: 8 num2: 8 part0: list_length: 6 - list: 'Ximena\ Lorenzo\ Santiago\ Mateo\ Emilia\ Maya\ ' + list: 'Savannah\ Santiago\ Aliyah\ Emilia\ Maya\ Ahmed\ ' --- # {{ params.vars.title }} The formula for the number of ways to arrange $n$ objects is $n! = n\times(n-1)\times \cdots \times 2 \times 1$. This exercise walks you through the derivation of this formula for a couple of special cases. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0427/q0427.md b/content/public/004.Distributions of random variables/Topic Outcome/q0427/q0427.md index de8ef586..00c25905 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0427/q0427.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0427/q0427.md @@ -66,9 +66,9 @@ myst: vars: title: Rolling a die part1: - dice: 3 + dice: 6 part2: - dice: 2 + dice: 1 ans1: value: Geometric feedback: Correct! @@ -87,7 +87,7 @@ myst: part3: dice: 2 description: - coin_toss: 8 + coin_toss: 9 part4: ans1: value: Geometric diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0437/q0437.md b/content/public/004.Distributions of random variables/Topic Outcome/q0437/q0437.md index 82bc5255..c5963348 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0437/q0437.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0437/q0437.md @@ -46,9 +46,9 @@ myst: vars: title: University admissions description: - num1: 2524 - num2: 1784 - num3: 70 + num1: 2513 + num2: 1782 + num3: 71 --- # {{ params.vars.title }} Suppose a university announced that it admitted ${{ params.description.num1 }}$ students for the following year's freshman class. However, the university has dorm room spots for only ${{ params.description.num2 }}$ freshman students. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0439/q0439.md b/content/public/004.Distributions of random variables/Topic Outcome/q0439/q0439.md index e3dc0e84..e2dc5464 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0439/q0439.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0439/q0439.md @@ -62,8 +62,8 @@ myst: vars: title: Auto insurance premiums description: - num1: 1657 - num3: 1895 + num1: 1644 + num3: 1902 percentile: 77 top_percent: 23 --- diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0443/q0443.md b/content/public/004.Distributions of random variables/Topic Outcome/q0443/q0443.md index 7e394a4d..27ce9dd8 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0443/q0443.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0443/q0443.md @@ -37,9 +37,9 @@ myst: vars: title: Overweight baggage description: - num1: 42 + num1: 49 num2: 3.1 - num3: 48 + num3: 55 --- # {{ params.vars.title }} Suppose weights of the checked baggage of airline passengers follow a nearly normal distribution with mean ${{ params.description.num1 }}$ pounds and standard deviation ${{ params.description.num2 }}$ pounds. Most airlines charge a fee for baggage that weigh in excess of ${{ params.description.num3 }}$ pounds. diff --git a/content/public/004.Distributions of random variables/Topic Outcome/q0447/q0447.md b/content/public/004.Distributions of random variables/Topic Outcome/q0447/q0447.md index ae7cd627..90cec563 100644 --- a/content/public/004.Distributions of random variables/Topic Outcome/q0447/q0447.md +++ b/content/public/004.Distributions of random variables/Topic Outcome/q0447/q0447.md @@ -61,11 +61,11 @@ myst: params: vars: title: Heights of 10 year olds, Part III - age: 11 - height: 74 - mean: 54 - size: 1994 - number: 1 + age: 9 + height: 77 + mean: 56 + size: 2003 + number: 2 std: 6 --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_1/5_1_point_estimates_and_sampling_variability_q5_1.md b/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_1/5_1_point_estimates_and_sampling_variability_q5_1.md index 05b433e3..20800452 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_1/5_1_point_estimates_and_sampling_variability_q5_1.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_1/5_1_point_estimates_and_sampling_variability_q5_1.md @@ -32,16 +32,16 @@ myst: params: vars: title: Identify the parameter, Part I - question: In a survey, one hundred college students are asked whether or not - they cited information from Wikipedia in their papers. - answer_panel_feedback: Proportion. Each student reports Yes or No, so this - is a categorical variable and we use a proportion. + question: 'In a survey, one hundred college students are asked: "What percentage + of the time you spend on the Internet is part of your course work?"' + answer_panel_feedback: Mean. Each student reports a number, which is a percentage, + and we can average over these percentages. part1: ans1: - value: Proportion + value: Mean feedback: Great! You got it. ans2: - value: Mean + value: Proportion feedback: Try again please! --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_3/5_1_point_estimates_and_sampling_variability_q5_3.md b/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_3/5_1_point_estimates_and_sampling_variability_q5_3.md index c1e41d86..395d7926 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_3/5_1_point_estimates_and_sampling_variability_q5_3.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_3/5_1_point_estimates_and_sampling_variability_q5_3.md @@ -65,21 +65,21 @@ myst: vars: title: Quality control description: - num1: 172 - num2: 28 + num1: 220 + num2: 34 part1: ans1: value: The population of all computer chips ever produced by the factory. feedback: Try again please! ans2: - value: The population of 172 computer chips sampled during a week of production. + value: The population of 220 computer chips sampled during a week of production. feedback: Try again please! ans3: value: All computer chips manufactured at the factory during the week of production. feedback: Correct! ans4: - value: The population of 172 defective computer chips found in the sample. + value: The population of 220 defective computer chips found in the sample. feedback: Try again please! part2: ans1: @@ -87,7 +87,7 @@ myst: entire year that had defects. feedback: Try again please! ans2: - value: The fraction of the 172 sampled chips that had defects. + value: The fraction of the 220 sampled chips that had defects. feedback: Try again please! ans3: value: The fraction of computer chips manufactured at the factory during @@ -125,7 +125,7 @@ myst: value: No, the value does not change significantly. feedback: Correct! answer: - num1: 0.02287 + num1: 0.02023 --- # {{ params.vars.title }} As part of a quality control process for computer chips, an engineer at a factory randomly samples ${{ params.description.num1 }}$ chips during a week of production to test the current rate of chips with severe defects. diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_5/5_1_point_estimates_and_sampling_variability_q5_5.md b/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_5/5_1_point_estimates_and_sampling_variability_q5_5.md index 145f3d97..75548e05 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_5/5_1_point_estimates_and_sampling_variability_q5_5.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_1_point_estimates_and_sampling_variability_q5_5/5_1_point_estimates_and_sampling_variability_q5_5.md @@ -53,15 +53,15 @@ myst: vars: title: Repeated water samples text_part5: - budget: increased - only: '' - can: '' + budget: reduced + only: 'only ' + can: 'can ' part3: - num1: 11 + num1: 6 part5: - num1: 1139 - num2: 961 - num3: 780 + num1: 255 + num2: 928 + num3: 755 ans1: value: It is impossible to predict the variability of the new distribution. feedback: The distribution will tend to be more variable when we have fewer @@ -82,8 +82,8 @@ myst: description: num1: 5 num2: 30 - num3: 780 - num4: 961 + num3: 755 + num4: 928 part1: ans1: value: Normal Distribution diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_11/5_2_confidence_intervals_for_a_proportion_q5_11.md b/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_11/5_2_confidence_intervals_for_a_proportion_q5_11.md index f9b4f231..3f8e6235 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_11/5_2_confidence_intervals_for_a_proportion_q5_11.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_11/5_2_confidence_intervals_for_a_proportion_q5_11.md @@ -55,11 +55,11 @@ myst: params: vars: title: Waiting at an ER, Part I - ci_lower: 129 - ci_higher: 147 + ci_lower: 130 + ci_higher: 139 part1: num1: 95 - num2: 62 + num2: 67 ans1: value: 'True' feedback: Try again please! @@ -83,17 +83,17 @@ myst: value: 'False' feedback: Correct! part4: - num1: 94 + num1: 105 num2: 95 ans1: value: 'True' - feedback: Correct! + feedback: Try again please! ans2: value: 'False' - feedback: Try again please! + feedback: Correct! part5: - num1: 8.0 - num2: 138.0 + num1: 4.5 + num2: 135.5 ans1: value: 'True' feedback: Try again please! @@ -109,10 +109,10 @@ myst: value: 'False' feedback: Correct! description: - num1: 62 + num1: 67 num2: 95 - num3: 129 - num4: 147 + num3: 130 + num4: 139 --- # {{ params.vars.title }} A hospital administrator hoping to improve wait times decides to estimate the average emergency room waiting time at her hospital. She collects a simple random sample of ${{ params.description.num1 }}$ patients and determines the time (in minutes) between when they checked in to the ER until they were first seen by a doctor. A ${{ params.description.num2 }}$% confidence interval based on this sample is (${{ params.ci_lower }}$ minutes, ${{ params.ci_higher }}$ minutes), which is based on the normal model for the mean. Determine whether the following statements are true or false, and explain your reasoning. diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_13/5_2_confidence_intervals_for_a_proportion_q5_13.md b/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_13/5_2_confidence_intervals_for_a_proportion_q5_13.md index fa1a4246..f79394dd 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_13/5_2_confidence_intervals_for_a_proportion_q5_13.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_13/5_2_confidence_intervals_for_a_proportion_q5_13.md @@ -48,8 +48,8 @@ myst: vars: title: Website registration description: - num1: 751 - num2: 59 + num1: 755 + num2: 61 part1: ans1: value: Independence @@ -59,24 +59,24 @@ myst: feedback: Correct! part3: ans1: - value: The 90% confidence interval is approximately (0.0624, 0.0897). We + value: The 90% confidence interval is approximately (0.0645, 0.0921). We are 90% confident that the true proportion of all first-time visitors - who would register under the new design is between 6.24% and 8.97%. + who would register under the new design is between 6.45% and 9.21%. feedback: Try again please! ans2: - value: The 90% confidence interval is approximately (0.0584, 0.0947). We + value: The 90% confidence interval is approximately (0.0605, 0.0971). We are 90% confident that the true proportion of all first-time visitors - who would register under the new design is between 5.84% and 9.47%. + who would register under the new design is between 6.05% and 9.71%. feedback: Try again please! ans3: - value: The 90% confidence interval is approximately (0.0584, 0.0897). We + value: The 90% confidence interval is approximately (0.0605, 0.0921). We are 90% confident that the true proportion of all first-time visitors - who would register under the new design is between 5.84% and 8.97%. + who would register under the new design is between 6.05% and 9.21%. feedback: Try again please! ans4: - value: The 90% confidence interval is approximately (0.0624, 0.0947). We + value: The 90% confidence interval is approximately (0.0645, 0.0971). We are 90% confident that the true proportion of all first-time visitors - who would register under the new design is between 6.24% and 9.47%. + who would register under the new design is between 6.45% and 9.71%. feedback: Correct! --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_7/5_2_confidence_intervals_for_a_proportion_q5_7.md b/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_7/5_2_confidence_intervals_for_a_proportion_q5_7.md index e0bf0798..01e2c459 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_7/5_2_confidence_intervals_for_a_proportion_q5_7.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_2_confidence_intervals_for_a_proportion_q5_7/5_2_confidence_intervals_for_a_proportion_q5_7.md @@ -38,30 +38,30 @@ myst: vars: title: Chronic illness, Part I description: - num1: 2017 + num1: 2004 num2: 1.3 - num3: 41 + num3: 54 part1: ans1: - value: '[36.5 %, 46.5 %]' + value: '[49.5 %, 59.5 %]' feedback: 'Try again! Recall that the general formula is $point~estimate \pm z^{\star}$ × SE. First, identify the three different values. The point - estimate is 41%,$z^{\star} = 1.96$ for a 95% confidence level, and SE - = 1.3%.Then, plug the values into the formula: 41% $\pm 1.96$ × 1.3%' + estimate is 54%,$z^{\star} = 1.96$ for a 95% confidence level, and SE + = 1.3%.Then, plug the values into the formula: 54% $\pm 1.96$ × 1.3%' ans2: - value: '[38.5 %, 46.5 %]' + value: '[51.5 %, 59.5 %]' feedback: 'Try again! Recall that the general formula is $point~estimate \pm z^{\star}$ × SE. First, identify the three different values. The point - estimate is 41%,$z^{\star} = 1.96$ for a 95% confidence level, and SE - = 1.3%.Then, plug the values into the formula: 41% $\pm 1.96$ × 1.3%' + estimate is 54%,$z^{\star} = 1.96$ for a 95% confidence level, and SE + = 1.3%.Then, plug the values into the formula: 54% $\pm 1.96$ × 1.3%' ans3: - value: '[36.5 %, 43.5 %]' + value: '[49.5 %, 56.5 %]' feedback: 'Try again! Recall that the general formula is $point~estimate \pm z^{\star}$ × SE. First, identify the three different values. The point - estimate is 41%,$z^{\star} = 1.96$ for a 95% confidence level, and SE - = 1.3%.Then, plug the values into the formula: 41% $\pm 1.96$ × 1.3%' + estimate is 54%,$z^{\star} = 1.96$ for a 95% confidence level, and SE + = 1.3%.Then, plug the values into the formula: 54% $\pm 1.96$ × 1.3%' ans4: - value: '[38.5 %, 43.5 %]' + value: '[51.5 %, 56.5 %]' feedback: Correct! part2: ans1: diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_15/5_3_hypothesis_testing_for_a_proportion_q5_15.md b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_15/5_3_hypothesis_testing_for_a_proportion_q5_15.md index 85ae568b..ec9c4bfc 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_15/5_3_hypothesis_testing_for_a_proportion_q5_15.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_15/5_3_hypothesis_testing_for_a_proportion_q5_15.md @@ -45,7 +45,7 @@ myst: vars: title: Identify hypotheses, Part I part1: - num1: 216 + num1: 206 ans1: value: '$ H_0: p < 0.5 $ A minority of students'' grades improved.' feedback: Try again please! @@ -61,7 +61,7 @@ myst: improved.' feedback: Correct! part2: - num1: 17 + num1: 8 ans1: value: '$H_A: p = 0.5$ Neither a majority nor minority of students'' grades improved.' @@ -78,36 +78,36 @@ myst: feedback: Correct! part3: ans1: - value: '$H_0: \mu \neq 17$ The average amount of company time each employee + value: '$H_0: \mu \neq 8$ The average amount of company time each employee spends not working is different during March Madness.' feedback: Try again please! ans2: - value: '$H_0: \mu > 17$ The average amount of company time each employee + value: '$H_0: \mu > 8$ The average amount of company time each employee spends not working is more during March Madness.' feedback: Try again please! ans3: - value: '$H_0: \mu < 17$ The average amount of company time each employee + value: '$H_0: \mu < 8$ The average amount of company time each employee spends not working is less during March Madness.' feedback: Try again please! ans4: - value: '$H_0: \mu = 17$ The average amount of company time each employee + value: '$H_0: \mu = 8$ The average amount of company time each employee spends not working is the same during March Madness.' feedback: Correct! part4: ans1: - value: '$H_A: \mu = 17$ The average amount of company time each employee + value: '$H_A: \mu = 8$ The average amount of company time each employee spends not working is the same during March Madness.' feedback: Try again please! ans2: - value: '$H_A: \mu > 17$ The average amount of company time each employee + value: '$H_A: \mu > 8$ The average amount of company time each employee spends not working is more during March Madness.' feedback: Try again please! ans3: - value: '$H_A: \mu < 17$ The average amount of company time each employee + value: '$H_A: \mu < 8$ The average amount of company time each employee spends not working is less during March Madness.' feedback: Try again please! ans4: - value: '$H_A: \mu \neq 17$ The average amount of company time each employee + value: '$H_A: \mu \neq 8$ The average amount of company time each employee spends not working is different during March Madness.' feedback: Correct! --- diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_17/5_3_hypothesis_testing_for_a_proportion_q5_17.md b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_17/5_3_hypothesis_testing_for_a_proportion_q5_17.md index ec1cee29..ebee4107 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_17/5_3_hypothesis_testing_for_a_proportion_q5_17.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_17/5_3_hypothesis_testing_for_a_proportion_q5_17.md @@ -34,27 +34,27 @@ myst: vars: title: Online communication description: - sample_size: 148 - num2: 0.58 - num3: 0.72 - num4: 58 - num5: 72 + sample_size: 175 + num2: 0.56 + num3: 0.63 + num4: 56 + num5: 63 part1: ans1: - value: $H_0$ should be $p = 0.58$ (Null hypothesis should state that the - population proportion is equal to 0.58.) + value: $H_0$ should be $p = 0.56$ (Null hypothesis should state that the + population proportion is equal to 0.56.) feedback: Correct! (1) The hypotheses should be about the population proportion ($p$), not the sample proportion. (2) The null hypothesis should have an equal sign. (3) The alternative hypothesis should have a not-equals - sign, and, (4) It should reference the null value, $p_0$ = 0.58, not the + sign, and, (4) It should reference the null value, $p_0$ = 0.56, not the observed sample proportion. ans2: - value: ' $H_0: p < 0.72$, $H_A: p > 0.58$ (Your friend''s proposed hypotheses + value: ' $H_0: p < 0.63$, $H_A: p > 0.56$ (Your friend''s proposed hypotheses are incorrect as indicated in the solution.)' feedback: ' Try Again! (1) The hypotheses should be about the population proportion ($p$), not the sample proportion. (2) The null hypothesis should have an equal sign. (3) The alternative hypothesis should have a not-equals - sign, and, (4) It should reference the null value, $p_0$ = 0.58, not the + sign, and, (4) It should reference the null value, $p_0$ = 0.56, not the observed sample proportion.' --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_19/5_3_hypothesis_testing_for_a_proportion_q5_19.md b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_19/5_3_hypothesis_testing_for_a_proportion_q5_19.md index 1544ece8..87f002a6 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_19/5_3_hypothesis_testing_for_a_proportion_q5_19.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_19/5_3_hypothesis_testing_for_a_proportion_q5_19.md @@ -42,19 +42,19 @@ myst: vars: title: Cyberbullying rates part2: - num1: 77 + num1: 70 ans1: - value: Yes, the claim is supported since 77% is greater than the lower limit + value: Yes, the claim is supported since 70% is greater than the lower limit of the confidence interval. feedback: Try again please! ans2: value: Yes, the claim is supported because the upper limit of the confidence - interval is 66%, which is close to 77%. + interval is 60%, which is close to 70%. feedback: Try again please! ans3: - value: No, the claim is not supported since 77% falls outside the confidence + value: No, the claim is not supported since 70% falls outside the confidence interval. - feedback: Correct! The value of 77% lies outside of the interval, so we + feedback: Correct! The value of 70% lies outside of the interval, so we have convincing evidence that the researcher's conjecture is wrong. ans4: value: No, the claim is not supported because the confidence interval is @@ -75,14 +75,14 @@ myst: would be narrower than a 95% confidence interval. feedback: Correct! A 90% confidence interval will be narrower than a 95% confidence interval. Even without calculating the interval, we can tell - that 77% would not fall in the interval, and we would reject the researcher's + that 70% would not fall in the interval, and we would reject the researcher's conjecture based on a 90% confidence level as well. ans4: value: It cannot be determined without calculating the 90% confidence interval. feedback: Try again please! description: - num1: 58 - num2: 66 + num1: 55 + num2: 60 num3: 95 part1: ans1: @@ -91,7 +91,7 @@ myst: feedback: Try again please! ans2: value: Yes, the claim is supported, but only because the interval is above - 58%, not necessarily indicating a majority. + 55%, not necessarily indicating a majority. feedback: Try again please! ans3: value: Yes, the claim is supported since the entire interval lies above diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_21/5_3_hypothesis_testing_for_a_proportion_q5_21.md b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_21/5_3_hypothesis_testing_for_a_proportion_q5_21.md index 6352fb50..30d2c801 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_21/5_3_hypothesis_testing_for_a_proportion_q5_21.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_21/5_3_hypothesis_testing_for_a_proportion_q5_21.md @@ -55,8 +55,8 @@ myst: vars: title: Minimum wage, Part I description: - num1: 905 - num2: 39 + num1: 929 + num2: 44 part1: ans1: value: '$H_0: p < 0.5$, $H_a: p > 0.5$' @@ -65,7 +65,7 @@ myst: value: '$H_0: p = 0.5$, $H_a: p \neq 0.5$' feedback: Correct! ans3: - value: '$H_0: p = 0.39$, $H_a: p \neq 0.39$' + value: '$H_0: p = 0.44$, $H_a: p \neq 0.44$' feedback: Try again please! ans4: value: '$H_0: p > 0.5$, $H_a: p < 0.5$' @@ -88,7 +88,7 @@ myst: value: p = 0 feedback: Try again please! ans4: - value: p = 0.39 + value: p = 0.44 feedback: Try again please! part4: ans1: diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_23/5_3_hypothesis_testing_for_a_proportion_q5_23.md b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_23/5_3_hypothesis_testing_for_a_proportion_q5_23.md index 97610042..a87c93b8 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_23/5_3_hypothesis_testing_for_a_proportion_q5_23.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_3_hypothesis_testing_for_a_proportion_q5_23/5_3_hypothesis_testing_for_a_proportion_q5_23.md @@ -43,9 +43,9 @@ myst: vars: title: Working backwards, Part I description: - num1: 0.5 - num2: 0.5 - num3: 88 + num1: 0.1 + num2: 0.1 + num3: 98 num4: 0.05 --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_27/5_foundations_for_inference_q5_27.md b/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_27/5_foundations_for_inference_q5_27.md index dcf5d3b8..65bb42fa 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_27/5_foundations_for_inference_q5_27.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_27/5_foundations_for_inference_q5_27.md @@ -43,8 +43,8 @@ myst: vars: title: Relaxing after work part2: - num1: 1238 - moe_comparison: larger + num1: 1140 + moe_comparison: smaller ans1: value: The confidence level of the new interval is the same as the previous interval. @@ -53,43 +53,43 @@ myst: ans2: value: The confidence level of the new interval must be lower than that of the previous interval. - feedback: Try again please! Recall that the width of the confidence interval - increases as the confidence level increases. + feedback: Correct! ans3: value: The confidence level of the new interval must be higher than that of the previous interval. - feedback: Correct! + feedback: Try again please! Recall that the width of the confidence interval + increases as the confidence level increases. ans4: value: The confidence level cannot be determined from the information given. feedback: Try again please! Recall that the width of the confidence interval increases as the confidence level increases. part3: - num1: 663 + num1: 2361 num2: 95 ans1: - value: The new margin of error will be larger, as a smaller sample size - always leads to a larger margin of error. - feedback: Correct! + value: The new margin of error will be larger, as a larger sample size always + leads to a larger margin of error. + feedback: Try again please! Recall that as the sample size increases, the + standard error decreases, which will decrease the margin of error. ans2: value: The new margin of error will be the same, regardless of changes in the sample size. feedback: Try again please! Recall that as the sample size increases, the standard error decreases, which will decrease the margin of error. ans3: - value: The new margin of error will be smaller, as a smaller sample size + value: The new margin of error will be smaller, as a larger sample size leads to a smaller margin of error. - feedback: Try again please! Recall that as the sample size increases, the - standard error decreases, which will decrease the margin of error. + feedback: Correct! ans4: value: The new margin of error cannot be determined without knowing the actual values of the confidence intervals. feedback: Try again please! Recall that as the sample size increases, the standard error decreases, which will decrease the margin of error. description: - num1: 1238 + num1: 1140 num2: 95 - num3: 1.37 - num4: 2.0 + num3: 1.39 + num4: 1.9 part1: ans1: value: The mean number of hours spent relaxing is exactly 1.65 hours. @@ -100,7 +100,7 @@ myst: feedback: Try again please! ans3: value: We are 95% confident that the average time spent relaxing by Americans - falls between 1.37 and 2.0 hours. + falls between 1.39 and 1.9 hours. feedback: Correct! ans4: value: This interval represents the minimum and maximum number of hours diff --git a/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_37/5_foundations_for_inference_q5_37.md b/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_37/5_foundations_for_inference_q5_37.md index abc5da5e..f834bab1 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_37/5_foundations_for_inference_q5_37.md +++ b/content/public/005.Foundations for inference/Topic Outcome/5_foundations_for_inference_q5_37/5_foundations_for_inference_q5_37.md @@ -53,9 +53,9 @@ myst: vars: title: Gender pay gap in medicine part2: - num1: 18 - num2: 20 - num3: 20 + num1: 19 + num2: 21 + num3: 21 ans1: value: Independence feedback: Correct! @@ -63,7 +63,7 @@ myst: value: Success-failure condition feedback: Correct! description: - num1: 20 + num1: 21 part1: ans1: value: 'Null hypothesis: $p > 0.5$. Alternative hypothesis: $p < 0.5$.' @@ -88,20 +88,20 @@ myst: value: '0' feedback: Try again please! ans4: - value: '0.9' + value: '0.905' feedback: Correct! part4: ans1: - value: '0.9' + value: '0.905' feedback: Try again please! ans2: - value: '0.112' + value: '0.109' feedback: Try again please! ans3: value: '0.0001' feedback: Try again please! ans4: - value: '3.57' + value: '3.72' feedback: Correct! part5: ans1: diff --git a/content/public/005.Foundations for inference/Topic Outcome/A5_P1/A5_P1.md b/content/public/005.Foundations for inference/Topic Outcome/A5_P1/A5_P1.md index 46906825..e715df10 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/A5_P1/A5_P1.md +++ b/content/public/005.Foundations for inference/Topic Outcome/A5_P1/A5_P1.md @@ -49,26 +49,26 @@ myst: params: vars: title: A5 P1 - mu: 17 + mu: 15 size: 50 endsize: 51 - exceed: 15 - totaltime: 910 + exceed: 13 + totaltime: 920 part1: ans1: - value: $Exponential(\lambda = 1/17)$ + value: $Exponential(\lambda = 1/15)$ feedback: Please try again. ans2: value: $Standard\ Normal$, i.e. $N(0,1)$ feedback: Please try again. ans3: - value: $Normal(17, 17)$ + value: $Normal(15, 15)$ feedback: Please try again. ans4: - value: $Normal(1/17, 1/17)$ + value: $Normal(1/15, 1/15)$ feedback: Please try again. ans5: - value: $Normal(17, 17/\sqrt{50})$ + value: $Normal(15, 15/\sqrt{50})$ feedback: Correct! --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/A5_P2/A5_P2.md b/content/public/005.Foundations for inference/Topic Outcome/A5_P2/A5_P2.md index e40cab7d..4ebccd79 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/A5_P2/A5_P2.md +++ b/content/public/005.Foundations for inference/Topic Outcome/A5_P2/A5_P2.md @@ -36,9 +36,9 @@ myst: params: vars: title: A5 P2 - mu: 5.2 - sigma: 1.43 - percent: 95 + mu: 5.7 + sigma: 1.4 + percent: 96 time: 19 --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/A5_P3/A5_P3.md b/content/public/005.Foundations for inference/Topic Outcome/A5_P3/A5_P3.md index 4fd96c22..36862c92 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/A5_P3/A5_P3.md +++ b/content/public/005.Foundations for inference/Topic Outcome/A5_P3/A5_P3.md @@ -40,11 +40,11 @@ myst: params: vars: title: A5 P3 - mu: 4.2 - sigma: 2.8 - size: 217 - percent: 98 - percent2: 99 + mu: 4.5 + sigma: 3.3 + size: 219 + percent: 95 + percent2: 96 part2: ans1: value: bigger diff --git a/content/public/005.Foundations for inference/Topic Outcome/A5_P5/A5_P5.md b/content/public/005.Foundations for inference/Topic Outcome/A5_P5/A5_P5.md index a82a2d25..cd3fef95 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/A5_P5/A5_P5.md +++ b/content/public/005.Foundations for inference/Topic Outcome/A5_P5/A5_P5.md @@ -86,43 +86,43 @@ myst: params: vars: title: A5 P5 - mu: 3692.8 - X_bar: 3383.2 - sigma: 952 - size: 13 - alpha: 0.1 - percent: 90 + mu: 3859.0 + X_bar: 3128.1 + sigma: 951 + size: 11 + alpha: 0.05 + percent: 95 part3: ans1: - value: '$H_0: \mu = 3692.8$' + value: '$H_0: \mu = 3859.0$' feedback: Correct! ans2: - value: '$H_0: \mu = 3383.2$' + value: '$H_0: \mu = 3128.1$' feedback: Try again please! ans3: - value: '$H_0: \bar{x} = 3383.2$' + value: '$H_0: \bar{x} = 3128.1$' feedback: The hypothesis should be stated in terms of population parameters ans4: - value: '$H_A: \mu = 3692.8$' + value: '$H_A: \mu = 3859.0$' feedback: Pay attention to the subscript of H ans5: - value: '$H_0: \mu \lt 3692.8$' + value: '$H_0: \mu \lt 3859.0$' feedback: Try again please! part4: ans1: - value: '$H_A: \mu \neq 3692.8$' + value: '$H_A: \mu \neq 3859.0$' feedback: Try again please! ans2: - value: '$H_A: \mu \lt 3692.8$' + value: '$H_A: \mu \lt 3859.0$' feedback: Correct! ans3: - value: '$H_A: \mu \le 3692.8$' + value: '$H_A: \mu \le 3859.0$' feedback: Typically the equality is captured in the null hypothesis ans4: - value: '$H_0: \mu \lt 3692.8$' + value: '$H_0: \mu \lt 3859.0$' feedback: Pay attention to the subscript of H ans5: - value: '$H_A: \bar{x} \lt 3692.8$' + value: '$H_A: \bar{x} \lt 3859.0$' feedback: The hypothesis should be stated in terms of population parameters part5: ans1: @@ -139,10 +139,10 @@ myst: feedback: Try again please! ans5: value: $-1.282$ - feedback: Correct! + feedback: Try again please! ans6: value: $-1.645$ - feedback: Try again please! + feedback: Correct! ans7: value: $-1.96$ feedback: Try again please! @@ -154,10 +154,10 @@ myst: value: $\operatorname{N}(0,1)$ (Standard Normal) feedback: Correct! ans2: - value: $\operatorname{N}(3692.8, 952)$ + value: $\operatorname{N}(3859.0, 951)$ feedback: Try again please! ans3: - value: $\operatorname{N}(3692.8, 952/\sqrt{13})$ + value: $\operatorname{N}(3859.0, 951/\sqrt{11})$ feedback: Try again please! ans4: value: $t_{n-1}$ @@ -171,10 +171,10 @@ myst: feedback: Please try again. ans2: value: Reject the null hypothesis in favor of the alternative hypothesis - feedback: Please try again. + feedback: Correct! ans3: value: Fail to reject the null hypothesis - feedback: Correct! + feedback: Please try again. ans4: value: Accept the alternative hypothesis feedback: Please try again. @@ -184,19 +184,19 @@ myst: part11: ans1: value: There is sufficient evidence to suggest that the average caloric - intake of elite male athletes is less than 3692.8 kcal/d. - feedback: Please try again. + intake of elite male athletes is less than 3859.0 kcal/d. + feedback: Correct! ans2: value: There is sufficient evidence to suggest that the average caloric - intake of elite male athletes is different than 3692.8 kcal/d. + intake of elite male athletes is different than 3859.0 kcal/d. feedback: Please try again. ans3: value: There is insufficient evidence to suggest that the average caloric - intake of elite male athletes is less than 3692.8 kcal/d. - feedback: Correct! + intake of elite male athletes is less than 3859.0 kcal/d. + feedback: Please try again. ans4: value: There is sufficient evidence to prove that the average caloric intake - of elite male athletes is less than 3692.8 kcal/d. + of elite male athletes is less than 3859.0 kcal/d. feedback: Please try again. --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/Topic Outcome/A6_P1/A6_P1.md b/content/public/005.Foundations for inference/Topic Outcome/A6_P1/A6_P1.md index 27f3fa2e..b54dbec6 100644 --- a/content/public/005.Foundations for inference/Topic Outcome/A6_P1/A6_P1.md +++ b/content/public/005.Foundations for inference/Topic Outcome/A6_P1/A6_P1.md @@ -95,11 +95,11 @@ myst: params: vars: title: A6 P1 - n: 51 - sigma: 25 + n: 56 + sigma: 18 mu_null: 157 - alpha: 0.05 - mu_true: 153 + alpha: 0.08 + mu_true: 166 --- # {{ params.vars.title }} Suppose we are sampling {{ params.n }} observations from a normally distributed population where it is known that $\sigma$ = {{ params.sigma }}, but $\mu$ is unknown. We wish to test $H_0: \mu = {{ params.mu_null }}$ against $H_1: \mu \neq {{ params.mu_null }}$ at $\alpha = {{ params.alpha }}$. Suppose, in reality, the null hypothesis is false and $\mu = {{ params.mu_true }}$. diff --git a/content/public/005.Foundations for inference/openstax_C8_Q13_to_Q22/openstax_C8_Q13_to_Q22.md b/content/public/005.Foundations for inference/openstax_C8_Q13_to_Q22/openstax_C8_Q13_to_Q22.md index efe7c36b..9749c339 100644 --- a/content/public/005.Foundations for inference/openstax_C8_Q13_to_Q22/openstax_C8_Q13_to_Q22.md +++ b/content/public/005.Foundations for inference/openstax_C8_Q13_to_Q22/openstax_C8_Q13_to_Q22.md @@ -91,19 +91,19 @@ myst: params: vars: title: Weight of Heads of Lettuce - x_bar: 2.5 - sigma: 0.26 - sample_stdev: 0.25 - sample_size: 22 - other_sample_size: 11.0 - alpha1: 0.1 - confidence1: 90 - z_score1: 1.645 - alpha2: 0.05 - confidence2: 95 - z_score2: 1.96 - part6_confidence: 95 - part6_z_score: 1.96 + x_bar: 2.4 + sigma: 0.14 + sample_stdev: 0.18 + sample_size: 20 + other_sample_size: 10.0 + alpha1: 0.02 + confidence1: 98 + z_score1: 2.33 + alpha2: 0.1 + confidence2: 90 + z_score2: 1.645 + part6_confidence: 90 + part6_z_score: 1.645 part4: option1: value: The mean weight of a head of lettuce. @@ -114,18 +114,18 @@ myst: matches: The weight of a head of lettuce. statement2: value: $\bar{X}$ - matches: The mean weight of a sample of 22 heads of lettuce. + matches: The mean weight of a sample of 20 heads of lettuce. part7: option1: value: $\text{CL} = 99\%$ option2: - value: $\text{CL} = 98\%$ + value: $\text{CL} = 95\%$ statement1: value: CI 1 - matches: $\text{CL} = 90\%$ + matches: $\text{CL} = 98\%$ statement2: value: CI 2 - matches: $\text{CL} = 95\%$ + matches: $\text{CL} = 90\%$ part8: ans1: value: The interval is larger because the level of confidence decreased. @@ -142,14 +142,14 @@ myst: in smaller areas and smaller intervals. feedback: Please try again! ans3: - value: The interval is greater because the level of confidence increased. + value: The interval is smaller because the level of confidence decreased. If the only change made in the analysis is a change in confidence level, then all we are doing is changing how much area is being calculated for the normal distribution. Therefore, a larger confidence level results in larger areas and larger intervals. feedback: Please try again! ans4: - value: The interval is smaller because the level of confidence decreased. + value: The interval is greater because the level of confidence increased. If the only change made in the analysis is a change in confidence level, then all we are doing is changing how much area is being calculated for the normal distribution. Therefore, a larger confidence level results @@ -173,12 +173,12 @@ myst: option6: value: The sample size would decrease. statement1: - value: What would happen if 11.0 heads of lettuce were sampled instead of - 22, and the error bound remained the same? + value: What would happen if 10.0 heads of lettuce were sampled instead of + 20, and the error bound remained the same? matches: CL-Decrease statement2: - value: What would happen if 11.0 heads of lettuce were sampled instead of - 22, and the confidence level remained the same? + value: What would happen if 10.0 heads of lettuce were sampled instead of + 20, and the confidence level remained the same? matches: EBM-Increase --- # {{ params.vars.title }} diff --git a/content/public/005.Foundations for inference/openstax_C8_Q23_to_Q37/openstax_C8_Q23_to_Q37.md b/content/public/005.Foundations for inference/openstax_C8_Q23_to_Q37/openstax_C8_Q23_to_Q37.md index 71e8d88a..b5ff3209 100644 --- a/content/public/005.Foundations for inference/openstax_C8_Q23_to_Q37/openstax_C8_Q23_to_Q37.md +++ b/content/public/005.Foundations for inference/openstax_C8_Q23_to_Q37/openstax_C8_Q23_to_Q37.md @@ -126,22 +126,22 @@ myst: params: vars: title: Foothill College Student Age - x_bar: 30.1 - sigma: 14.9 - sample_size: 32 - alpha: 0.01 - alpha_one_tail: 0.005 - confidence: 99 - z_score: 2.58 - ebm: 6.795649720593315 - fake_sample_size: 16 - fake_confidence: 90 + x_bar: 31.6 + sigma: 15.6 + sample_size: 34 + alpha: 0.1 + alpha_one_tail: 0.05 + confidence: 90 + z_score: 1.645 + ebm: 4.4009966919270616 + fake_sample_size: 17 + fake_confidence: 95 part4: ans1: - value: The mean age of a sample of 32 Foothill College Students + value: The mean age of a sample of 34 Foothill College Students feedback: Nice work! ans2: - value: The most frequent age of a sample of 32 Foothill College Students + value: The most frequent age of a sample of 34 Foothill College Students feedback: Please try again ans3: value: The mean age of all Foothill College Students @@ -160,22 +160,22 @@ myst: part12: option1: name: alpha-correct - value: $\frac{\alpha}{2} = 0.005$ + value: $\frac{\alpha}{2} = 0.05$ option2: - value: $\alpha = 0.01$ + value: $\alpha = 0.1$ option3: - value: $\alpha = 0.005$ + value: $\alpha = 0.05$ option4: - value: $\frac{\alpha}2 = 0.01$ + value: $\frac{\alpha}2 = 0.1$ option5: - value: '0.99' + value: '0.95' option6: - value: 99% + value: 90% option7: - value: '6.80' + value: '4.40' statement1: value: a? - matches: '0.99' + matches: '0.90' statement2: value: b? matches: alpha-correct @@ -184,29 +184,29 @@ myst: matches: alpha-correct statement4: value: d? - matches: '23.30' + matches: '27.20' statement5: value: e? - matches: '30.10' + matches: '31.60' statement6: value: f? - matches: '36.90' + matches: '36.00' part13: ans1: - value: We are 99% confident that the true mean age for Winter Foothill College + value: We are 90% confident that the true mean age for Winter Foothill College students is between (lower_bound) and (upper_bound). feedback: Nice work! ans2: - value: We are 99% confident that the true mean age for Winter Foothill College + value: We are 90% confident that the true mean age for Winter Foothill College students is no less than (lower_bound). feedback: Please try again! ans3: - value: We are 99% confident that the true mean age for Winter Foothill College + value: We are 90% confident that the true mean age for Winter Foothill College students is no more than (upper_bound). feedback: Please try again! ans4: - value: We are 99% confident that the true mean age for Winter Foothill College - students is 30.1. + value: We are 90% confident that the true mean age for Winter Foothill College + students is 31.6. feedback: Please try again! ans5: value: The true mean age for Winter Foothill College students is between @@ -246,12 +246,12 @@ myst: value: The error bound for the mean would decrease because as the CL decreases, you need less area under the normal curve (which translates into a smaller interval) to capture the true population mean. - feedback: Nice work! + feedback: Please try again! ans2: value: The error bound for the mean would increase because as the CL increases, you need more area under the normal curve (which translates into a larger interval) to capture the true population mean. - feedback: Please try again! + feedback: Nice work! ans3: value: The error bound for the mean would decrease because as the CL decreases, you need more area under the normal curve (which translates into a larger diff --git a/content/public/005.Foundations for inference/openstax_C8_Q6_to_Q12/openstax_C8_Q6_to_Q12.md b/content/public/005.Foundations for inference/openstax_C8_Q6_to_Q12/openstax_C8_Q6_to_Q12.md index f8cc99b0..04dbbeed 100644 --- a/content/public/005.Foundations for inference/openstax_C8_Q6_to_Q12/openstax_C8_Q6_to_Q12.md +++ b/content/public/005.Foundations for inference/openstax_C8_Q6_to_Q12/openstax_C8_Q6_to_Q12.md @@ -81,13 +81,13 @@ myst: vars: title: Census Form Length x_bar: 8.2 - sigma: 1.9 - sample_size: 225 - other_sample_size: 375 - alpha: 0.05 - confidence: 95 - z_score: 1.96 - graph_z_score: 1.96 + sigma: 2.2 + sample_size: 215 + other_sample_size: 65 + alpha: 0.1 + confidence: 90 + z_score: 1.645 + graph_z_score: 1.645 higher_confidence: 99 higher_z_score: 2.58 part5: @@ -102,12 +102,12 @@ myst: value: The level of confidence would decrease because decreasing $n$ makes the confidence interval wider, so at the same error bound, the confidence level decreases. - feedback: Try again please! + feedback: Correct! ans2: value: The level of confidence would increase because increasing $n$ makes the confidence interval smaller, so at the same error bound, the confidence level increases. - feedback: Correct! + feedback: Try again please! ans3: value: The level of confidence would increase because decreasing $n$ makes the confidence interval smaller, so at the same error bound, the confidence diff --git a/content/public/005.Foundations for inference/openstax_C9_Q41_to_Q47/C9_Q42_to_Q47.md b/content/public/005.Foundations for inference/openstax_C9_Q41_to_Q47/C9_Q42_to_Q47.md new file mode 100644 index 00000000..227fb211 --- /dev/null +++ b/content/public/005.Foundations for inference/openstax_C9_Q41_to_Q47/C9_Q42_to_Q47.md @@ -0,0 +1,179 @@ +--- +title: First Time Jail Conviction +topic: Foundations for inference +author: Larita Kipkeu +source: original +template_version: 1.4 +attribution: openstax-stats-2e +partialCredit: true +singleVariant: false +showCorrectAnswer: false +outcomes: +- 5.1.1.6 +- 5.1.1.7 +difficulty: +- medium +randomization: +- undefined +taxonomy: +- undefined +span: +- undefined +length: +- undefined +tags: +- LK +assets: null +part1: + type: multiple-choice + pl-customizations: + weight: 1 +part2: + type: multiple-choice + pl-customizations: + weight: 1 +part3: + type: number-input + pl-customizations: + comparison: decdig + digits: 1 + weight: 1 + allow-blank: false + label: $\bar{x} =$ +part4: + type: number-input + pl-customizations: + comparison: decdig + digits: 1 + weight: 1 + allow-blank: false + label: $\sigma =$ +part5: + type: number-input + pl-customizations: + comparison: decdig + digits: 1 + weight: 1 + allow-blank: false + label: $s_{x} =$ +part6: + type: number-input + pl-customizations: + comparison: decdig + digits: 1 + weight: 1 + allow-blank: false + label: $\text{n} =$ +part7: + type: multiple-choice + pl-customizations: + weight: 1 +myst: + substitutions: + params: + vars: + title: First Time Jail Conviction + part1: + ans1: + value: means + feedback: You got it! + ans2: + value: proportions + feedback: Try Again! + ans3: + value: standard deviations + feedback: Try Again! + ans4: + value: variances + feedback: Try Again! + part2: + ans1: + value: The mean time spent in jail for 3.1 first time convicted burglars. + feedback: You got it! + ans2: + value: The total time spent in jail for first time convicted burglars. + feedback: Try Again! + ans3: + value: The proportion of the time spent in jail for 3.1 first time convicted + burglars. + feedback: Try Again! + ans4: + value: The mean time spent in jail for 1.7 first time convicted burglars. + feedback: Try Again! + part7: + ans1: + value: $\operatorname{N}(1.55, \frac{1.55}{\sqrt{16.0}})$ + feedback: Try Again! + ans2: + value: $\operatorname{N}(3.1, \frac{1.7}{\sqrt{32}})$ + feedback: You got it! + ans3: + value: $\operatorname{B}(3.1, \frac{3.1}{\sqrt{32}})$ + feedback: Try Again! + ans4: + value: $\operatorname{N}(0,1)$ (Standard Normal) + feedback: Try Again! + mean: 3.1 + sd: 1.9 + pop_sd: 1.7 + n: 32 +--- +# {{ params.vars.title }} +Suppose that a recent article stated that the mean time spent in jail by a first-time convicted burglar is {{params.mean}} years. A study was then done to see if the mean time has increased in the new century. A random sample of {{params.n}} first-time convicted burglars in a recent year was picked. The mean length of time in jail from the survey was three years with a standard deviation of {{params.sd}} years. Suppose that it is somehow known that the population standard deviation is {{params.pop_sd}}, conduct a hypothesis test to determine if the mean length of jail time has increased. + +Assume the distribution of the jail times is approximately normal. + +## Part 1 + +The above test is of: + +### Answer Section + +- {{ params.part1.ans1.value }} +- {{ params.part1.ans2.value }} +- {{ params.part1.ans3.value }} +- {{ params.part1.ans4.value }} + +## Part 2 + +Define the random variable for this test. + +### Answer Section + +- {{ params.part2.ans1.value }} +- {{ params.part2.ans2.value }} +- {{ params.part2.ans3.value }} +- {{ params.part2.ans4.value }} + +## Part 3 + +Calculate the following: + +### Answer Section + +## Part 4 + +### Answer Section + +## Part 5 + +### Answer Section + +## Part 6 + +### Answer Section + +## Part 7 + +State the distribution to use for the hypothesis test. + +### Answer Section + +- {{ params.part7.ans1.value }} +- {{ params.part7.ans2.value }} +- {{ params.part7.ans3.value }} +- {{ params.part7.ans4.value }} + +## Attribution + +Problem is from the [OpenStax Introductory Statistics 2e](https://openstax.org/books/introductory-statistics-2e) textbook, licensed under the [CC-BY 4.0 license](https://creativecommons.org/licenses/by/4.0/).
![Image representing the Creative Commons 4.0 BY license.](https://raw.githubusercontent.com/firasm/bits/master/by.png) \ No newline at end of file diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q611/60-61-inference-for-a-single-proportion-q611.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q611/60-61-inference-for-a-single-proportion-q611.md index 36263c9d..7483841d 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q611/60-61-inference-for-a-single-proportion-q611.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q611/60-61-inference-for-a-single-proportion-q611.md @@ -72,14 +72,14 @@ myst: params: vars: title: National Health Plan, Part I - sample_size: 606 - sample_proportion: 61 + sample_size: 570 + sample_proportion: 54 part1: ans1: - value: '$H_0: p = 0.61$, $H_A: p ≠ 0.5$' + value: '$H_0: p = 0.54$, $H_A: p ≠ 0.5$' feedback: Try again please! ans2: - value: '$H_0: p = 0.61$, $H_A: p = 0.5$' + value: '$H_0: p = 0.54$, $H_A: p = 0.5$' feedback: Try again please! ans3: value: '$H_0: p ≤ 0.5$, $H_A: p > 0.5$' @@ -102,32 +102,30 @@ myst: evidence that the support is different from 0.5, and since the data provide a point estimate above 0.5, we have strong evidence to support this claim by the TV pundit. - feedback: Correct! + feedback: Try again please! ans2: value: Since the p-value is greater than or equal to 0.05, we fail to reject $H_0$. We do not have strong evidence that the support is different from 0.5, and since the data provide a point estimate above 0.5, we do not have strong evidence to support this claim by the TV pundit. - feedback: Try again please! + feedback: Correct! part7: ans1: - value: Yes. Since 61% of Independents support the plan, the confidence interval - is likely to include 0.5 as well, showing a balanced opinion among Independents. + value: No. Since 54% of Independents support the plan, the confidence interval + is unlikely to include 0.5, indicating an unbalanced opinion among Independents. feedback: Try again please! ans2: value: Maybe. It's difficult to determine without knowing the sample size and margin of error used in the poll. feedback: Try again please! ans3: - value: No. Generally, we expect a hypothesis test and a confidence interval - to align, so we would expect the confidence interval to show a range of - plausible values entirely above 0.5. However, if the confidence level - is misaligned (e.g., a 99% confidence level and a α = 0.05 significance - level), then this is no longer generally true. + value: Yes, you would expect the value to lie within a 95% confidence interval + since the confidence interval and the hypothesis test should generally + align. feedback: Correct! ans4: - value: No. The percentage of Independents supporting the plan is too low - to have any impact on the confidence interval. + value: Yes. The percentage of Independents supporting the plan is sufficiently + high to have a significant impact on the confidence interval. feedback: Try again please! --- # {{ params.vars.title }} diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q613/60-61-inference-for-a-single-proportion-q613.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q613/60-61-inference-for-a-single-proportion-q613.md index 04fc37c7..23c5c2dc 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q613/60-61-inference-for-a-single-proportion-q613.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q613/60-61-inference-for-a-single-proportion-q613.md @@ -66,14 +66,14 @@ myst: params: vars: title: Taste Test - sample: 94 - p_value: 0.03912759535568755 + sample: 90 + p_value: 0.6732899796599954 part1: ans1: - value: '$H_0: p = 0.61$, $H_A: p ≠ 0.5$' + value: '$H_0: p = 0.52$, $H_A: p ≠ 0.5$' feedback: Try again please! ans2: - value: '$H_0: p = 0.61$, $H_A: p = 0.5$' + value: '$H_0: p = 0.52$, $H_A: p = 0.5$' feedback: Try again please! ans3: value: '$H_0: p = 0.5$, $H_A: p ≠ 0.5$' @@ -84,18 +84,18 @@ myst: part2: ans1: value: Since this is a random sample, independence is satisfied. The success-failure - condition is also satisfied as we (using $p_0 = 0.5$, we expect 47 successes - and 47 failures). + condition is also satisfied as we (using $p_0 = 0.5$, we expect 45 successes + and 45 failures). feedback: Correct! ans2: value: Since this is a random sample, independence is satisfied. The success-failure - condition is not satisfied, as our expectation of 47 successes and 47 + condition is not satisfied, as our expectation of 45 successes and 45 failures, using $p_0 = 0.5$, is not met. feedback: Try again please! ans3: value: Given this is not a random sample, independence is not satisfied. The success-failure condition is also satisfied as we (using $p_0 = 0.5$, - we expect 47 successes and 47 failures). + we expect 45 successes and 45 failures). feedback: Try again please! part5: ans1: @@ -103,14 +103,14 @@ myst: we rejected $H_0$ and the point estimate suggests people are better than random guessing, we can conclude the rate of correctly identifying a soda for these people is significantly better than just by random guessing. - feedback: Correct! + feedback: Try again please! ans2: value: Since the p-value $≥ 0.05$, we fail to reject the null hypothesis. Since we did not reject $H_0$ and the point estimate suggests people are not better than random guessing, we cannot conclude that the rate of correctly identifying a soda for these people is significantly better than just by random guessing. - feedback: Try again please! + feedback: Correct! --- # {{ params.vars.title }} Some people claim that they can tell the difference between a diet soda and a regular soda in the first sip. A researcher wanting to test this claim randomly sampled {{ params.vars.sample }} such people. He then filled {{ params.vars.sample }} plain white cups with soda, half diet and half regular through random assignment, and asked each person to take one sip from their cup and identify the soda as diet or regular. {{ params.vars.num_correct_identifications }} participants correctly identified the soda. Do these data provide strong evidence that these people are any better or worse than random guessing at telling the difference between diet and regular soda? Yes or No? diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q615/60-61-inference-for-a-single-proportion-q615.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q615/60-61-inference-for-a-single-proportion-q615.md index b20a4683..f50acaf5 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q615/60-61-inference-for-a-single-proportion-q615.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q615/60-61-inference-for-a-single-proportion-q615.md @@ -35,12 +35,12 @@ myst: params: vars: title: National Health Plan, Part II - p_hat: 0.6 - p_hat_percent: 60.0 + p_hat: 0.7 + p_hat_percent: 70.0 margin_of_error_percent: 1.0 - z_score: 1.6449 - confidence: 90 - n: 6494 + z_score: 2.3263 + confidence: 98 + n: 11365 --- # {{ params.vars.title }} A Kaiser Family Foundation poll for US adults in 2019 reported varying levels of support for a generic "National Health Plan" among different political affiliations. For Independents, it was found that approximately {{ params.vars.p_hat_percent }}% supported the plan. diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q63/60-61-inference-for-a-single-proportion-q63.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q63/60-61-inference-for-a-single-proportion-q63.md index b29132b6..3b11857d 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q63/60-61-inference-for-a-single-proportion-q63.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q63/60-61-inference-for-a-single-proportion-q63.md @@ -51,8 +51,8 @@ myst: title: Orange tabbies sample_size1: 30 times: 4 - sample_size3: 36 - sample_size4: 163 + sample_size3: 39 + sample_size4: 160 part1: ans1: value: 'True' diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q65/60-61-inference-for-a-single-proportion-q65.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q65/60-61-inference-for-a-single-proportion-q65.md index b053a3c3..09327f15 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q65/60-61-inference-for-a-single-proportion-q65.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q65/60-61-inference-for-a-single-proportion-q65.md @@ -52,20 +52,18 @@ myst: params: vars: title: Gender equality - sample_size: 1347 - proportion: 38.0 - margin_of_error: 2.59 - lower_bound: 35.41 - upper_bound: 40.59 - margin_of_error_part4: 1.296 - selected_option1: If the sample size were increased from 1559 Americans to - 5000 Americans while keeping the confidence level and margin of error unchanged, - the width of the confidence intervals would decrease. This would lead to - a higher percentage of intervals that include the true population proportion - in comparison to the initial scenario with 1559 Americans. - selected_option2: The margin of error is influenced by both the sample size - and the variability of the data. Larger sample sizes and lower variability - lead to smaller margins of error. + sample_size: 1944 + proportion: 22.0 + margin_of_error: 1.84 + lower_bound: 20.16 + upper_bound: 23.84 + margin_of_error_part4: 0.921 + selected_option1: If we considered many random samples of 1944 Americans, + and we calculated 95% confidence intervals for each, 95% of these intervals + would include the true population proportion of Americans who think it's + the government's responsibility to promote equality between men and women. + selected_option2: Doubling the sample size will halve the margin of error, + regardless of the initial sample size and confidence level. part1: ans1: value: 'True' diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q67/60-61-inference-for-a-single-proportion-q67.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q67/60-61-inference-for-a-single-proportion-q67.md index d39c72e8..d15662ef 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q67/60-61-inference-for-a-single-proportion-q67.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q67/60-61-inference-for-a-single-proportion-q67.md @@ -37,11 +37,11 @@ myst: params: vars: title: Fireworks on July 4th - margin_of_error: 0.0386 - margin_of_error_percent: 3.86 - proportion: 68.0 - p: 0.68 - n: 561 + margin_of_error: 0.04279 + margin_of_error_percent: 4.279 + proportion: 58.0 + p: 0.58 + n: 511 z: 1.96 --- # {{ params.vars.title }} diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q69/60-61-inference-for-a-single-proportion-q69.md b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q69/60-61-inference-for-a-single-proportion-q69.md index 37e8d128..64a1382d 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q69/60-61-inference-for-a-single-proportion-q69.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-61-inference-for-a-single-proportion-q69/60-61-inference-for-a-single-proportion-q69.md @@ -69,13 +69,13 @@ myst: params: vars: title: Study abroad - n: 1395 - p: 54.0 - confidence_level: 98.0 - lower_bound: 0.509 - lower_bound_percent: 51 - upper_bound: 0.571 - upper_bound_percent: 57 + n: 1455 + p: 58.0 + confidence_level: 95.0 + lower_bound: 0.5546 + lower_bound_percent: 55 + upper_bound: 0.6054 + upper_bound_percent: 61 part1: ans1: value: Yes. The sample is a perfect representation of all high school seniors. @@ -93,19 +93,19 @@ myst: feedback: Correct! part5: ans1: - value: 98% confidence means that if we repeated this survey 100 times, 98 + value: 95% confidence means that if we repeated this survey 100 times, 95 of the results would fall within this interval. feedback: Incorrect. ans2: - value: 98% confidence means that we are 98% certain that the true proportion + value: 95% confidence means that we are 95% certain that the true proportion is within this interval. feedback: Incorrect. ans3: - value: 98% confidence means that 98% of the time the true proportion will + value: 95% confidence means that 95% of the time the true proportion will fall within this interval. feedback: Incorrect. ans4: - value: 98% of such random samples would produce a 98% confidence interval + value: 95% of such random samples would produce a 95% confidence interval that includes the true proportion. feedback: Correct! part6: diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q617/60-62-difference-of-two-proportions-q617.md b/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q617/60-62-difference-of-two-proportions-q617.md index 42b52aa0..40664f45 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q617/60-62-difference-of-two-proportions-q617.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q617/60-62-difference-of-two-proportions-q617.md @@ -36,12 +36,12 @@ myst: params: vars: title: Social experiment, Part I - inter_provoc: 10 + inter_provoc: 5 non_inter_provoc: 17 - total_provoc: 27 - inter_cons: 20 - non_inter_cons: 13 - total_cons: 33 + total_provoc: 22 + inter_cons: 17 + non_inter_cons: 14 + total_cons: 31 part1: ans1: value: This is not a randomized experiment, and it is unclear whether people @@ -53,10 +53,10 @@ myst: ans3: value: There are not enough interventions under the provocative scenario, so the success-failure condition does not hold. - feedback: Incorrect! + feedback: Correct! ans4: value: The success-failure condition is not being satisfied. - feedback: Incorrect! + feedback: Correct! ans5: value: This is a randomized experiment, and it is clear that people would be affected by the behavior of their peers. @@ -67,12 +67,10 @@ myst: ans7: value: There are sufficient interventions under all of the scenarios, so the success-failure condition holds. - feedback: Incorrect! While this is true, it does not justify why the Central - Limit Theorem does not hold. + feedback: Incorrect! ans8: value: The success-failure condition is being satisfied. - feedback: Incorrect! While this is true, it does not justify why the Central - Limit Theorem does not hold. + feedback: Incorrect! --- # {{ params.vars.title }} A "social experiment" conducted by a TV program questioned what people do when they see a very obviously bruised woman getting picked on by her boyfriend. On two different occasions at the same restaurant, the same couple was depicted. In one scenario the woman was dressed "provocatively" and in the other scenario the woman was dressed "conservatively". The table below shows how many restaurant diners were present under each scenario, and whether or not they intervened. diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q619/60-62-difference-of-two-proportions-q619.md b/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q619/60-62-difference-of-two-proportions-q619.md index 28839783..f3988c58 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q619/60-62-difference-of-two-proportions-q619.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q619/60-62-difference-of-two-proportions-q619.md @@ -51,10 +51,10 @@ myst: part1: ans1: value: 'False' - feedback: Correct! + feedback: Not all of the confidence interval is above 0. ans2: value: 'True' - feedback: The entire confidence interval is above 0. + feedback: Correct! part2: ans1: value: 'True' @@ -81,18 +81,18 @@ myst: part5: ans1: value: 'False' - feedback: 'It is simply the negated and reordered values: (0.12, 0.16).' + feedback: 'It is simply the negated and reordered values: (-0.01, 0.07).' ans2: value: 'True' feedback: Incorrect! - lower_bound_percent_abs: 16.0 - upper_bound_percent_abs: 12.0 - lower_bound_percent_abs_p2: 12.0 - upper_bound_percent_abs_p2: 16.0 - lower_bound: -0.16 - upper_bound: -0.12 - male_sample_size: 1755 - female_sample_size: 3672 + lower_bound_percent_abs: 7.0 + upper_bound_percent_abs: 1.0 + lower_bound_percent_abs_p2: 1.0 + upper_bound_percent_abs_p2: 7.0 + lower_bound: -0.07 + upper_bound: 0.01 + male_sample_size: 1550 + female_sample_size: 3181 --- # {{ params.vars.title }} A study asked {{ params.male_sample_size }} male and {{ params.female_sample_size }} female undergraduate college students their favorite color. A 95% confidence interval for the difference between the proportions of males and females whose favorite color is black $(p\_{male} - p\_{female})$ was calculated to be ({{ params.lower_bound }}, {{ params.upper_bound }}). diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q623/60-62-difference-of-two-proportions-q623.md b/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q623/60-62-difference-of-two-proportions-q623.md index 0e584f59..1545c8f8 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q623/60-62-difference-of-two-proportions-q623.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-62-difference-of-two-proportions-q623/60-62-difference-of-two-proportions-q623.md @@ -145,14 +145,14 @@ myst: not have an opinion on this issue is different from that of non-college graduates. feedback: Try again please! - yes_support: 149 - yes_oppose: 190 - yes_do_not_know: 92 - yes_total: 431 - no_support: 128 - no_oppose: 139 - no_do_not_know: 134 - no_total: 401 + yes_support: 154 + yes_oppose: 178 + yes_do_not_know: 101 + yes_total: 433 + no_support: 140 + no_oppose: 119 + no_do_not_know: 140 + no_total: 399 total: 832 --- # {{ params.vars.title }} diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q643/60-64-testing-for-independence-in-two-ways-q643.md b/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q643/60-64-testing-for-independence-in-two-ways-q643.md index 3c3ef134..58ffd951 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q643/60-64-testing-for-independence-in-two-ways-q643.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q643/60-64-testing-for-independence-in-two-ways-q643.md @@ -61,12 +61,12 @@ myst: params: vars: title: College smokers - n: 155 - x: 37 - CI_low: 17.16 - CI_high: 30.582 - n_new: 1746.0 - ME_description: 2 + n: 294 + x: 82 + CI_low: 22.765 + CI_high: 33.017 + n_new: 859.0 + ME_description: 3 --- # {{ params.vars.title }} We are interested in estimating the proportion of students at a university who smoke. Out of a random sample of {{ params.vars.n }} students from this university, {{ params.vars.x }} students smoke. diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q645/60-64-testing-for-independence-in-two-ways-q645.md b/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q645/60-64-testing-for-independence-in-two-ways-q645.md index d613f1ac..e7379253 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q645/60-64-testing-for-independence-in-two-ways-q645.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q645/60-64-testing-for-independence-in-two-ways-q645.md @@ -90,12 +90,12 @@ myst: params: vars: title: Life after college - ci_low_part4: 0.9137339329057677 - ci_high_part4: 0.9619137354880147 - ci_low_part4_percent: 91 - ci_high_part4_percent: 96 - ci_low_part8: 0.9061628210714145 - ci_high_part8: 0.9694848473223678 + ci_low_part4: 0.6994560727142143 + ci_high_part4: 0.7917719974612243 + ci_low_part4_percent: 70 + ci_high_part4_percent: 79 + ci_low_part8: 0.6849492845396842 + ci_high_part8: 0.8062787856357544 part1: ans1: value: Proportion of graduates from this university who found a job within @@ -113,19 +113,19 @@ myst: one year of graduating. feedback: Correct! description: - num1: 362 - num2: 386 - num3: 4675 + num1: 255 + num2: 342 + num3: 4747 part3: ans1: value: This is not a random sample, so the observations are not independent. feedback: Incorrect. ans2: - value: 'The success-failure condition is not satisfied: 362 successes, 24 + value: 'The success-failure condition is not satisfied: 255 successes, 87 failures, both below 10.' feedback: Incorrect. ans3: - value: 'The success-failure condition is satisfied: 362 successes, 24 failures, + value: 'The success-failure condition is satisfied: 255 successes, 87 failures, both well above 10.' feedback: Correct! ans4: diff --git a/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q649/60-64-testing-for-independence-in-two-ways-q649.md b/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q649/60-64-testing-for-independence-in-two-ways-q649.md index e1558624..f790a1ed 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q649/60-64-testing-for-independence-in-two-ways-q649.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/60-64-testing-for-independence-in-two-ways-q649/60-64-testing-for-independence-in-two-ways-q649.md @@ -74,18 +74,18 @@ myst: vars: title: Browsing on the mobile device. chinese_proportion: 0.38 - sample_size: 2106 - sample_proportion: 6.0 - Z: -30.25460719240498 - p_value: 4.537817448224462e-201 - lower_bound: 0.04985699966279918 - upper_bound: 0.0701430003372008 + sample_size: 2404 + sample_proportion: 20.0 + Z: -18.182437093957496 + p_value: 7.110252830008291e-74 + lower_bound: 0.18400998647761913 + upper_bound: 0.2159900135223809 part1: ans1: - value: '$H_0: p = 0.06$, $H_A: p ≠ 0.38$' + value: '$H_0: p = 0.2$, $H_A: p ≠ 0.38$' feedback: Try again please! ans2: - value: '$H_0: p = 0.06$, $H_A: p = 0.38$' + value: '$H_0: p = 0.2$, $H_A: p = 0.38$' feedback: Try again please! ans3: value: '$H_0: p = 0.38$, $H_A: p ≠ 0.38$' diff --git a/content/public/006.Inference for categorical data/Topic Outcome/Inference_for_a_single_proportion_modified_q6_1/Inference_for_a_single_proportion_modified_q6_1.md b/content/public/006.Inference for categorical data/Topic Outcome/Inference_for_a_single_proportion_modified_q6_1/Inference_for_a_single_proportion_modified_q6_1.md index 5a2b913d..e0ae9bb3 100644 --- a/content/public/006.Inference for categorical data/Topic Outcome/Inference_for_a_single_proportion_modified_q6_1/Inference_for_a_single_proportion_modified_q6_1.md +++ b/content/public/006.Inference for categorical data/Topic Outcome/Inference_for_a_single_proportion_modified_q6_1/Inference_for_a_single_proportion_modified_q6_1.md @@ -49,12 +49,12 @@ myst: params: vars: title: Vegetarian college students - sample_size: 64 - sample_size2: 92 - p: 9 - p_hat: 13 - college_students: 134 - college_students2: 268 + sample_size: 73 + sample_size2: 77 + p: 10 + p_hat: 15 + college_students: 137 + college_students2: 274 part1: ans1: value: True. This statement satisfies the success-failure condition. diff --git a/content/public/007.Inference for numerical data/Topic Outcome/A6_P2/A6_P2.md b/content/public/007.Inference for numerical data/Topic Outcome/A6_P2/A6_P2.md index aa5d315e..eea1bb80 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/A6_P2/A6_P2.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/A6_P2/A6_P2.md @@ -124,47 +124,47 @@ myst: vars: title: A6 P2 generic_data: - - 3424 - - 2646 - - 1055 - - 2768 - - 1247 - - 1294 - - 1885 - - 2149 - - 1694 - - 3007 - - 2531 - - 1398 - - 2225 - - 1952 - - 1851 - - 2329 - - 1643 - - 1824 - - 2986 - - 1843 + - 3403 + - 2514 + - 1063 + - 2834 + - 1263 + - 1256 + - 1880 + - 2202 + - 1678 + - 3080 + - 2466 + - 1344 + - 2156 + - 1992 + - 1850 + - 2286 + - 1663 + - 1802 + - 3145 + - 1830 advil_data: - - 1815 - - 2589 - - 2542 - - 2412 - - 996 - - 975 - - 1318 - - 2467 - - 2846 - - 2237 - - 1522 - - 1840 - - 3816 - - 1333 - - 4033 - - 1775 - - 1884 - - 2120 - - 1091 - - 1630 + - 1797 + - 2513 + - 2481 + - 2272 + - 867 + - 1071 + - 1405 + - 2527 + - 2827 + - 2315 + - 1437 + - 1904 + - 3901 + - 1299 + - 4068 + - 1900 + - 1823 + - 2033 + - 1102 + - 1768 part1: ans1: value: No, there won't be a statistically significant result. @@ -212,10 +212,10 @@ myst: ans3: value: '$H_1: \mu_{G} = \mu_{A} $' feedback: Incorrect! - mean_generic: 1991.4527 - mean_advil: 1910.4553 - std_generic: 647.5136 - std_advil: 841.4577 + mean_generic: 1985.6761 + mean_advil: 1911.6954 + std_generic: 662.9804 + std_advil: 849.0308 part8: ans1: value: '`qt(0.025, df = 19, lower.tail = FALSE)`' diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_1/openstat_q7_1.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_1/openstat_q7_1.md index 9c553e60..08c77c16 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_1/openstat_q7_1.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_1/openstat_q7_1.md @@ -45,7 +45,7 @@ myst: params: vars: title: Identify the critical t - n: 10 + n: 6 cl: 98 --- # {{ params.vars.title }} diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_13/openstat_q7_13.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_13/openstat_q7_13.md index 779a1425..7eba4f79 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_13/openstat_q7_13.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_13/openstat_q7_13.md @@ -38,9 +38,9 @@ myst: vars: title: Car insurance savings description: - std: 94 - moe_max: 16 - confidence_level: 0.88 + std: 106 + moe_max: 18 + confidence_level: 0.96 --- # {{ params.vars.title }}
diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_15/openstat_q7_15.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_15/openstat_q7_15.md index 215479d5..87394283 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_15/openstat_q7_15.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_15/openstat_q7_15.md @@ -53,8 +53,8 @@ myst: of the air quality in another city at another time point. feedback: Correct! country_capitals: 26 - year_1: 2009 - year_2: 2014 + year_1: 2012 + year_2: 2017 selected_scenario: but in a different set of cities --- # {{ params.vars.title }} diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_17/openstat_q7_17.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_17/openstat_q7_17.md index 7fc53524..c6b8187c 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_17/openstat_q7_17.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_17/openstat_q7_17.md @@ -44,26 +44,26 @@ myst: params: vars: title: Paired or not? Part I - selected_scenario_part1: Assess gender-related salary gap by comparing salaries - of randomly sampled men and women. + selected_scenario_part1: Measure changes in blood pressure before and after + a 6-month exercise program for the same individuals. part1: ans1: value: Paired. - feedback: Incorrect! + feedback: Correct! ans2: value: Not paired. - feedback: Correct! - selected_scenario_part2: Examine age-related wage disparities by comparing the - earnings of younger and older employees in a company. + feedback: Incorrect! + selected_scenario_part2: Evaluate the effects of a meditation program on stress + levels by comparing measurements before and after the program duration. part2: ans1: value: Paired. - feedback: Incorrect! + feedback: Correct! ans2: value: Not paired. - feedback: Correct! - selected_scenario_part3: Compare literacy levels at the start and end of a year-long - reading program for the same group of participants. + feedback: Incorrect! + selected_scenario_part3: Compare pre-test (beginning of semester) and post-test + (end of semester) scores of students. part3: ans1: value: Paired. @@ -71,8 +71,8 @@ myst: ans2: value: Not paired. feedback: Incorrect! - selected_scenario_part4: Evaluate sleep quality improvements by comparing scores - before and after using a new type of mattress for the same subjects. + selected_scenario_part4: Evaluate the improvement in programming skills by comparing + test scores before and after a coding bootcamp. part4: ans1: value: Paired. diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_19/openstat_q7_19.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_19/openstat_q7_19.md index 94974e7e..e42c420c 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_19/openstat_q7_19.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_19/openstat_q7_19.md @@ -142,37 +142,37 @@ myst: value: Since the p-value is less than 0.05, we reject $H_0$. The data provide strong evidence that NOAA stations observed more 90°F days in 2018 than in 1948. - feedback: Correct! + feedback: Incorrect! ans2: value: Since the p-value is greater than 0.05, we fail to reject $H_0$. The data do not provide strong evidence that NOAA stations observed more 90°F days in 2018 than in 1948. - feedback: Incorrect! + feedback: Correct! part7: ans1: value: Type 1 Error, since we may have incorrectly rejected $H_0$. This error would mean that NOAA stations did not actually observe a decrease, but the sample we took just so happened to make it appear that this was the case - feedback: Correct! + feedback: Incorrect! ans2: value: Type II Error, since we may have failed to reject $H_0$ incorrectly. This error would mean that NOAA stations did actually observe a decrease in the number of 90°F days in 2018 compared to 1948, but the sample we took was not able to provide enough evidence to demonstrate this decrease. - feedback: Incorrect! + feedback: Correct! part8: ans1: value: No, since we rejected $H_0$, which had a null value of 0. - feedback: Correct! + feedback: Incorrect! ans2: value: Yes, since we failed to reject $H_0$, which suggests the average difference between the number of days exceeding 90°F from 1948 and 2018 might include 0. - feedback: Incorrect! - sample_size: 209 - mean_difference: 3.0 - std_deviation: 18.0 + feedback: Correct! + sample_size: 199 + mean_difference: 2.2 + std_deviation: 17.2 --- # {{ params.vars.title }} Let's consider a limited set of climate data, examining temperature differences in 1948 vs 2018. We sampled {{ params.sample_size }} locations from the National Oceanic and Atmospheric Administration’s (NOAA) historical data, where the data was available for both years of interest. We want to know: were there more days with temperatures exceeding 90°F in 2018 or in 1948? The difference in number of days exceeding 90°F (number of days in 2018 - number of days in 1948) was calculated for each of the {{ params.sample_size }} locations. The average of these differences was {{ params.mean_difference }} days with a standard deviation of {{ params.std_deviation }} days. We are interested in determining whether these data provide strong evidence that there were more days in 2018 that exceeded 90°F from NOAA’s weather stations. diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_21/openstat_q7_21.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_21/openstat_q7_21.md index 797a7b36..d2898267 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_21/openstat_q7_21.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_21/openstat_q7_21.md @@ -57,24 +57,24 @@ myst: title: Global warming, Part II part3: ans1: - value: We are 98% confident that there was an increase of [lower bound] + value: We are 84% confident that there was an increase of [lower bound] to [upper bound] in the average number of days that hit 90°F in 2018 relative to 1948 for NOAA stations. feedback: Correct! ans2: - value: There is a 98% probability that the true average difference in the + value: There is a 84% probability that the true average difference in the number of days exceeding 90°F between 1948 and 2018 lies between [lower bound] and [upper bound]. feedback: Incorrect! This statement misinterprets the confidence interval as a probability statement about the data rather than about the interval. ans3: - value: There is a 98% probability that the number of days exceeding 90°F + value: There is a 84% probability that the number of days exceeding 90°F will be between [lower bound] and [upper bound] days higher in 2018 compared to 1948 for all locations. feedback: Incorrect! This statement suggests a predictive interpretation of the confidence interval, which is not accurate. ans4: - value: There is a 98% probability that the observed average difference of + value: There is a 84% probability that the observed average difference of days exceeding 90°F between 1948 and 2018 is exactly between [lower bound] and [upper bound] days. feedback: Incorrect! This statement misunderstands the confidence interval @@ -87,10 +87,10 @@ myst: ans2: value: No, since the interval is not entirely lying above 0. feedback: Try again please! - sample_size: 193 - mean_difference: 2.9 - std_deviation: 15.6 - part1_confidence_level: 98 + sample_size: 188 + mean_difference: 3.2 + std_deviation: 16.4 + part1_confidence_level: 84 --- # {{ params.vars.title }} Let's consider a limited set of climate data, examining temperature differences in 1948 vs 2018. We sampled {{ params.sample_size }} locations from the National Oceanic and Atmospheric Administration’s (NOAA) historical data, where the data was available for both years of interest. We considered the change in the number of days exceeding 90°F from 1948 and 2018 at {{ params.sample_size }} randomly sampled locations from the NOAA database. The mean and standard deviation of the reported differences are {{ params.mean_difference }} days and {{ params.std_deviation }} days. diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_25/openstat_q7_25.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_25/openstat_q7_25.md index 5309e23c..624799fb 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_25/openstat_q7_25.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_25/openstat_q7_25.md @@ -96,12 +96,12 @@ myst: value: The data suggest that there is no significant difference in the average number of traffic accident-related emergency room admissions between Friday the $6^{th}$ and Friday the $13^{th}$. - feedback: Correct! + feedback: Incorrect! ans2: value: The data provide strong evidence that the average number of traffic accident related emergency room admissions are different between Friday the $6^{th}$ and Friday the $13^{th}$. - feedback: Incorrect! + feedback: Correct! ans3: value: The results confirm with $100$% certainty that there are more accidents on Friday the $6^{th}$ compared to Friday the $13^{th}$. @@ -132,13 +132,13 @@ myst: any reliable information about risks, so the study's conclusion is not true. feedback: Incorrect! - x_bar_6th: 10.51 - x_bar_13th: 11.49 - x_bar_D: -0.98 - s_6th: 2.83 - s_13th: 2.8 - s_D: 3.06 - n: 6 + x_bar_6th: 13.63 + x_bar_13th: 16.36 + x_bar_D: -2.73 + s_6th: 4.15 + s_13th: 1.09 + s_D: 1.84 + n: 8 table: |- @@ -148,19 +148,19 @@ myst: - - - + + + - - - + + + - - - + + +
diff
Mean$10.51$$11.49$$-0.98$$13.63$$16.36$$-2.73$
SD$2.83$$2.8$$3.06$$4.15$$1.09$$1.84$
n$6$$6$$6$$8$$8$$8$
--- diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_3/openstat_q7_3.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_3/openstat_q7_3.md index 5a5e8007..32b9310d 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_3/openstat_q7_3.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_3/openstat_q7_3.md @@ -42,15 +42,15 @@ myst: vars: title: Find the p-value, Part I n: 8 - T: 2.45 - alpha: 0.1 + T: 1.73 + alpha: 0.05 part2: ans1: value: do not reject $H_0$ - feedback: Incorrect, try again! + feedback: Nice work! ans2: value: reject $H_0$ - feedback: Nice work! + feedback: Incorrect, try again! --- # {{ params.vars.title }} An independent random sample is selected from an approximately normal population with an unknown standard deviation. diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_41/openstat_q7_41.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_41/openstat_q7_41.md index dc1c20f0..6b767d64 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_41/openstat_q7_41.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_41/openstat_q7_41.md @@ -51,10 +51,10 @@ myst: vars: title: GPA and major df_factor: 2 - df_residual: 191 + df_residual: 193 meansq_factor: 0.02 - meansq_residual: 0.0996 - f_value: 0.2008 + meansq_residual: 0.0918 + f_value: 0.2179 table: |- @@ -69,13 +69,13 @@ myst: - + - - - + + + diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_5/openstat_q7_5.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_5/openstat_q7_5.md index 8404b4ad..b4da55aa 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_5/openstat_q7_5.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_5/openstat_q7_5.md @@ -46,14 +46,14 @@ myst: vars: title: Working backwards, Part I description: - confidence_level: 94 - lower: 18.807 - upper: 22.059 - sample_size: 37 - mean: 20.433 - moe: 1.6260000000000012 - t_crit: 1.9419477802390548 - s: 5.093119379887433 + confidence_level: 95 + lower: 20.569 + upper: 22.759 + sample_size: 35 + mean: 21.664 + moe: 1.0950000000000006 + t_crit: 2.032244509317718 + s: 3.18766139251077 --- # {{ params.vars.title }} A ${{ params.description.confidence_level }}$% confidence interval for a population mean, $\mu$, is given as (${{ params.description.lower }}$, ${{ params.description.upper }}$). This confidence interval is based on a simple random sample of ${{ params.description.sample_size }}$ observations. Assume that all conditions necessary for inference are satisfied. Use the $t$-distribution in any calculations. diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_55/openstat_q7_55.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_55/openstat_q7_55.md index 2ee9752b..68f214df 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_55/openstat_q7_55.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_55/openstat_q7_55.md @@ -50,11 +50,11 @@ myst: params: vars: title: Exclusive relationships - sample_mean: 3.56 - sample_size: 193 - sample_std: 1.57 - confidence_level: 91 - n: 193 + sample_mean: 3.34 + sample_size: 194 + sample_std: 1.64 + confidence_level: 89 + n: 194 part3: ans1: value: 'Independence: it is a random sample, so we can assume that the students @@ -70,7 +70,7 @@ myst: outliers, so the normality condition is reasonable. feedback: Great! You got it. ans4: - value: We are $91$% confident that undergraduate students have been in (lower_interval) + value: We are $89$% confident that undergraduate students have been in (lower_interval) to (upper_interval) exclusive relationships, on average. feedback: Great! You got it. ans5: diff --git a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_7/openstat_q7_7.md b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_7/openstat_q7_7.md index a380b472..77866fbf 100644 --- a/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_7/openstat_q7_7.md +++ b/content/public/007.Inference for numerical data/Topic Outcome/openstat_q7_7/openstat_q7_7.md @@ -72,15 +72,15 @@ myst: params: vars: title: Sleep habits of New Yorkers - confidence_level: 96.0 - sleep_hours: 7 + confidence_level: 98.0 + sleep_hours: 8 description: - n: 37 - sample_mean: 6.61 - s: 1.56 - min_val: 3.43 - max_val: 9.34 - alpha: 0.02 + n: 32 + sample_mean: 7.49 + s: 1.67 + min_val: 3.09 + max_val: 10.22 + alpha: 0.01 table1: |-
$2$ $0.04$ $0.02$$0.2008$$0.2179$ $-$
Residuals$191$$19.03$$0.0996$$193$$17.71$$0.0918$ $\quad$ $\quad$
@@ -90,25 +90,25 @@ myst: - - - - - + + + + +
$min$ $max$
$37$$6.61$$1.56$$3.43$$9.34$$32$$7.49$$1.67$$3.09$$10.22$
part1: ans1: - value: '$H_0: \mu = 7$, $H_a: \mu < 7$' + value: '$H_0: \mu = 8$, $H_a: \mu < 8$' feedback: Correct! ans2: - value: '$H_0: \mu < 7$, $H_a: \mu > 7$' + value: '$H_0: \mu < 8$, $H_a: \mu > 8$' feedback: Try again please! ans3: - value: '$H_0: \mu > 7$, $H_a: \mu < 7$' + value: '$H_0: \mu > 8$, $H_a: \mu < 8$' feedback: Try again please! ans4: - value: '$H_0: \mu = 7$, $H_a: \mu = 7$' + value: '$H_0: \mu = 8$, $H_a: \mu = 8$' feedback: Try again please! part2: ans1: @@ -131,23 +131,23 @@ myst: feedback: Try again please! part6: ans1: - value: The probability that New Yorkers sleep exactly 7 hours per night. + value: The probability that New Yorkers sleep exactly 8 hours per night. feedback: Try again please! ans2: value: The probability that the sample accurately represents the entire population of New Yorkers. feedback: Try again please! ans3: - value: The probability of observing the obtained sample mean 6.61 hours - if New Yorkers, on average, sleep 7 per night. + value: The probability of observing the obtained sample mean 7.49 hours + if New Yorkers, on average, sleep 8 per night. feedback: Correct! ans4: - value: The probability of observing the obtained sample mean of 6.61 hours - or more extreme, if New Yorkers, on average, sleep 6.61 hours per night. + value: The probability of observing the obtained sample mean of 7.49 hours + or more extreme, if New Yorkers, on average, sleep 7.49 hours per night. feedback: Try again please! ans5: - value: The probability of observing the obtained sample mean 6.61 of hours - or more extreme, if New Yorkers, on average, sleep 7 per night. + value: The probability of observing the obtained sample mean 7.49 of hours + or more extreme, if New Yorkers, on average, sleep 8 per night. feedback: Try again please! part7: ans1: diff --git a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_11/openstat_q8_11.md b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_11/openstat_q8_11.md index 2429d736..40b591eb 100644 --- a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_11/openstat_q8_11.md +++ b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_11/openstat_q8_11.md @@ -59,7 +59,7 @@ myst: vars: title: The Coast Starlight, Part I part3: - num1: 0.688 + num1: 0.692 --- # {{ params.vars.title }} The Coast Starlight Amtrak train runs from Seattle to Los Angeles. The scatterplot below displays the distance between each stop (in miles) and the amount of time it takes to travel from one stop to another (in minutes). diff --git a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_17/openstat_q8_17.md b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_17/openstat_q8_17.md index a769b807..eea2602d 100644 --- a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_17/openstat_q8_17.md +++ b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_17/openstat_q8_17.md @@ -35,24 +35,24 @@ myst: params: vars: title: Units of regression - unit1: oz - unit2: in - problem_statement: weight (oz) from height (in) + unit1: ft + unit2: lb + problem_statement: height (ft) from weight (lb) part1: option1: value: No units name: Correlation option2: - value: $oz$ + value: $ft$ name: Intercept option3: - value: $\frac{oz}{in}$ + value: $\frac{ft}{lb}$ name: Slope option4: - value: $in$ + value: $lb$ name: Distractor 1 option5: - value: $\frac{in}{oz}$ + value: $\frac{lb}{ft}$ name: Distractor 2 statement1: value: Correlation diff --git a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_33/openstat_q8_33.md b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_33/openstat_q8_33.md index 9438cdc3..c12694cd 100644 --- a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_33/openstat_q8_33.md +++ b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_33/openstat_q8_33.md @@ -95,26 +95,26 @@ myst: Pr(>|t|) (intercept) - $46.3399$ - $5.1982$ - $8.3$ + $46.1584$ + $5.7985$ + $10.0$ $0.0$ height_husband - $0.2713$ - $0.0748$ - $2.8$ - $0.0058$ + $0.287$ + $0.0795$ + $5.99$ + $0.0$ - sample: 149 - slope: 0.2713 - intercept: 46.3399 - intercept_std_error: 5.1982 - slope_std_error: 0.0748 - husband_height1: 66 - correlation: 0.105 - husband_height2: 80 + sample: 175 + slope: 0.287 + intercept: 46.1584 + intercept_std_error: 5.7985 + slope_std_error: 0.0795 + husband_height1: 69 + correlation: 0.083 + husband_height2: 76 part1: ans1: value: '$H_0: \beta_1 = 0; H_A: \beta_1 \ne 0$' diff --git a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_43/openstat_q8_43.md b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_43/openstat_q8_43.md index 0839eb92..12025f9e 100644 --- a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_43/openstat_q8_43.md +++ b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_43/openstat_q8_43.md @@ -40,23 +40,23 @@ myst: vars: title: Match the correlation, Part III correlations: - - 0.97 - - 0.01 - - -0.75 - - 0.5 + - 0.83 + - -0.06 + - -0.56 + - 0.98 part1: statement1: value: Plot 1 - matches: $r=0.97$ + matches: $r=0.83$ statement2: value: Plot 2 - matches: $r=0.01$ + matches: $r=-0.06$ statement3: value: Plot 3 - matches: $r=-0.75$ + matches: $r=-0.56$ statement4: value: Plot 4 - matches: $r=0.5$ + matches: $r=0.98$ --- # {{ params.vars.title }} Match each correlation to the corresponding scatterplot. diff --git a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_9/openstat_q8_9.md b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_9/openstat_q8_9.md index 82737483..568f1d1e 100644 --- a/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_9/openstat_q8_9.md +++ b/content/public/008.Introduction to linear regression/Topic Outcome/openstat_q8_9/openstat_q8_9.md @@ -60,7 +60,7 @@ myst: vars: title: Speed and height description: - num1: 1296 + num1: 1300 --- # {{ params.vars.title }} ${{ params.description.num1 }}$ UCLA students were asked to fill out a survey where they were asked about their height, fastest speed they have ever driven, and gender. The first scatterplot displays the relationship between height and fastest speed, and the second scatterplot displays the breakdown by gender in this relationship. diff --git a/content/public/008.Introduction to linear regression/openstat_q8_7/openstat_q8_7.md b/content/public/008.Introduction to linear regression/openstat_q8_7/openstat_q8_7.md index ad229dcc..3334d47e 100644 --- a/content/public/008.Introduction to linear regression/openstat_q8_7/openstat_q8_7.md +++ b/content/public/008.Introduction to linear regression/openstat_q8_7/openstat_q8_7.md @@ -42,22 +42,22 @@ myst: title: Match the correlation, Part I correlations: - 0.08 - - 0.95 - - -0.6 - - 0.48 + - 0.96 + - -0.69 + - 0.4 part1: statement1: value: Plot 1 matches: $r=0.08$ statement2: value: Plot 2 - matches: $r=0.95$ + matches: $r=0.96$ statement3: value: Plot 3 - matches: $r=-0.6$ + matches: $r=-0.69$ statement4: value: Plot 4 - matches: $r=0.48$ + matches: $r=0.4$ --- # {{ params.vars.title }} Match each correlation to the corresponding scatterplot. diff --git a/content/public/010.Sampling and design/openstax_C1_Q87/openstax_C1_Q87.md b/content/public/010.Sampling and design/openstax_C1_Q87/openstax_C1_Q87.md index a72f691b..f8ca2729 100644 --- a/content/public/010.Sampling and design/openstax_C1_Q87/openstax_C1_Q87.md +++ b/content/public/010.Sampling and design/openstax_C1_Q87/openstax_C1_Q87.md @@ -59,9 +59,9 @@ myst: params: vars: title: 'Experimental Design: Sleep Deprivation' - num_drivers: 17 - hours_deprivation: 32 - treatment_order: The control treatment was trialed last. + num_drivers: 16 + hours_deprivation: 25 + treatment_order: The control treatment was trialed first. mentioned_test: driving simulation driver_type: new part1: @@ -90,29 +90,29 @@ myst: value: Normal Sleep feedback: Correct! ans2: - value: 32 hours of sleep deprivation + value: 25 hours of sleep deprivation feedback: Correct! ans3: - value: 17 hours of sleep deprivation + value: 16 hours of sleep deprivation feedback: Try again please! ans4: - value: 17 new drivers + value: 16 new drivers feedback: Try again please! ans5: - value: 32 new drivers + value: 25 new drivers feedback: Try again please! part3: ans1: - value: 17 new drivers + value: 16 new drivers feedback: Correct! ans2: - value: 32 hours of sleep deprivation + value: 25 hours of sleep deprivation feedback: Try again please! ans3: - value: 17 hours of sleep deprivation + value: 16 hours of sleep deprivation feedback: Try again please! ans4: - value: 32 new drivers + value: 25 new drivers feedback: Try again please! part4: ans1: @@ -140,16 +140,16 @@ myst: value: Normal Sleep feedback: Correct! ans2: - value: 32 hours of sleep deprivation + value: 25 hours of sleep deprivation feedback: Try again please! This is a treatment, but not the control. ans3: - value: 17 hours of sleep deprivation + value: 16 hours of sleep deprivation feedback: Try again please! ans4: - value: 17 new drivers + value: 16 new drivers feedback: Try again please! ans5: - value: 32 new drivers + value: 25 new drivers feedback: Try again please! part7: ans1: