TU Wien:Statistik und Wahrscheinlichkeitstheorie UE (Levajkovic)/Übungen 2023W/HW04.2
Zur Navigation springen
Zur Suche springen
- Drug company
Manufacturing and selling drugs that claim to reduce an individual’s cholesterol level is big business. A company would like to market their drug to women if their cholesterol is in the top 15%. Assume the cholesterol levels of adult American women can be desribed by a Normal model with a mean of 188 mg/dL and a standard deviation of 24. Use
R
to answer the following questions.Hint:
R
commandspnorm()
,qnorm()
, anddnorm()
are useful.
- (a) Draw and label the cumulative distribution function of this model.
- (b) Approximate the probability that cholesterol levels of adult American women are over 200 mg/dL?
- (c) Approximate the probability that cholesterol levels of adult American women are between 155 and 170 mg/dL?
- (d) Compute the interquartile range of the cholesterol levels.
- (e) Above what value are the highest 10% of the cholesterol levels of adult American women?
Dieses Beispiel ist als solved markiert. Ist dies falsch oder ungenau? Aktualisiere den Lösungsstatus (Details: Vorlage:Beispiel)
Hilfreiche Tipps[Bearbeiten | Quelltext bearbeiten]
Ähnliche Beispiele:
Lösungsvorschlag von Simplex[Bearbeiten | Quelltext bearbeiten]
(a)[Bearbeiten | Quelltext bearbeiten]
mean <- 188
standardDeviation <- 24
mg <- (mean - 3 * standardDeviation):(mean + 3 * standardDeviation)
p <- pnorm(mg,mean,standardDeviation)
#X11() #output in extra window
plot(mg,p,type='l', main="mg/dL")
(b)[Bearbeiten | Quelltext bearbeiten]
b <- 1 - pnorm(200, mean, standardDeviation)
(c)[Bearbeiten | Quelltext bearbeiten]
c <- pnorm(170, mean, standardDeviation) - pnorm(155, mean, standardDeviation)
(d)[Bearbeiten | Quelltext bearbeiten]
d <- qnorm(0.75, mean=mean, sd=standardDeviation) - qnorm(0.25, mean=mean, sd=standardDeviation)
(e)[Bearbeiten | Quelltext bearbeiten]
e <- qnorm(0.9, mean=mean, sd=standardDeviation)
--Simplex 20:24, 2. Feb. 2023 (CET)