Answered step by step
Verified Expert Solution
Question
1 Approved Answer
20. Consider a small city in Central Asia (population: 120) where everyone's favorite color is either red or purple. Thirty of these people's favorite color
20. Consider a small city in Central Asia (population: 120) where everyone's favorite color is either red or purple. Thirty of these people's favorite color is red.
If 13 people are selected at random and with replacement, which of the following lines of R code computes the probability that 7 of them have favorite color red?
A. pbinom(7, n=13, prob=0.25)
B. pnorm(7, mu=13, sigma=0.25, lower.tail=FALSE)
C. pnorm(7, mu=13, sigma=0.25)
D. dnorm(7, mu=13, sigma=0.25)
E. dbinom(7, n=13, prob=0.25)
F. pbinom(7, n=13, prob=0.25, lower.tail=FALSE)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started