Applied Statistics Course Textbook source: https://github.com/daviddalpiaz/appliedstats autodeploys to gh pages via travis: https://daviddalpiaz.github.io/appliedstats gh-pages branch: https://github.com/daviddalpiaz/appliedstats/commits/gh-pages Auto-output commit example: https://github.com...
Rather than citing statistics for housing construction, for instance, illustrate the same statistical concept you are teaching by inventing statistics about something students gossip about, like how often a certain pop star appears in public without make-up. 2.23 Make Them Guess Introduce a new ...
#Let's try another probability trashold and see how the model behaves# Apply threshold of 0.9: p_classp_class<-ifelse(prediction_p$M>0.9,"M","R")# Create confusion matrixconfusionMatrix(p_class,test$Class) ## Confusion Matrix and Statistics ## ## Reference ## Prediction M R ## M ...