Instructor Information

Instructor: Isaac Quintanilla Salinas

Email: iquin002 [AT] ucr [DOT] edu

Office Hours: MW 9 AM - 11 AM

TA: Dylan Friel

Email: dfriel001 [AT] ucr [DOT] edu

Office Hours: Tuesday: 10 AM - 12 PM PDT

Course Information

Course Meetings

All office hours and meetings will occur on zoom. Please visit canvas for zoom information.

Course Meeting Times

Lecture

Meeting Times: MW 8-11 AM (Asynchronously)

Discussion

Meeting Times: MW 11 AM - 12 PM

Course Description

Introduction to Statistical Computing: 4 Units; Lecture, 3 hours; discussion, 1 hour. Prerequisite(s): STAT 100A or equivalent. Introduction to computer-assisted data analysis and statistical inference using both the R and SAS packages. Topics include input, output, and editing of data; graphical procedures; descriptive statistics; cross-tabulation; inferential statistical techniques including estimation and testing; and analysis of variance.

Course Materials

Software

For this course, we will use R and RStudio. Please download and install on your computer.

Textbooks (Optional)

  • R Cookbook, 2nd edition (2019), J.D. Long and Paul Teetor, ISBN: 978-1492040682. An electronic copy of the textbook is freely available at https://rc2e.com/.

  • R Graphics Cookbook: Practical Recipes for Visualizing Data, 2nd edition (2020), Winston Chang, ISBN: 978-1491978603. An electronic copy of the textbook is freely available at https://r-graphics.org/.

  • R Markdown: The Definitive Guide, 1st edition (2020), Yihui Xie, J.J. Allaire, and Garrett Grolemund, Published by Chapman & Hall/CRC, ISBN: 978-1138359338. An electronic copy of the textbook is freely available at https://bookdown.org/yihui/rmarkdown/.

  • R for Data Science, 1st edition (2017), Hadley Wickham and Garrett Grolemund, ISBN: 978-1491910399. An electronic copy of the textbook is freely available at https://r4ds.had.co.nz/

Websites

Course Learning Objectives

At the conclusion of this course, students will be able to:

  1. Comfortably navigate RStudio and understand R programming fundamentals, including syntax and coding best-practices

  2. Import, access, manipulate, and summarize data sets in R

  3. Create and edit visualizations in R

  4. Understand and use R functions, including creating custom functions and installing new function packages into the R workspace

  5. Perform basic statistical analysis using R such as producing descriptive statistics, plots, and regression models

  6. Use R Markdown to integrate R code into reports/documents for reproducibility

Course Grading

Category Percentage
Participation 10%
Labs 20%
Homework 25%
Tutorial Book 15%
Final (cumulative) 30%

At the end of the quarter, course grades will be assigned according to the following scale:

A+ 98 – 100 B+ 87 – <90 C+ 77 – <80 D+ 67 – <70
A 93 – <98 B 83 – <87 C 73 – <77 D 63 – <67 F < 60
A– 90 - <93 B- 80 – <83 C– 70 – <73 D– 60 – <63

Course Format

Lecture

Lectures will be held asynchronously using video recordings. Students are encouraged to take notes while watching the videos.

Participation

Student participation will be measured by weekly check-ins with the instructor. Check-in with the instruction for 5-10 minutes during the instructor’s office hours. If you are not able to attend office hours, please contact the instructor to meet at another time.

Discussion/Labs

Discussion is led by the TA and will be held using Zoom during the scheduled discussion time. The TA will be available to assist students with their weekly lab assignments which are designed to prepare you for the homework that is due during the week. Students will need to complete the labs in order to complete the HW assignment. Students can also ask questions regarding course material and homework assignments. Attendance will not be taken. Students will be allowed three submission attempts, with only the last submission being graded.

Homework

Homework assignments will consist of study problems in preparation for the final exam. HW will be assigned and due weekly. Students may discuss homework assignments with classmates but should complete the work on their own. Students will be allowed two submission attempts, with only the last submission being graded. Due to the nature of the course, I encourage everyone to begin the assignment as soon as possible.

Tutorial Book

The Tutorial Book will be a collection of tutorials students create via RMarkdown. The idea is to create a “book” explaining how to conduct different topics. Each “chapter” will be a tutorial on an assigned topic. At the end of the quarter, students will submit the collection of RMarkdown files for a final grade.

Final Exam

The final exam will be cummulative take-home exam. You will have 24 hours to complete the exam and turn it in by the deadline.

Extra Credit

There will be 2 extra credit opportunities throughout the summer. Each opportunity can raise your overall grade by 4 percentage points. The extra credit opportunities are listed below:

  1. RMD Diagnostics (Due: Sunday (7/11/21) @ 11:59 PM PST)

  2. Create a website with RMarkdown (Due: Sunday (7/18/21) @ 11:59 PM PST)

Course Policies

Communication

Discussion Boards in Canvas are the preferred method of communication regarding course material. Posts can be used for asking general questions that your classmates might also be interested in or can contribute to. Topics can range from questions about a particular topic covered in the course to homework questions to technology questions. The Instructor and/or TA will regularly check the discussion boards and contribute appropriately. Proper conduct and etiquette are expected.

Email is the preferred method of communication regarding personal concerns. Please use professional etiquette when sending an email to the Instructor and/or TA. In addition, the email should include the course name (i.e., STAT 147) in the subject line of the email and your name & SID in the body of the email. Emails will be responded to within 24 hours and usually much sooner, including emails sent over the weekend.

Late Policy

Late assignments will be accepted 24 hours after the assigned due date with a penalty. Assignments submitted within 24 hours after the deadline will only receive a 50% deduction of the overall grade. Any assignments (assignments include video notes, practice exercises, labs, homework, or any other assigned work with a due date) submitted after the 24 hour grace period will not be accepted. The final exam will receive a 25% deduction for each additional hour it is late. Important: Last minute computer failures, illnesses, etc. will not excuse missed deadlines. Please plan accordingly.

Make-Ups

In general, there are no make-ups allowed. However, under extenuating circumstances, the instructor may decide at his discretion to authorize make-up work to be completed. The student is required to contact the instructor via email as soon as they become aware that a make-up is needed, but no later than 24 hours in advance (or 24 hours after the missed work when the absence is due to an emergency). Proper documentation must be provided to support the student’s need for a make-up (i.e., doctor’s note, legal document, etc.)

Course Schedule

Topics

Week Time Topic
1 Mon Introduction to R, RStudio, Data Types, Data Frames, Vectors, R Functions, and Scripting
1 Wed Introduction to R Packages, RMarkdown, Descriptive Statistics Functions
2 Mon Campus Holiday: Juneteenth
2 Wed Matrices, Lists, Subsets, and Indexing, Directories, Workspaces, R Projects, Reading & Writing Data, Manipulating Data, Creating Data Frames, and Variables
3 Mon Campus Holiday: Independence Day
3 Wed Control Flow (Loops and Conditional Statements)
4 Mon Plotting with Base R & ggplot2
4 Wed Hypothesis Testing and Regression Models
5 Mon Writing Functions
5 Wed Intro to dplyr
Final TBD

Assignments

Week Due Date Assignments
1 Tue (6/22/21) Lab 1A Due @ 11:59 PM PST
1 Thu (6/24/21) Lab 1B Due @ 11:59 PM PST
1 Sat (6/26/21) HW 1 Due @ 11:59 PM PST
2 Tue (6/29/21) Lab 2A Due @ 11:59 PM PST (Cancelled)
2 Thu (7/01/21) Lab 2B Due @ 11:59 PM PST
2 Sat (7/03/21) HW 2 Due @ 11:59 PM PST
3 Tue (7/08/21) Lab 3A Due @ 11:59 PM PST
3 Thu (7/09/21) Lab 3B Due @ 11:59 PM PST
3 Sat (7/10/21) HW 3 Due @ 11:59 PM PST
3 Sun (7/11/21) EC 1 Due @ 11:59 PM PST
4 Tue (7/13/21) Lab 4A Due @ 11:59 PM PST
4 Thu (7/15/21) Lab 4B Due @ 11:59 PM PST
4 Sat (7/17/21) HW 4 Due @ 11:59 PM PST
4 Sun (7/18/21) EC 2 Due @ 11:59 PM PST
5 Wed (7/21/21) Tutorial Book Due @ 11:59 PM PST

Technology Requirements

Hardware

  • Highly Recommended: Laptop (Mac or PC)

  • Chromebooks, Tablets, or Pi´s use rstudio.cloud

OS Support

  • Windows 8.1 or newer
  • Mac OS 10.14 or above
  • Any modern Linux Distribution (ie Ubuntu, Mint, Fedora, etc.)

Internet Connection

You will need a reliable internet connection. Test your internet speed using speedtest.net. Recommended internet speeds:

  • Ping response is less than 100ms
  • Download speed is at least 10Mbps
  • Upload speed is at least 2Mbps

Browsers

  • Recommended: Chrome or Firefox

If you do not have or cannot acquire these items, you can apply to the Loan2Learn program to get a loaner device. Please keep me aware of any difficulty or delay in acquiring these devices.

UCR Academic Policies and Student Support

Registration and Withdrawal

If you choose to withdraw from this course, you must complete the appropriate University form and turn the form in before the deadline. Deadlines are shown in the Academic Calendar, which is available from the Office of the Registrar.

Academic Misconduct

UCR is committed to upholding and promoting the values of Integrity, Accountability, Excellence, and Respect. As a student in this class, it is your responsibility to act in accordance with these values by completing all assignments in the manner described, and by informing the instructor of suspected acts of academic misconduct by your peers. Should you choose to commit academic misconduct in this class, you will be held accountable according to the policies set forth by the University, and will incur appropriate consequences both in this class and from Student Conduct and Academic Integrity Programs. It is the responsibility of each student to be familiar with the definitions, policies, and procedures concerning academic misconduct. Please revisit Academic Integrity Policies and Procedures for more information. This site also defines misconduct, provides examples of prohibited conduct, and explains the sanctions available for those found guilty of misconduct. It is expected that you will ask for clarification if you have questions or concerns regarding any of the expectations of this class.

Reasonable Accommodation for Disabilities

UC Riverside is committed to providing equal access to learning opportunities to students with documented disabilities. To ensure access to this class, and your program, please contact the Student Disability Resource Center (SDRC) to engage in a confidential conversation about the process for requesting accommodations. More information can be found at the Student Disability Resource Center. If you are a student registered with the SDRC, please ensure you request your quarterly accommodations through R’Ability.

Student Needs

Student Health Services, Counseling & Psychological Services (CAPS), Residential Life, Dining, and R’Pantry are available to support students.

Religious Holidays

It is the policy of the University to excuse absences of students that result from religious observances and to provide for the rescheduling of examinations and additional required classwork that may fall on religious holidays without penalty. It is the responsibility of the student to make alternate arrangements with the instructor at least one week prior to the actual date of the religious holiday.

Title IX Resources

For any concerns regarding gender-based discrimination, sexual harassment, sexual misconduct, stalking, or intimate partner violence, the University offers a variety of resources, including advocates on-call 24/7, counseling services, mutual no contact orders, scheduling adjustments, and disciplinary sanctions against the perpetrator. Please see the Title IX website for more information. They can be reached at (951) 827-7070. You can also file a report.