Question: Please copy r code 2. The text file carseats.txt is a data set containing sales of child car seats at different stores. It consists of
Please copy r code

2. The text file "carseats.txt" is a data set containing sales of child car seats at different stores. It consists of 11 variables. Use either prop.test!) or t test[) to answer following question. Urban: Yes and No indicate whether the store is in an urban or rural area. Price: Price company charges for car seats at each location. CompPrice: Price charged by competitor at each location. a) Find the 95% confidence interval to estimate the population proportion of store located in rural area. b) Studies found that less than 30% of stores are located in the Urban. State null and alternative hypotheses and perform the hypothesis test. c) Find 95% confidence interval to estimate the population mean of car seats price
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
