Question: Use the data set described to test the following question in R: Can business type (bus_type) and the priority assigned to information security by the
Use the data set described to test the following question in R: Can business type ("bus_type") and the priority assigned to information security by the top management team ("priority") effectively predict whether or not a staff breach will occur ("staff_breach")? Complete the blanks in the syntax below to test this relationship in R. #Loads the required package for the analysis library( ) #Converts the data into a contingency table table = (~ bus_type + priority + , data = ) #Runs models 0 to 8 model0 = (~ bus_type + priority + staff_breach + bus_type:priority + priority:staff_breach + bus_type:staff_breach + bus_type:priority: , data = , fit = TRUE) model1 = loglm(~ bus_type + priority + staff_breach + bus_type:priority + priority:staff_breach + , data = table, fit = TRUE) model2 = loglm(~ bus_type + priority + staff_breach + bus_type:priority + , data = table, fit = TRUE) model3 = loglm(~ bus_type + priority + staff_breach + bus_type:priority + bus_type:staff_breach, data = table, fit = TRUE) model4 = loglm(~ bus_type + priority + staff_breach + priority:staff_breach + bus_type:staff_breach, data = table, fit = TRUE) model5 = loglm(~ bus_type + + bus_type:priority, data = table, fit = TRUE) model6 = loglm(~ priority + staff_breach + , data = table, fit = TRUE) model7 = loglm(~ bus_type + staff_breach + , data = table, fit = TRUE) model8 = loglm(~ bus_type + + staff_breach, data = table, fit = TRUE)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
