Page 1 of 15
Be sure to support your solutions with the supporting SAS code, where appropriate.
Question 95. Page 293
More than 96% of the largest colleges and universities (>15,000 enrollments) have some online course
offerings. Suppose you randomly pick 13 such institutions. We are interested in the number that offer
distance learning courses.
a. Define the random variable X.
b. List the possible values that X might take on.
c. Give the distribution of X. X ~ ( , )
d. On average, how many schools would you expect to offer such courses?
e. Find the probability that at most ten offer such courses.
f. Is it more likely that 12 or that 13 will offer such courses? Use numbers to justify your
answer numerically and answer in a complete sentence.
Answer:
a. Let X be the number of California residents who have adequate earthquake supplies.
b. X can take on the following values (0,1,2,3,4,5,6,7,8,9,10,11)
c. X ~ Binomial (p,n) where p = 0.3 and n =11, so X – Binomial (0.3,11)
d. P(X>=8) = 1-P(X<=7) = 1-CDF (‘Binomial, 7, 0.30, 11) =0.004290894
e. P(X=0) = 0.0197732674 > P(X=11) =1.77147E-6
a. More likely that none of the residents have supplies.
f. E(X) = n*p=11*0.30=3.3 so 3.3 residents are expected to have earthquake supplies.
Supporting SAS Code:
, HLTH 335. Section 103 Lab 3
Page 2 of 15
/* Question 1 */
DATA Q1;
n = 11;
p = 0.3;
/* (d) (X >=8) = 1 - BinomCDF(x,p,n) */
part_d = 1 - CDF('Binomial', 7, p, n);
/* (e) P(X = 0) > P(X=11) */
part_e0 = PDF('Binomial', 0, p, n);
Part_e11 = PDF('Binomial', 11, p, n);
/* (f) E(X) */
part_f = n*p;
RUN;
Question 100. Page 295
It has been estimated that only about 30% of California residents have adequate earthquake supplies.
Suppose you randomly survey 11 California residents. We are interested in the number who have
adequate earthquake supplies.
a. Define the random variable X.
b. List the possible values that X might take on.
c. Give the distribution of X. X ~ ( , )
d. What is the probability that at least eight have adequate earthquake supplies?
e. Is it more likely that none or that all of the residents surveyed will have adequate
earthquake supplies? Why?
f. How many residents do you expect will have adequate earthquake supplies?
Answer:
Insert your answer here
Supporting SAS Code: