1. Read the challenger.csv file into R as a dataframe. Set StringsAsFactors=TRUE 2. How many variables, rows and columns are there in the dataframe? Enter your answer as a comment. 3. Estimate beta (slope) value manually, with temperature as the independent variable and distress_ct as the dependent variable. Print the beta value. 4. Estimate alpha (intercept) value manually, with temperature as the independent variable and distress_ct as the dependent variable. Print the alpha value. 5. Define alpha and beta in this context. Enter your answer as a comment. 6. Calculate the correlation with temperature as the independent variable and distress_ct as the dependent variable. You can use either of the methods we discussed in class. Print the correlation value. 7. Explain the significance of the correlation in this context. Enter your answer as a comment. 8. Build the regression model with temperature as the independent variable and distress_ct as the dependent variable. 9. Output the regression coefficient. 10. Do a summary on the regression model. Please submit a. R script. Files submitted in any other format won’t be evaluated.
