Question

*ANSWER USING R-SCRIPT* We desire to know the probability that a voter supports a controversial rose...

*ANSWER USING R-SCRIPT*

We desire to know the probability that a voter supports a controversial rose proposal. From a random sample of 3100, x =1331 voters support the rose proposal. Let phat be the sample proportion supporting the rose proposal. Answer the following:

a) what is the variance of p hat

b) As a function of p, what is the standard deviation of p hat

c) Calculate p hat

d) Let ptot be the random variable representing the voters in the sample who support the rose proposal. As a function of p, what is the standard deviation of ptot?

e) Calculate a classical 96% confidence interval for p

f) What is the critical value for an approximate classical 94 percent confidence interval for p?

g) What is the length of the 96% confidence interval for p?

h) Assuming the same phat value, what sample size would have made the 96% confidence interval for p to have a length of .08 or less?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

>N-3100 > x-1331 > phat=x/N > ## PART-A > var phat-phat (1-phat)/N > var phat [1] 7.903525e-05 > ## PART-B > stdev_phat-sqrt

Add a comment
Know the answer?
Add Answer to:
*ANSWER USING R-SCRIPT* We desire to know the probability that a voter supports a controversial rose...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please solve the questions using R language and attach the script with it!!! zoom it if...

    Please solve the questions using R language and attach the script with it!!! zoom it if the picture is not clear. Please solve the questions using R language and attach the script with it!!! Please solve the questions using R language and attach the script with it!!! What is the probability that a penny I have will land "heads" when tossed? To analyze this question I randomly toss the coin, n=3901 times. On x = 2500 of these tosses, the...

  • PLEASE INSERT R SCRIPT We wish to compare the expected values, μΧ andHy of two independent...

    PLEASE INSERT R SCRIPT We wish to compare the expected values, μΧ andHy of two independent normal populations, say X and Y, with known standard deviations σχ-8.3 and Ơy-10.1 . we take a random sample of size 13 from X ( X1M, ,x13 ) and a random sample of size 7 from Y ( Yi,½, , ) as follows: X: 0.54, -3.67, 1.41, 23.51, 20.77, 15.90, 16.70, 2.48, 12.27, 2.64, 22.12, 14.03, 17.80 Y: 21.22, 12.61, 15.04, 14.51, 10.91, -4.90,...

  • In a survey of 500 likely voters, 271 responded that they would vote for the incumbent...

    In a survey of 500 likely voters, 271 responded that they would vote for the incumbent and 229 responded that they would vote for the challenger. Let pp denote the fraction of all likely voters who preferred the incumbent at the time of the survey, and let p^p^ be the fraction of survey respondents who preferred the incumbent. a. Construct a 95% confidence interval for pp. Keep in mind that you should calculate the standard error making no assumptions of...

  • I only need #'s 8 and 22, note 22 is not A and 8 is not...

    I only need #'s 8 and 22, note 22 is not A and 8 is not 606 QUESTION 7 50 An algebra placement test was used to determine placement in mathematics courses. A sample of calculus students gave 50 scores. It is known 2 It is known 2 Xi x = 20 i=1 00, X;= 821. Use the sample i = 1 standard deviation as the population deviation. If you want to be captured in a 96% confidence interval with...

  • A manufacturer produces 25-pound lifting weights. The lowest actual weight is 24 pounds, and the highest...

    A manufacturer produces 25-pound lifting weights. The lowest actual weight is 24 pounds, and the highest is 26 pounds. Each weight is equally likely so the distribution of weights is uniform. A sample of 100 weights is taken. a. What is the distribution for the weights of one 25-pound lifting weight? What is the mean and standard deviation? b. What is the distribution for the mean weight of 100 25-pound lifting weights? c. Find the probability that the mean actual...

  • STA2221 examples on CI & Testing of Hypothesis Name MULTIPLE CHOICE. Choose the one alternative that...

    STA2221 examples on CI & Testing of Hypothesis Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answer the question Provide an appropriate response. 1) Find the critical value,te for 0.99 and n-10. A) 3.250 B) 3.169 1.833 D) 2.262 2) Find the critical value to forc=0.95 and n=16. A) 2.947 B) 2.602 2120 D) 2.131 3) Find the value of E, the margin of error, for A) 1.69 B) 0.42 0.99, n=16 and s=2.6. C)...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT