Question

In: Statistics and Probability

In a certain country, 15% of the female adult population smoke regularly. In a random sample...

In a certain country, 15% of the female adult population smoke regularly. In a random sample of 1,000 adults, what is the probability that:

a) Less than 125 are smokers? Use the normal approximation to the binomial.

b) 150 or more are smokers? Use the normal approximation to the binomial.

c) Find answers to (a) and (b) using the binomial distribution and R. Copy and paste the code and the answer into your document.

Solutions

Expert Solution

Mean number of smokers among slected females=0.15*1000=150, which is also the mean of approximate normal distribution.

Variance=1000*0.15*0.85=127.5

now number of smokers approximatey follows normal distrinution with mean =150, variance =127.5

R code For calculating part (a) and (b):::

#for part (a)
p1=pnorm(125,150,sqrt(127.5))
p1
#for part (b)
print("above is answer for part (a)")
p2=1-pnorm(150,150,sqrt(127.5))
p2
print("above is answer for part (b)")
#for part (c)
#now for the binomial model:::::::::
#for part (a)
P1=pbinom(125,1000,0.15)
P1
#for part (b)
print("above is answer for part (a)")
P2=1-pbinom(149,1000,0.15)
P2
print("above is answer for part (b)")

OUTPUT:::::::::

#for part (a)
> p1=pnorm(125,150,sqrt(127.5))
> p1
[1] 0.01341311
> #for part (b)
> print("above is answer for part (a)")
[1] "above is answer for part (a)"
> p2=1-pnorm(150,150,sqrt(127.5))
> p2
[1] 0.5
> print("above is answer for part (b)")
[1] "above is answer for part (b)"
> #for part (c)
> #now for the binomial model:::::::::
> #for part (a)
> P1=pbinom(125,1000,0.15)
> P1
[1] 0.01349891
> #for part (b)
> print("above is answer for part (a)")
[1] "above is answer for part (a)"
> P2=1-pbinom(149,1000,0.15)
> P2
[1] 0.5135419
> print("above is answer for part (b)")
[1] "above is answer for part (b)"


Related Solutions

The probability of a random adult in one country being selected with a certain virus is...
The probability of a random adult in one country being selected with a certain virus is 0.003. In the tests for the virus, blood samples from 27 people are collected. What is the probability that the combined sample tests positive? Is it unlikely for such a combined sample to test positive? Note that the combined sample tests positive if at least one person has the virus.
if a country had an adult population (those 15 years of age and over) of 200...
if a country had an adult population (those 15 years of age and over) of 200 million and a labor force of 160 million, and 140 million people were employed, what would be its labor force participation rate and its unemployment rate? b. If 20 million new jobs were created in the country and it attracted to the labor force 20 million of the people who were previously not in the labour force, what would be its new labour force...
if a country had an adult population (those 15 years of age and over) of 200...
if a country had an adult population (those 15 years of age and over) of 200 million and a labor force of 160 million, and 140 million people were employed, what would be its labor force participation rate and its unemployment rate? b. If 20 million new jobs were created in the country and it attracted to the labor force 20 million of the people who were previously not in the labour force, what would be its new labour force...
In a certain population, 25% of the person smoke and 7% have a certain type of...
In a certain population, 25% of the person smoke and 7% have a certain type of heart disease. Moreover, 10% of the persons who smoke have the disease. What percentage of the population smoke and have the disease? What percentage of the population with the disease also smoke?
A random sample with 150 students has 45 female students. Estimate the population proportion of female...
A random sample with 150 students has 45 female students. Estimate the population proportion of female students at the 99% level of confidence. a. Find the right boundary of the estimation? b. Find the margin of error.
In a simple random sample of 1600 people age 20 and over in a certain​ country,...
In a simple random sample of 1600 people age 20 and over in a certain​ country, the proportion with a certain disease was found to be 0.110 ​(or 11.0​%). Complete parts​ (a) through​ (d) below. a. What is the standard error of the estimate of the proportion of all people in the country age 20 and over with the​ disease? SE est=Answer______ (Round to four decimal places as​ needed.) b. Find the margin of​ error, using a​ 95% confidence​ level,...
In a simple random sample of 1000 people age 20 and over in a certain​ country,...
In a simple random sample of 1000 people age 20 and over in a certain​ country, the proportion with a certain disease was found to be 0.160 ​(or 16.0​%). Complete parts​ (a) through​ (d) below. A. What is the standard error of the estimate of the proportion of all people in the country age 20 and over with the​ disease? B. Find the margin of​ error, using a​ 95% confidence​ level, for estimating this proportion. C. Report the​ 95% confidence...
A random sample of size 15 is taken from a population assumed to be normal, with...
A random sample of size 15 is taken from a population assumed to be normal, with sample mean = 1.2 and sample variance = 0.6. Calculate a 95 percent confidence interval for population mean.
The population data for a certain country are as follows:
The population data for a certain country are as follows: Obtain a function that describes these data. Plot the function and the data on the same plot. Estimate when the population will be double its 2004 size.
A random sample of n = 15 heat pumps of a certain type yielded the following...
A random sample of n = 15 heat pumps of a certain type yielded the following observations on lifetime (in years): 2.0     1.4     6.0     1.9 5.2 0.4     1.0     5.3 15.6 0.9 4.8 0.9     12.4     5.3 0.6 (a) Assume that the lifetime distribution is exponential and use an argument parallel to that of this example to obtain a 95% CI for expected (true average) lifetime. (Round your answers to two decimal places.)   , years (b) How should the interval of part...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT