Question: Use the appropriate function to read the following data into R as a data frame named lab9.data: CLICK HEREDownload CLICK HERE The data set represents
Use the appropriate function to read the following data into R as a data frame named lab9.data: CLICK HEREDownload CLICK HERE The data set represents several attributes on data breaches across several organizations. It includes 500 observations and 12 variables. The names and descriptions of each variable in the data set is provided below. event_ID: used to label each event data_type: the type of data breached num_people (in millions): the number of people impacted by a data breach, expressed in millions num_people_v2: coded version of the variable num_people num_records (in millions): the number of records breached, expressed in millions per_sensitive: percent of sensitive data breached per_sensitive_v2: coded version of the variable per_sensitive dys_impact: the length of the negative financial impact from the data breach dys_detect: the number of days it takes to detect the breach dys_detect_v2: coded version of the variable dys_detect cost_controls (in millions): the amount of money spent on security controls, expressed in millions cost_controls_v2: coded version of the variable cost_controls Flag question: Question 1 Question 14 pts Use R to evaluate whether the number of records breached ("num_records") can be used to predict the amount of money spent on security controls ("cost_controls_v2"). When creating your regression model be sure to name it lab9.reg. Complete the blanks below with the missing syntax statements used in R to run, create, and output the regress
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
