---
title: "STAT 8670: Assignment 5 Responses"
author: "Your name"
format:
  pdf:
    documentclass: scrartcl
    fontsize: 11pt
    geometry: margin=1in
---

**Due date:** Monday, December 7, 2026\
**Total:** 30 points

Submit this source and its rendered PDF to **Assignment 5** on **iCollege**. Name the files `A5_LastName_FirstName.qmd` and `A5_LastName_FirstName.pdf`. Follow the [assignment instructions](https://chikuang.github.io/teaching/2026F_stat8670/Assignment5.html). Replace the placeholders below. Keep all question labels.

- **Questions 1-2:** Enter one letter per item.
- **Questions 3-4:** Show calculations and give brief explanations.
- **Question 5:** Explain two errors. Give corrected R lines and their locations. You do not need to run the code.
- Round numerical answers to three decimals only at the end. Report counts as integers.
- No simulation or plots are required. Put any R calculations in executable chunks. If you run a simulation, set `set.seed(8670)` once before its repetitions.

## Question 1: Cross-Validation [6]

- **1a [1]:** [Your letter.]
- **1b [1]:** [Your letter.]
- **1c [1]:** [Your letter.]
- **1d [1]:** [Your letter.]
- **1e [1]:** [Your letter.]
- **1f [1]:** [Your letter.]

## Question 2: Jackknife and Bootstrap [6]

- **2a [1]:** [Your letter.]
- **2b [1]:** [Your letter.]
- **2c [1]:** [Your letter.]
- **2d [1]:** [Your letter.]
- **2e [1]:** [Your letter.]
- **2f [1]:** [Your letter.]

{{< pagebreak >}}

## Question 3: Comparing Prediction Methods [6]

### 3a [2]

[Your weighted CV MSE calculations for A and B.]

### 3b [2]

[Your selected procedure and explanation of the weighting.]

### 3c [2]

[Your test MSE calculation and one reason it can differ from CV MSE.]

## Question 4: Estimator Uncertainty [8]

### 4a [2]

[Your jackknife SE and bias calculations.]

### 4b [2]

[Your bias-corrected estimate and explanation about MSE.]

### 4c [2]

[Your bootstrap SE and bias calculation.]

### 4d [2]

[Your two percentile endpoints and explanation of the interval's target.]

{{< pagebreak >}}

## Question 5: Checking a CV Implementation [4]

### 5a [2]

[Your first error, why it matters, and corrected R line(s) with their placement.]

### 5b [2]

[Your second error, why it matters, and corrected R line(s) with their placement.]

Show the corrections as inline code or a plain R code block. Do not use an executable chunk. You do not need to supply `dat` or a numerical CV score.
