Skip to content

Commit

Permalink
GitHub Action pushing new questions
Browse files Browse the repository at this point in the history
  • Loading branch information
firasm committed Aug 23, 2024
1 parent 2727b8e commit 0d7901e
Show file tree
Hide file tree
Showing 111 changed files with 1,035 additions and 1,050 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ myst:
title: Migraine and acupuncture, Part I
table0:
r2:
c2: 11
c3: 35
c2: 15
c3: 31
c4: 46
r3:
c2: 2
c3: 48
c4: 50
c2: 6
c3: 39
c4: 45
r4:
c2: 13
c3: 83
c4: 96
c2: 21
c3: 70
c4: 91
part1:
num1: 24.0
part3:
Expand All @@ -90,12 +90,12 @@ myst:
part4:
num1: 24.0
description:
num1: 96
num1: 91
num2: 46
num3: 50
num3: 45
num4: 24.0
part1_ans_before_convert: 0.239
part2_ans_before_convert: 0.04
part1_ans_before_convert: 0.326
part2_ans_before_convert: 0.133
---
# {{ 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ myst:
vars:
title: Relaxing after work
part3:
num1: 1.42
num1: 1.99
description:
num1: 1135
num2: 1.42
num1: 1497
num2: 1.99
part1:
option1:
value: Observation
Expand All @@ -59,7 +59,7 @@ myst:
value: Number of hours spent relaxing after an average work day.
matches: option2
statement3:
value: 1.42
value: 1.99
matches: option3
statement4:
value: Average number of hours all Americans spend relaxing after an average
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,20 @@ myst:
title: Parameters and statistics
part1:
option1:
value: 2007
value: 2001
option2:
value: 2008
value: 288
option3:
value: 1600
value: 10
statement1:
value: Claimed population mean
matches: '53'
matches: '3.61'
statement2:
value: Sample mean
matches: '56'
question1: American households spent an average of about $53 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 $56 per household.
matches: '3.71'
question1: The average GPA of students in 2001 at a private university was 3.61.
A survey on a sample of 288 students from this university yielded an average
GPA of 3.71 a decade later.
---
# {{ params.vars.title }}
Identify which value represents the sample mean and which value represents the claimed population mean.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ myst:
params:
vars:
title: San Jose Park Use
every: 9
every: 7
part1:
measurement: Age
measurement: Duration (amount of time)
ans1:
value: qualitative
feedback: Try again please!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ myst:
params:
vars:
title: Babies on Airplanes
flights: nine
flights: seven
part1:
ans1:
value: The survey was conducted using nine similar flights.
value: The survey was conducted using seven similar flights.
feedback: Correct!
ans2:
value: The survey would not be a true representation of the entire population
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,27 @@ myst:
params:
vars:
title: Distributions and Appropriate Statistics
animal: human
place: school
animal: rabbit
place: work
thing: electronics
Question: a) Would you expect the distance to school, i.e. number of miles
between school and home to be symmetric, right skewed, or left skewed?
Question: a) Would you expect the number of electronics per household to be
symmetric, right skewed, or left skewed?
part1:
ans1:
value: 'Right skewed: The distribution of number of distance to school is
likely right skewed as there is a natural boundary at 0 and only a few
people live a very long distance from school.'
value: 'Right skewed: The distribution of number of electronicss per household
is likely right skewed as there is a natural boundary at 0 and only a
few people have many electronicss.'
feedback: Correct, awesome work
ans2:
value: 'Left skewed: The distribution of number of distance to school is
likely left skewed as there is a natural boundary at 0 and only a few
people live a very long distance from school.'
value: 'Left skewed: The distribution of number of rabbits per household
is likely left skewed as there is a natural boundary at 0 and only a few
people have many rabbits.'
feedback: Not quite, the reasoning here is mostly correct, think over what
it means for a graph to be left skewed
ans3:
value: 'Symmetric: The distribution of number of distance to school is likely
symmetric as there is a natural boundary at 0 and only a few people live
a very long distance from school.'
value: 'Symmetric skewed: The distribution of number of rabbits per household
is likely symmetric as there is a natural boundary at 0 and only a few
people have many rabbits.'
feedback: Not quite, the reasoning here is mostly correct, think over what
it means for a graph to be symmetric
part2:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,24 @@ myst:
title: Commute Times
part1:
ans1:
value: The distribution is Unimodal
value: The Median of the distribution is about 25 min
feedback: Correct, good job
ans2:
value: The Standard Deviation is about 5 min
feedback: Correct, good job
ans3:
value: The distribution is Right Skewed
feedback: What does it mean for a graph to be Right Skewed?
ans4:
value: The distribution has a median of about 30 min
value: The distribution has a median of about 18 min
feedback: Remember a median is the observation in the middle
ans4:
value: The Standard deviation is about 1 min
feedback: Sorry, this is not a very good estimate of the standard deviation
try again
ans5:
value: The distribution is Left Skewed
feedback: What does it mean for a graph to be Left Skewed?
ans6:
value: The distribution is trimodal
feedback: Not quite, what does tri mean
ans6:
value: The distribution has a median of about 30 min
feedback: Remember a median is the observation in the middle
part2:
ans1:
value: Since the distribution is already unimodal and symmetric, a log transformation
Expand All @@ -71,22 +72,24 @@ myst:
feedback: What does it mean if a graph is right skewed, bimodal, and when
should you do a log transformation?
ans3:
value: Since the distribution is bimodal and right skewed, a log transformation
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 right skewed or bimodal?
feedback: What does it mean if a graph is left skewed or trimodal?
ans4:
value: Since the distribution is already trimodal and left skewed, a log
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 left skewed, trimodal, and when
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 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?
value: Since the distribution is already bimodal and left skewed, a log
transformation is not necessary
feedback: What does it mean if a graph is left skewed, bimodal, and when
should you do a log transformation?
ans6:
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?
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 left skewed, trimodal, and when
should you do a log transformation?
---
# {{ params.vars.title }}
The US census collects data on time it takes Americans to commute to work, among many other variables.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ myst:
value: We can see the relative frequencies in the bar graph
feedback: Correct good job
ans3:
value: The bar graph gives a conclusion whereas the pie chart does not
feedback: Nice try, but the bar graph does not give a conclusion, it is
only a representation of the data
value: There is nothing visible in the bar graph that is not in the pie
chart
feedback: Nice try, have another look
ans4:
value: The bar graph shows what the lowest relative frequency is
feedback: This is also visible in the pie chart
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ myst:
params:
vars:
title: Make up Exam
'#ofpeople': 48
'#ofpeoplem1': 47
average: 62
new: 72
sd: 9.0
'#ofpeople': 40
'#ofpeoplem1': 39
average: 80
new: 88
sd: 8.3
part1:
ans1:
value: Increase
Expand All @@ -66,8 +66,8 @@ myst:
feedback: Not quite
part3:
ans1:
value: Increase
feedback: Correct, the new score is greater than 1 standard deviation from
value: Decrease
feedback: Correct, the new score is less than 1 standard deviation from
the old mean so the standard deviation will increase
ans2:
value: Not enough information to tell
Expand All @@ -76,7 +76,7 @@ myst:
value: Stay the same
feedback: Not quiet
ans4:
value: Decrease
value: Increase
feedback: Not quite
---
# {{ params.vars.title }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ myst:
params:
vars:
title: TV_Watchers
ave_time: 4.22
sd: 5.42
ave_time: 5.28
sd: 5.35
part1:
ans1:
value: No, I would expect the distribution to be right skewed as the number
Expand All @@ -42,20 +42,20 @@ 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:
ans3:
value: No, there is not enough information to tell whether the distribution
is right or left skewed, but the high standard deviation in comparison
to the mean does indicate that the distribution is not likely symmetric
feedback: Not quite, but good try
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).
Expand Down
Loading

0 comments on commit 0d7901e

Please sign in to comment.