Question: please use r code 4. Suppose we are interested in exploring the relationship between city air particulate and rates of child- hood asthma. We sample

please use r code

4. Suppose we are interested in exploring the relationship between city air particulate and rates of child- hood asthma. We sample 15 cities for particulate measured in parts-per-rnillion (ppm) of large partic- ulate matter and for the rate of childhood asthma measured in percents. The data are as follows (and are also given in asthma..csv): particulate (x) 11.6 15.9 15.7 7.9 6.3 13.7 13.1 10.8 6.0 7.6 14.8 7.4 16.2 13.1 11.2 asthma%(y) 14.5 16.6 16.5 12.6 12.0 15.8 15.1 14.2 12.2 13.1 16.0 12.9 16.4 15.4 14.4 Mean Stande Dev. 11.42 3.613 asthma 14.513 1.623 (a) Plot the data as you see t and summarize the patterns shape, direction, and strength in the context of the problem. (b) Calculate the correlation coefcient by hand and explain how the value corresponds to what you observed in the graph in part (a). (c) Build a linear regression model with least squares estimators for slope and y intercept for the data by hand, using the correlation you calculated above. Check your answers with the R In: function. (d) Interpret the estimated intercept and slope in the context of the question. (e) What are the necessary assumptions for linear regression? Graphically assess whether these assumptions are met
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
