Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For this lab you will be using R to evaluate whether the type of data breached (data_type) has an impact on the financial loss incurred
For this lab you will be using R to evaluate whether the type of data breached ("data_type") has an impact on the financial loss incurred by organizations ("fin_loss"). Enter the code needed to do this. Use either the factor () function (my way) or the contr.treatment() function (the text's way) in R to properly prepare the data frame before generating this regression model. Use "identity" as your comparison group. (Note: if you do the text's method, you can assume the variable is already a factor).
Can I upload the associated CSV file?