RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

jerimey

jerimey Simons

Recently Published

Support Vector Machines & Nonlinear Classification in R
This assignment explores Questions 5, 7, and 8 from Chapter 9 of An Introduction to Statistical Learning with Applications in R. The analysis focuses on support vector machines (SVMs) and their application to classification problems in R. Topics include fitting support vector classifiers, evaluating model performance, examining the effects of tuning parameters and kernels, and interpreting classification results.
Decision Trees, Random Forests & Ensemble Learning in R
This assignment covers Questions 3, 8, and 9 from Chapter 8 of An Introduction to Statistical Learning with Applications in R. The exercises explore tree-based methods for regression and classification, including decision trees, bagging, random forests, and boosting.
Nonlinear Predictive Modeling & Model Flexibility in R
This assignment covers Questions 6 and 10 from Chapter 7 of An Introduction to Statistical Learning with Applications in R. The exercises explore moving beyond linearity by applying flexible modeling approaches that can capture nonlinear relationships between predictors and response variables.
Feature Selection, Regularization & Dimension Reduction in R
This assignment explores Chapter 6 of An Introduction to Statistical Learning with Applications in R, focusing on linear model selection and regularization. The chapter introduces methods for improving model accuracy and interpretability by selecting an appropriate subset of predictors or constraining coefficient estimates.
Cross-Validation, Bootstrapping & Model Evaluation in R
This assignment covers Questions 3, 5, 6, and 9 from Chapter 5 of An Introduction to Statistical Learning with Applications in R. The exercises focus on resampling methods, particularly cross-validation and the bootstrap, and demonstrate how these techniques can be used to evaluate model performance and estimate uncertainty. The analysis applies resampling techniques in R, including validation-set approaches, leave-one-out cross-validation (LOOCV), k-fold cross-validation, and bootstrap methods.
Classification Modeling & Predictive Performance Analysis in R
This assignment covers Questions 13, 14, and 16 from Chapter 4 of An Introduction to Statistical Learning with Applications in R. The exercises focus on classification methods, examining how statistical models can be used to predict categorical outcomes based on a set of predictor variables. The analysis applies classification techniques in R, including logistic regression, linear discriminant analysis (LDA), quadratic discriminant analysis (QDA), and K-nearest neighbors (KNN). Model performance is evaluated using measures such as classification accuracy, error rates, and confusion matrices.
Linear Regression Modeling & Predictive Analysis in R
This assignment covers Questions 2, 9, 10, and 12 from Chapter 3 of An Introduction to Statistical Learning with Applications in R. The exercises focus on linear regression, including the interpretation of regression coefficients, evaluation of relationships between predictors and response variables, and assessment of model fit. The analysis applies simple and multiple linear regression techniques in R while examining concepts such as coefficient interpretation, statistical significance, interactions, residual analysis, and potential model limitations.