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

Recently Published

Week 4: NYPD Shooting Data Analysis
For this week's assignment, we learned how to use R Markdown. Being uploaded is my assignment/first time using R Markdown.
M1 Application 3Document
homework
Assignment 6 Q1
Assignment 6 Q1
Document
Assignment 4
R_Practice
Heinsbroek Lab R practice
Infografia ID032
Ficha técnica de la tortuga juvenil de la especie Chelonia mydas monitoreada por el CEA en la bahía de Akumal durante 2024-2025.
Document
example_quarto_2025
Regularization & Dimension Reduction in Regression: A Comparison of Ridge, LASSO, and PLS
This assignment applies three modern regression techniques—Ridge, LASSO, and Partial Least Squares (PLS)—to a real dataset with 10+ predictors and a continuous outcome. You will review the core ideas and formulas behind each method, then use R to fit the models, tune hyper-parameters via cross-validation, and generate coefficient tables, selection metrics (e.g., RMSE, MAE, R²), and diagnostic plots. The analysis compares which variables LASSO retains or removes, how Ridge and PLS address multicollinearity differently, and which approach yields the strongest predictive performance.