Publications by Jose Fernandez, Rudy Martinez, Brenda Parnin
Assignment 4_Resampling Models
Chapter 05 (page 197): 3, 5, 6, 9 3. We now review k-fold cross-validation. (a) Explain how k-fold cross-validation is implemented. k-fold cross validation is determined by the randomly dividing the amount of observations into k groups in approx equal sizes. The first group or fold is treated as the validation set and the method is fit on the ...
6545 sym R (7253 sym/52 pcs)
Assignment 6_Moving Beyond Linearity
Chapter 07 (page 297): 6, 10 6. In this exercise, you will further analyze the Wage data set considered throughout this chapter. (a) Perform polynomial regression to predict wage using age. Use cross-validation to select the optimal degree d for the polynomial. What degree was chosen, and how does this compare to the results of hypothesis testi...
2495 sym R (7320 sym/39 pcs) 6 img
Assignment 7_Tree-Based Methods
Chapter 08 (page 332): 3, 8, 9 3. Consider the Gini index, classification error, and entropy in a simple classification setting with two classes. Create a single plot that displays each of these quantities as a function of ˆpm1. The xaxis should display ˆpm1, ranging from 0 to 1, and the y-axis should display the value of the Gini index, class...
4072 sym R (5977 sym/50 pcs) 8 img
Assignment 8_Support Vector Machines
Chapter 09 (page 368): 5, 7, 8 5. We have seen that we can fit an SVM with a non-linear kernel in order to perform classification using a non-linear decision boundary. We will now see that we can also obtain a non-linear decision boundary by performing logistic regression using non-linear transformations of the features. (a) Generate a data set...
4944 sym R (16814 sym/80 pcs) 8 img
Kaplan-Meier
Survival Analysis Brenda Parnin 03/02/2022 Libraries library(lemon) library(png) library(EBImage) library(tinytex) library (survival) library(survminer) knit_print.data.frame <- lemon_print Krusty the Clown Disease You are analyzing a 16 day study of patients who have Krusty the Clown disease. Your data includes a subject ID, their surviv...
2731 sym R (2608 sym/20 pcs) 2 img