Question: Make a column of categorical data for Age Level. Code just two levels: 2 5 and under, 2 6 and older. Make a column of
Make a column of categorical data for Age Level. Code just two levels: and under, and older.
Make a column of categorical data for Discount level. Code these levels: or less, to to and higher.
Perform Naive Bayes. Put the two variables you just made, plus sex into the X factor box.
Report the accuracy, specificity, sensitivity and precision rates on the validation data of this model.
Hint: always do this on the validation data set.
Write your answers with digits after the decimal, including any leading and trailing zeros. If your answer is fifty percent, write
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
