AMS 310 Fall 2023 HW 2

docx

School

Stony Brook University *

*We aren’t endorsed by this school

Course

310

Subject

Statistics

Date

Jan 9, 2024

Type

docx

Pages

6

Uploaded by BarristerEnergySpider36

Report
Brahmjot Singh Kohli SBU ID = 115173149 AMS 310 (Fall, 2023) Prof. Rispoli Homework Set # 2 Due Date & Chapters , September 24, 2023 before midnight. Based on the last part of Chapter 2 and Chapter 3, of Ahn. Typing : You must type up solutions to questions 1 and 2. It is recommended that the other solutions be typed also, but this is not required. Total Points There are 12 problems. All problems are worth 8 points each. Reminder: Show your reasoning! Chapter 2 1. A cell phone company has three different production sites. Five percent of the cars from Site 1, 7% from Site 2, and 9% from Site 3 have been recalled due to unexpected shutdown issue. Suppose that 60% of the phones are produced at Site 1, 30% at Site 2, and 10% at Site 3. If a randomly selected cell phone has been recalled, what is the probability that it came from Site 3 (express the answer up to the second decimal place)? P(Site1) = 0.6, P(Site2) = 0.3, P(Site3) = 0.1 P(Recall | Site1) = 0.05 P(Recall | Site2) = 0.07 P(Recall | Site3) = 0.09 P(Recall) = 0.09 * 0.1 + 0.07 * 0.3 + 0.05 * 0.6 = 0.06 P(Site 3 | Recall) = P(Recall | Site 3)*P(Site 3) / P(Recall) = 0.09 * 0.1 / 0.06 = 0.15 2. Bowl 1 contains 3 red chips and 7 blue chips. Bowl 2 contains 6 red chips and 4 blue. A single chip is drawn from a randomly selected bowl. a) What is the probability that the chip is red? P(Red) = (0.3 * 0.5) + (0.6 * 0.5) = 0.45 b) Given that the chip is red, what is the probability it came from bowl 2? P(Bowl 2 | Red) = (0.6 x 0.5) / 0.45 =2/3 c) Let A be the event the chip is red, and let B be the event the chip came from Bowl 2. Are these events independent? Explain your answer.
P(Red AND Bowl 2) = (0.6 * 0.5) = 0.3 P(Red) * P(Bowl 2) = 0.45 * 0.5 = 0.225 0.3 is NOT equal to 0.225 so they are not independent. To be independent P(Red AND Bowl 2) should be equal to P(Red) * P(Bowl 2) 3. Let X be a random variable with cdf F ( x ) = { 0 x < 0 1 10 0 ≤x < 1 3 10 1 ≤ x < 2 6 10 2 ≤ x < 3 1 x ≥ 3 a) Find the probability distribution of X. X 0 1 2 3 total P(X) 0.1 0.2 0.3 0.4 1 b) Find the expected value E(X). E(X) = (0*0.1)+(1*0.2)+(2*0.3)+(3*0.4) = 2 c) Find the standard deviation of X. Var(X) = E(X 2 ) - (E(X)) 2 4. Fifteen percent of an airline’s current customers qualify for an executive traveler’s club membership. a) Find the probability that between 2 and 5 (inclusive) out of 20 randomly selected customers qualify for the membership. Let X= an airline’s current customers qualify for an executive traveler’s club membership. X is binomial rv. Probability = P(2<=X<=5) = P(X=2)+P(X=3)+P(X=4)+P(X=5) = 0.7571 b) Find the expected number and the standard deviation of the number who qualify in a randomly selected sample of 60 customers. Mean = 60*0.15 = 9
Standard Deviation = sqrt(n*p*q) = 2.766 5. Let X denote the number of bombs hit per minute in an area of 1 square mile on a Particular day during a war. Suppose X has a Poisson distribution with = 4. (Lambda = V) a) Find the probability that two bombs hit that area in a minute. P(x) = e -V V x /x! = e -4 4 x /x! (x=0,1,2…..) P(x=2)=e -4 4 2 /2! = 0.1465 b) Find the probability that at most two bombs hit that area in a minute. P(x<=2) = P(x=0)+P(x=1)+P(x=2) = e -4 4 0 /0! + e -4 4 1 /1! + e -4 4 2 /2! = 0.01832+0.07326+0.1465 = 0.238 c) Find the expected number of bomb hits per minute in that area. E(x) = V = 4 6. Two percent of certain model of cars have defective mufflers. Suppose 400 cars of this model are ready to ship. a) Find an approximate probability that at least 5 cars in the shipment have defective mufflers. V=np = 400*2/100 = 8 P(x>=5) = 1-[P(x=0)+P(x=1)+P(x=2)+P(x=3)+P(x=4)] = 1-[e -8 8 0 /0! + e -8 8 1 /1! + e -8 8 2 /2! + e -8 8 3 /3! + e -8 8 4 /4!] = 1-[0.0003355+0.00268+0.01073+0.028626+0.05725] = 0.9003785 b) Find an approximate probability that between 3 and 6 cars (inclusive) in the shipment have defective mufflers. P(3<=x<=6) = P(x=3)+P(x=4)+P(x=5)+P(x=6) = 0.028626+0.05725+0.0916+0.12214 = 0.2996 7. Number of passengers who arrive at the platform in an Amtrack train station for the 2 pm train on a Saturday is a normal random variable with a mean of 180 and a standard deviation of 20. a) (5 pts) With what probability can we assert that there will be between 120 and 240 passengers? Using Chebyshev’s Theorem Upper bound for k = 240 = U+k*P = 240 = 180+k*20
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help
K = 3 Lower bound probability = 1-1/3 2 = 8/9 = 0.889 b) (4 pts) With what probability can we assert that there will be between 130 and 230 passengers? Using Chebyshev’s Theorem Upper bound for k = 230 = U+k*P = 230 = 180+k*20 K = 2.5 Lower bound probability = 1-1/2.5 2 = 5.25/6.25 = 0.84 8. Use R to answer the following question. Copy and paste the code and answer from R into your paper. In a class of students, 25% have hardcover and 75% students have paperback textbooks. If you randomly choose 50 students in this class with replacement, find the probability that at most 10 of them have hardcover texts. > phyper(10,25,75,50) [1] 0.1779143 9. A recent national study showed that approximately 44.7% of college students have used Wikipedia as a source in at least one of their term papers. Let X equal the number of students in a random sample of size n = 25 who have used Wikipedia as a source. Use R to answer parts b, c, d and e. a) What is the distribution for X. Give the distribution name and values for the parameters. Binomial Distribution n=25, p=0.447 b) Find the probability that X is equal to 17. > dbinom(17, 25, 0.447) [1] 0.01074201 c) Find the probability that X is at most 13. > pbinom(13, 25, 0.447) [1] 0.8252959 d) Find the probability that X is bigger than 11. > 1-pbinom(11,25,0.447) [1] 0.4453617 e) Find the probability that X is between 16 and 19, inclusive.
> pbinom(19,25,0.447)-pbinom(15,25,0.447) [1] 0.04085242 10. Consider the following questions: give the distribution name, carefully define the random variables you use and find the final answer. a) Suppose a representative at a credit card customer service center receives a phone call every 5 minutes on average. Find the probability that she receives 3 phone calls in 20 minutes. X=1/5 * 20 = 4 P(x=3) = 4 3 e -4 /3! = 0.195 Poisson distribution b) Products produced by a machine has a 3% defective rate. What is the probability that the first defective occurs in the fifth item inspected. P=0.03 F(x) = p(1-p) x-1 P(x=5) = 0/03(1-0.03) 5-1 = 0.0266 Geometric distribution c) In a class of 100 students, 25 have hardcover and 75 students have paperback textbooks. If you randomly choose 10 students in this class, find the probability that 2 of them have hardcover texts. X=2, a=25, N=100, n=10 P(x=2) = (( ? ? )( ? ?? ? ))/( ?? ) = ((25 2) (75 8))/(100 10) = 300(1.687 ? 10 10) 1.73 ? 103 = 0.292 Hypergeometric distribution d) Emily hits 60% of her free throws in basketball games. She had 7 free throws in last week’s game. What is the probability that she made at least 5 hits? N=7, P=.6, X>=5
? ( ? ≥ 5) = 1 − ? ( ? ≤ 4) = 1 − 0.58 = 0.42 11. Computers from a particular company are found to last on average for three years without any hardware malfunction, with a standard deviation of two months. At least what percent of the computers last between 31 months and 41 months? Use Chebyshev’s Theorem 41=36+k(2) 5=2k = K=2.5 1-1/k^2 = 1-1/6.25 =0.84 84% 12. Bus route #25 takes a mean time of 50 minutes with a standard deviation of 2 minutes. A promotional poster for this bus system states that “95% of the time bus route #25 lasts from ____ to _____ minutes.” What numbers would you fill in the blanks with? 1-0.95 = 1/k 2 k = 4.47 4.47*2 = 8.94 minutes So, Bus route #25 takes a mean time of 50 minutes with a standard deviation of 2 minutes. A promotional poster for this bus system states that “95% of the time bus route #25 lasts from 41.06 to 58.94 minutes.
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help