Publications by Yunting Chiu
Tree-Based Methods
In this assignment, I will be using Tidymodels framework instead of base R. 1 Exercise 1 (10 points) Suppose we fit a curve with basis functions \(b_1(X) = X\), \(B_2(X) = (X - 1)^2 I(X \geq 1)\). Note that \(I(X \geq 1)\) equals 1 for \(X \geq 1\) and 0 otherwise. We fit the linear regression model \[Y = \beta_0 + \beta_1b_1(X) + \beta_2b_2(X) ...
7006 sym R (8817 sym/30 pcs) 6 img
Data Analyst Case Study
Install the packages library(tidyverse) # tidy data ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.1 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.1.2 ✓ dplyr 1.0.6 ## ✓ tidyr 1.1.3 ✓ stringr 1.4...
11396 sym R (25705 sym/132 pcs) 14 img