Question: Please write code in R The state of Florida is in the midst of a homeowners insurance crisis, with insurance costs skyrocketing and pricing many
Please write code in R
The state of Florida is in the midst of a homeowners insurance crisis, with insurance costs skyrocketing and pricing
many homeowners out of the market. More and more homeowners are resorting to self-insurance, saving money that
would be spent on insurance in the hopes that the savings can cover any issues that arise that would normally fall
under an insurance policy. (Some people might call this 'not having insurance', but sure, let's go with 'self-insurance'.)
A survey of 487 Florida homeowners found that 82 of those surveyed reported relying on self-insurance.
a) Based on the sample proportion found, what is the estimated standard error of the distribution of p? Save
your answer in the variable q2.a
b) Calculate a 90% confidence interval for the true proportion of Florida homeowners who rely on self-insurance.
(Your answer should be formatted similarly to the function output, if done by hand). Save your answer in the
variable q2.b
c) If the true proportion of Florida homeowners relying on self-insurance were p =.177, what is the true standard
error of the distribution of p? Save your answer in the variable q2.c
d) If the true proportion of Florida homeowners relying on self-insurance were p =.177, what is the probability
that the interval you found in q2.b contains the true proportion? Save your answer in the variable q2.d
e) If the true proportion of Florida homeowners relying on self-insurance were p =.202, what is the true standard
error of the distribution of p? Save your answer in the variable q2.e
f) If the true proportion of Florida homeowners relying on self-insurance were p =.202, what is the probability a
95% interval constructed from the sample used in q2.b would contains the true proportion? Save your answer
in the variable q2.f
g) If the true proportion of Florida homeowners relying on self-insurance were p =.202, what is the probability a
95% interval constructed from a new sample of size 487 would contains the true proportion? Save your answer
in the variable q2.g
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
