Question

In: Statistics and Probability

Comparing two proportions The following table gives the records of accidents in 1998 compiled by the...

Comparing two proportions The following table gives the records of accidents in 1998 compiled by the Department of Highway Safety and Motor Vehicles in Florida. Injury Safety Equipment in Use Fatal Nonfatal None 1601 162,527 Seat belt 510 412,368 Denote the number of accidents and fatalities when no safety equipment was in use by nN and yN, respectively. Similarly, let nS and yS denote the number of accidents and fatalities when a seat belt was in use. Assume that yN and yS are independent with yN distributed as binomial(nN, pN) and yS distributed as binomial(nS, pS). Assume a uniform prior is placed on the vector of probabilities (pN, pS). a) Show that pN and pS have independent beta posterior distributions. b) Use the function rbeta to simulate 1000 values from the joint posterior distribution of (pN, pS). c) Using your sample, construct a histogram of the relative risk pN/pS. Find a 95% interval estimate of this relative risk. d) Construct a histogram of the difference in risks pN − pS.

Solutions

Expert Solution


Related Solutions

The following table is based on records of accidents in 1988 compiled by the Department of Highway Safety and Motor Vehicles in Florida. Find a
 The following table is based on records of accidents in 1988 compiled by the Department of Highway Safety and Motor Vehicles in Florida. Find a95% CI for the relative risk. Conduct a test H0 : θ = 1 against Ha : θ ≠ 1 by using α = 0.05. 
The table below is based on records of accidents in 1988 compiled by the Department of Highway Safety and Motor Vehicles in Florida.
 The table below is based on records of accidents in 1988 compiled by the Department of Highway Safety and Motor Vehicles in Florida. The analyst would like to know if there is a relationship between Injury type and seatbelts a. Would you consider this an experiment? Do you think that these data were collected as part of an experiment? Explain b. Give the null and alternative for the test c. Use the chi-square test to run the test at a = 0.05 d. Give...
Comparing two population proportions. We expect that there is no difference in proportion of status of...
Comparing two population proportions. We expect that there is no difference in proportion of status of employment between male and female recent business graduates. a) insert a frequency table and a bar chart or a pie chart labeled properly. USING EXCEL b) Perform hypothesis test: Calculate the P-value and make the conclusion (reject or fail to reject Ho). Insert Excel software output. C) Calculate the corresponding confidence interval and check if the conclusion is the same Status Gender Part-time F...
The following gives the number of accidents that occurred on Florida State Highway 101 during the...
The following gives the number of accidents that occurred on Florida State Highway 101 during the last 4​ months:                                                                                                   Month Jan Feb Mar Apr Number of Accidents 25 45 70 105 Using the least-squares regressionLOADING... ​method, the trend equation for forecasting is ​(round your responses to two decimal ​places)​: ModifyingAbove y with caret ​= nothing ​+ nothingx
The following two-way contingency table gives the breakdown of the population of adults in a particular...
The following two-way contingency table gives the breakdown of the population of adults in a particular locale according to employment type and level of life insurance: Level of Insurance Employment Type Low Medium High Unskilled 0.07 0.19 0.00 Semi-skilled 0.04 0.28 0.08 Skilled 0.03 0.18 0.05 Professional 0.01 0.05 0.02 An adult is selected at random. Find each of the following probabilities. a. The person has a high level of life insurance. b. The person has a high level of...
Consider the following table, which gives a security analyst’s expected return on two stocks in two...
Consider the following table, which gives a security analyst’s expected return on two stocks in two particular scenarios for the rate of return on the market: Market Return Aggressive Stock Defensive Stock 5 % –3 % 4 % 24 36 9 a. What are the betas of the two stocks? (Do not round intermediate calculations. Round your answers to 2 decimal places.) Agressive stock: Defensive stock b. What is the expected rate of return on each stock if the two...
Consider the following table, which gives a security analyst’s expected return on two stocks in two...
Consider the following table, which gives a security analyst’s expected return on two stocks in two particular scenarios for the rate of return on the market: Market Return Aggressive Stock Defensive Stock 6 % –4 % 3 % 21 34 9 a. What are the betas of the two stocks? (Do not round intermediate calculations. Round your answers to 2 decimal places.) Beta Aggressive stock Defensive stock b. What is the expected rate of return on each stock if the...
Consider the following table, which gives a security analyst’s expected return on two stocks in two...
Consider the following table, which gives a security analyst’s expected return on two stocks in two particular scenarios for the rate of return on the market: Market Return Aggressive Stock Defensive Stock 6 % –4 % 3 % 21 34 9 a. What are the betas of the two stocks? (Do not round intermediate calculations. Round your answers to 2 decimal places.) Beta Aggressive Stock Defensive Stock b. What is the expected rate of return on each stock if the...
Consider the following table, which gives a security analyst's expected return on two stocks for two...
Consider the following table, which gives a security analyst's expected return on two stocks for two particular market returns:   Market Return Aggressive Stock Defensive Stock 6.76 % 3.76 % 2.01 % 21.26 30.51 13.76    Required: (a) What are the betas of the two stocks? (Round your answers to 2 decimal places.)   Beta A       Beta D     (b) What is the expected rate of return on each stock if the market return is equally likely to be 6.76% or...
The accountant of Teal Shoe Co. has compiled the following information from the company’s records as...
The accountant of Teal Shoe Co. has compiled the following information from the company’s records as a basis for an income statement for the year ended December 31, 2017. Rent revenue $31,400 Interest expense 20,400 Market appreciation on land above cost 33,400 Salaries and wages expense (selling) 117,200 Supplies expense (selling) 20,000 Income tax 39,800 Salaries and wages expense (administrative) 138,300 Other administrative expenses 54,100 Cost of goods sold 498,400 Net sales 982,400 Depreciation on plant assets (70% selling, 30%...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT