Assignments


Final: (due in Canvas by Friday March 13, 2026 or end of finals week.)


Homework06: (due in Canvas by Monday March 9, 2026 or end of finals week.)

Upload two files to Canvas. Your .pdf or .doc and your .qmd files. Do not upload a .zip file!

Do the following:


Complete your project in an R Project folder.

Upload two files to Canvas, your .pdf or .doc and your .qmd files. Do not submit a .zip file. Your .qmd file will have a table-of-contents that clearly shows the project you worked on and each question should be include in the table-of-contents.

Complete one of the following projects:

Project 1

Determine which countries are the BRICKS Countries, provide a list. Modify the code the Quiz to make the same plots for the BRICKS Countries and compare them to the United States. Forecast the GDP per capita for each country and plot the forecasts for each country and the United States on one plot or using the same scales and faceted.

Write a summary of your findings.

Project 2

From Section 9.11 Exercise Problem 11

Project 3

Use the tidyquant R package to download data for Bitcoin and 3 other cryptocurrencies. Plot the data and forecast the price of each cryptocurrency for the next 12 months using Prophet. Plot the forecasts for each cryptocurrency on the same plot or using the same scales and faceted.

Write a summary of your findings.

Project 4

Vibe code or use Agentic Programming to build a Treliscope collection of time series visualizations with forecasts. You may use the aus_retail from the Midterm or another dataset from the book you are interested in using. To get started try the example from the website that uses the gapmider data. You can use Gemini or ChatGPT for Vibe Coding. Or use either Google Antigravity or Alibaba Qoder for Agentic Programming to write the code for you.

In a report, explain how you used Vibe Coding or how you used the Agentic Programming tool to write the code for you. Include the prompts you used and the code that was generated. Also, include a discussion of the time series plot that were generated by the Agentic Programming tool. Which model was best? How did you determine which model was best? What are the implications of your findings?

Example of Vibe Coding Prompt: “Write R code to create a Treliscope collection of time series visualizations with forecasts using the aus_retail dataset from the fpp3 package. The Treliscope collection should include a plot of the original time series data and a plot of the forecasts for each series. The code should be well commented and include explanations of each step.”


Homework05: (complete by Monday March 2, 2026)

  • Using the provided R Project, rename the file lastname_firstname_Stat474_Homework05.qmd using your own last name and first name in the filename.

  • Stat674_Homework05.zip

Before submitting your files in Canvas evaluate your files using an AI such as ChatGPT or Gemini to evaluate if you have followed the guidelines. Here is a suggested prompt to use after uploading the Homework_Guidelines.qmd file to the AI and your .qmd and .html file for the assignment.

Prompt: “Please review my homework that is in the .html and .qmd files. Please compare these files to the guidelines provide in the guidelines.qmd file. Please score each part of each requirement on a 5 point scale. Please provide summary of the completeness my my homework and anything that needs to be fixed.”

Upload two files to Canvas. Your embed-resources: true .html and your .qmd files. DO NOT submit a .zip file! - Read: Read: Chapter 7 and Chapter 8

Do the following:

  • From Section 7.10 Exercises 1, 2
  • From Section 8.8 Exercises 5, 7

Midterm: (due in Canvas by Friday February 27, 2026)

  • Download and unzip the Midterm Quarto Project. Complete the exam in the Quarto Notebook. Render the Quarto Notebook to a .html file. Submit the .qmd file and either the .html or .pdf file on Canvas.

Homework04: (complete by Monday February 23, 2026)

  • Using the provided R Project, rename the file lastname_firstname_Stat474_Homework04.qmd using your own last name and first name in the filename.

  • Stat474_Homework04.zip

Before submitting your files in Canvas evaluate your files using an AI such as ChatGPT or Gemini to evaluate if you have followed the guidelines. Here is a suggested prompt to use after uploading the Homework_Guidelines.qmd file to the AI and your .qmd and .html file for the assignment.

Prompt: “Please review my homework that is in the .html and .qmd files. Please compare these files to the guidelines provide in the guidelines.qmd file. Please score each part of each requirement on a 5 point scale. Please provide summary of the completeness my my homework and anything that needs to be fixed.”

Upload two files to Canvas. Your embed-resources: true .html and your .qmd files. DO NOT submit a .zip file!

  • Read: Chapter 5 and Chapter 6

Do the following:

  • From Section 5.11 Exercises 3, 7

Homework03: (complete by Monday February 16, 2026)

  • Using the provided R Project, rename the file lastname_firstname_Stat474_Homework03.qmd using your own last name and first name in the filename.

  • Stat474_Homework03.zip

Before submitting your files in Canvas evaluate your files using an AI such as ChatGPT or Gemini to evaluate if you have followed the guidelines. Here is a suggested prompt to use after uploading the Homework_Guidelines.qmd file to the AI and your .qmd and .html file for the assignment.

Prompt: “Please review my homework that is in the .html and .qmd files. Please compare these files to the guidelines provide in the guidelines.qmd file. Please score each part of each requirement on a 5 point scale. Please provide summary of the completeness my my homework and anything that needs to be fixed.”

Upload two files to Canvas. Your embed-resources: true .html and your .qmd files. DO NOT submit a .zip file!

  • Read: Chapter 4 and Chapter 5

Do the following:

  • From Section 4.6 Exercises 1, 3
  • From Section 5.11 Exercises 1, 2

Quiz01: (due in Canvas by Friday February 13, 2026)

Before submitting your files in Canvas evaluate your files using an AI such as ChatGPT or Gemini to evaluate if you have followed the guidelines. Here is a suggested prompt to use after uploading the Homework_Guidelines.qmd file to the AI and your .qmd and .html file for the assignment.

Prompt: “Please review my homework that is in the .html and .qmd files. Please compare these files to the guidelines provide in the guidelines.qmd file. Please score each part of each requirement on a 5 point scale. Please provide summary of the completeness my my homework and anything that needs to be fixed.”

  • Download and unzip the Quiz01 Quarto Project. Complete the quiz in the Quarto Notebook. Render the Quarto Notebook to a .html file. Submit the .qmd file and .html file in Canvas.

Homework02: (complete by Monday February 9, 2026)

Using the provided R Project, rename the file lastname_firstname_Stat674_Homework01.qmd using your own last name and first name in the filename.

Before submitting your files in Canvas evaluate your files using an AI such as ChatGPT or Gemini to evaluate if you have followed the guidelines. Here is a suggested prompt to use after uploading the Homework_Guidelines.qmd file to the AI and your .qmd and .html file for the assignment.

Prompt: “Please review my homework that is in the .html and .qmd files. Please compare these files to the guidelines provide in the guidelines.qmd file. Please score each part of each requirement on a 5 point scale. Please provide summary of the completeness my my homework and anything that needs to be fixed.”

Upload two files to Canvas. Your embed-resources: true .html and your .qmd files. DO NOT submit a .zip file

  • Read: Chapter 3

Do the following:

  • From Section 3.7 Exercises 7, 8, 9, 10

Homework01: (due Monday February 2, 2026)

Using the provided R Project, rename the file lastname_firstname_Stat674_Homework01.qmd using your own last name and first name in the filename.

Before submitting your files in Canvas evaluate your files using an AI such as ChatGPT or Gemini to evaluate if you have followed the guidelines. Here is a suggested prompt to use after uploading the Homework_Guidelines.qmd file to the AI and your .qmd and .html file for the assignment.

Prompt: “Please review my homework that is in the .html and .qmd files. Please compare these files to the guidelines provide in the guidelines.qmd file. Please score each part of each requirement on a 5 point scale. Please provide summary of the completeness my my homework and anything that needs to be fixed.”

Upload two files to Canvas. Your embed-resources: true .html and your .qmd files. DO NOT submit a .zip file!

  • Read: Preface, Chapter 1, Chapter 2, and Appendix: Using R
  • Download an install the current version of R and RStudio.

Do the following:

  • From Section 2.10 Exercises 1, 4, 7, 8