The SAT is a standardized college admissions test used in the United States. The following two multi-part questions will ask you some questions about SAT testing.
This is a 6-part question asking you to determine some probabilities of what happens when a student guessed for all of their answers on the SAT. Use the information below to inform your answers for the following questions.
An old version of the SAT college entrance exam had a -0.25 point penalty for every incorrect answer and awarded 1 point for a correct answer. The quantitative test consisted of 44 multiple-choice questions each with 5 answer choices. Suppose a student chooses answers by guessing for all questions on the test.
n_q <- 44
award <- 1
penalty <- -0.25
Question 1a What is the probability of guessing correctly for one question?
p <- 1/5
p
## [1] 0.2
Question 1b 0.0/1.0 point (graded) What is the expected value of points for guessing on one question?
e_points <- (award*p) + (penalty * (1-p))
e_points
## [1] 0
Question 1c What is the expected score of guessing on all 44 questions?
m <- n_q * e_points
m
## [1] 0
Question 1d
What is the standard error of guessing on all 44 questions?
se <- sqrt(n_q) * abs(penalty-award) * sqrt(p*(1-p))
se
## [1] 3.316625
Question 1e Use the Central Limit Theorem to determine the probability that a guessing student scores 8 points or higher on the test.
1-pnorm (8, m, se)
## [1] 0.007930666
Question 1f Set the seed to 21, then run a Monte Carlo simulation of 10,000 students guessing on the test.
(IMPORTANT! If you use R 3.6 or later, you will need to use the command set.seed(x, sample.kind = “Rounding”) instead of set.seed(x). Your R version will be printed at the top of the Console window when you start RStudio.)
What is the probability that a guessing student scores 8 points or higher?
set.seed(21, sample.kind = "Rounding")
## Warning in set.seed(21, sample.kind = "Rounding"): non-uniform 'Rounding'
## sampler used
B <- 10000
S <- replicate(B, {
Results <- sample(c(award, penalty), n_q, replace = TRUE, prob = c(p, 1-p))
sum (Results)
})
mean (S > 8)
## [1] 0.008
The SAT was recently changed to reduce the number of multiple choice options from 5 to 4 and also to eliminate the penalty for guessing.
p <- 1/4
p
## [1] 0.25
penalty <- 0
award <- 1
p
## [1] 0.25
In this two-part question, you’ll explore how that affected the expected values for the test.
Question 2a Suppose that the number of multiple choice options is 4 and that there is no penalty for guessing - that is, an incorrect question gives a score of 0. What is the expected value of the score when guessing on this new test?
e_points <- (award*p) + (penalty * (1-p))
e_points
## [1] 0.25
m <- n_q * e_points
m
## [1] 11
Question 2b Consider a range of correct answer probabilities p <- seq(0.25, 0.95, 0.05) representing a range of student skills. What is the lowest p such that the probability of scoring over 35 exceeds 80%?
score = 35 = 44 * 0.25 e_points <- (awardp) + (penalty (1-p)) e_points
p <- seq(0.25, 0.95, 0.05)
score <- sapply(p, function(v){
e_points <- (award*v) + (penalty * (1-v))
m <- n_q * e_points
se <- sqrt(n_q) * abs(penalty-award) * sqrt(v*(1-v))
1-pnorm (35, m, se)
})
min(p[which(score > 0.8)])
## [1] 0.85
Question 2c:
if p = 0.4, what is the probabbioluty if scoring over 6
p <- 0.6
e_points <- (award*p) + (penalty * (1-p))
e_points
## [1] 0.6
m <- n_q * e_points
m
## [1] 26.4
se <- sqrt(n_q) * abs(penalty-award) * sqrt(p*(1-p))
se
## [1] 3.249615
1-pnorm (35, m, se)
## [1] 0.004066871
Question 3: Betting on Roulette
A casino offers a House Special bet on roulette, which is a bet on five pockets (00, 0, 1, 2, 3) out of 38 total pockets. The bet pays out 6 to 1. In other words, a losing bet yields -$1 and a successful bet yields $6. A gambler wants to know the chance of losing money if he places 500 bets on the roulette House Special.
The following 7-part question asks you to do some calculations related to this scenario.
p <- 5/38
a <- 6
b <- -1
n <- 500
a
## [1] 6
b
## [1] -1
Question 3a What is the expected value of the payout for one bet?
mu <- (a*p) + b*(1-p)
mu
## [1] -0.07894737
Question 3b What is the standard error of the payout for one bet?
sigma <- abs(b-a) * sqrt(p*(1-p))
sigma
## [1] 2.366227
Question 3c What is the expected value of the average payout over 500 bets? Remember there is a difference between expected value of the average and expected value of the sum.
mu
## [1] -0.07894737
Question 3d What is the standard error of the average payout over 500 bets? Remember there is a difference between the standard error of the average and standard error of the sum.
sigma / sqrt(n)
## [1] 0.1058209
Question 3e What is the expected value of the sum of 500 bets?
mu * n
## [1] -39.47368
Question 3f What is the standard error of the sum of 500 bets?
sigma * sqrt(n)
## [1] 52.91045
Question 3g Use pnorm() with the expected value of the sum and standard error of the sum to calculate the probability of losing money over 500 bets, Pr(X≤0) .
pnorm (0, mu, sigma)
## [1] 0.5133079
pnorm(0, mu * n, sigma * sqrt(n))
## [1] 0.7721805