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 29, 2024
1 parent 1a362e6 commit 52bafe8
Show file tree
Hide file tree
Showing 112 changed files with 1,258 additions and 1,098 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: 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:
Expand All @@ -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.
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.98
num1: 2.36
description:
num1: 1094
num2: 1.98
num1: 1158
num2: 2.36
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.98
value: 2.36
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,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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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: 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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
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.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
Expand All @@ -42,22 +42,23 @@ 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
high in relation the mean which further suggests that the data is skewed.
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).
Expand Down
Loading

0 comments on commit 52bafe8

Please sign in to comment.