This web page will serve as the syllabus for the Fall 2021 version of STAT 385. Please read it carefully. You should become familiar with these policies. To do so, you will likely need to return to the syllabus several times throughout the semester. After the start of the semester, this document may continue to be updated. Any such changes will be announced.
- STAT 385 - Statistics Programming Methods
- Section: S1, In-Person
- Section: S2, Online
This Fall 2021 version of the course is both in-person and online.
- Location: 3031 Campus Instructional Facility
- Time: 02:00PM - 03:20PM, Tuesday and Thursday
Please refer to the course staff by their given names. For example, your instructor is named David. If you refer to the staff as “Professor” or “TA,” we might refer to you as “student,” which seems odd.
Course Catalog: Statisticians must be savvy in programming methods useful to the wide variety of analysis that they will be expected to perform. This course provides the foundation for writing and packaging statistical algorithms through the creation of functions and object oriented programming. Fundamental programming techniques and considerations will be emphasized. Students will also create dynamic reports that encapsulate their implemented algorithms. Students must have access to a computer on which they can install software.
The above description is based on the Illinois Course Catalog. This version of the course may deviate slightly from this description. A tentative list of topics includes:
- Programming Foundations
- Programming with Data
- Tools for Computing
- Tools for R Programming
While computing and programming are well studied topics, computing with R for data science is a bit of a moving target. As such, no one textbook can provide the proper support for our course. We will reference several freely available textbooks, as well as provide additional supplementary material throughout the semester. Specific readings will be posted each week as you are not expected to read each text cover-to-cover. (However, this might not be a bad idea in the long run, especially if you find yourself interested in a particular topic!)
HOPR - Hands-On Programming with R
- Garrett Grolemund
R4DS - R for Data Science
- Hadley Wickham & Garrett Grolemund
AR - Advanced R
- Hadley Wickham
RP - R Packages
- Hadley Wickham
RM - R Markdown: The Definitive Guide
- Yihui Xie, J. J. Allaire, Garrett Grolemund
MS - Mastering Shiny
- Hadley Wickham
HG - Happy Git and GitHub for the useR
- Jenny Bryan, The STAT 545 TAs, Jim Hester
S545 - STAT 545: Data Wrangling, Exploration, and Analysis with R
- Jenny Bryan, The STAT 545 TAs
RGC - R Graphics Cookbook
- Winston Chang
The stated prerequisite for STAT 385 is either STAT 200 or STAT 212. More generally, we hope that students have had some exposure to both data and statistics, however as STAT 385 is not a course focused on statistical analysis, we do not require a deep understanding of statistics. We have no expectation of prior programming experience.
We will use several forms of communication for this course. The website will be the one-stop-shop for all course information. Course announcements will be sent via email. Be sure you are regularly checking your @illinois.edu email account.
If you would like to communicate with the course staff, our preferred methods of communication, in order, are:
- Office Hours
- Discussion Board
Email should largely be reserved for private matters. As much as possible, we would appreciate you asking questions about the course where we can respond so that other students benefit from your question! It’s cliche to say, but if you have a question, someone else is probably thinking it!
The office hour schedule is below. Currently all office hours online, but we may considering move some to in-person at a later date. Slots with CAs should be considered lab and quiz help sessions. Logistical questions or other office hour matters are best discussed in the instructor’s office hours.
|Staff and Link||Day||Time|
|Zoom with Linjun||Monday||8:00 PM - 10:00 PM|
|Zoom with Earl||Tuesday||9:00 AM - 11:00 AM|
|Zoom with Lia||Wednesday||3:30 PM - 5:30 PM|
|Zoom with David||Wednesday||7:00 PM - 9:00 PM|
|Zoom with Dave||Thursday||5:00 PM - 7:00 PM|
|Zoom with Tyler||Thursday||8:00 PM - 10:00 PM|
- Note: “Dave” here refers to the instructor while “David” refers to the CA.
The office hour schedule is always subject to change. As such, the dates and times will be posted each week along with the course materials.
Office hours are by far our preferred forum for discussing individual specific questions. In office hours, our response time will be literally instant. Also, since we are both present in the same physical location (or together on Zoom), follow-up is both expected, and easy. Using electronic forms of communication such as a discussion board or email will have a slow response rate and a much lower communication bandwidth. In other words, please come to office hours!
We will generally use an informal queue during office hours. That is, we will allow students to ask one question at a time in the order they arrived. If office hours are particularly busy, we might formalize this process. (With Zoom, we will just cycle through the participant list.) If an office hour is not busy, and the course staff and a student are engaged in causal conversation not directly related to a pressing matter in STAT 385, like a quiz question, please just jump into the conversation and interrupt!
If you would like to schedule a private meeting outside of regular office hours, please send an email suggesting two possible times, on two different days. (A total of four suggested times.) We have a preference for time-slots directly adjacent to current office hours. Please also indicate a brief agenda for the meeting. Requests to schedule a meeting at a time less than 24 hours in the future are unlikely to be granted.
This course will use Ed for some course communications via a discussion board.
- Access information can be found on Canvas. Please register your account with your University email.
The course staff will attempt to check Ed at least once a day during the week, thus you can often expect a response within 24 hours, except for weekends. If you need a quicker response, you should consider office hours as an alternative.
The course staff would strongly prefer the use of Ed to GroupMe or similar services not officially supported by the course. The course staff feels that a GroupMe may exclude members of the course, whereas all are welcome on Ed. Services like GroupMe also exlcude course staff, which while understandable, tends to promote an adversarial relationship between students and their instructors. We’re all on the same team, so let’s act like it.
Private posts have been disabled. Any private matters should be discussed over email where your identity is known and private. Some anonymous posting is disabled. You may post anonymously to your classmates, but not the course staff. (See additional information on the discussion board for some details about this.)
Additional discussion board policy can be found in a pinned post on the discussion board.
STAT 385 will follow a strict email policy. Instead of email, consider using the discussion board! Any quick, non-private communication should take place there.
If you’d like to email the instructor or course staff, consider the following:
- Is your question about course administration? If so, have you read the syllabus? If your question is easily answered in the syllabus, we will either refer you to the syllabus, or ignore your email.
- Is your question about part of an assignment? First and foremost: You should ask it in office hours. After that, consider the discussion board. As a last resort, use email, but there is a good chance you will be re-directed to the discussion board.
If you choose to send an email, you must adhere to the following three rules. If you do not, your email will be considered less import than other emails which follow the rules and response time will be slower.
- All email must originate from an
- Depending on the situation, failure to follow this rule may make a response impossible.
- Your subject line must begin with exactly the following: [STAT 385]
- Failure to follow this step exactly may result in your email simply not being answered.
- After the above, put a single space, followed by a useful but short description of your message.
## good [STAT 385] Grade feedback question
## bad ## improper format ## non-descriptive subject [stat385] hi
## bad ## improper format [STAT385] Grade feedback question
## bad ## improper format ## subject too long ## information found in syllabus or website [STAT 385]when is the exam and what is covered on the exam?
If your email is sent between 9:00 AM Monday and 11:59 PM Thursday, and you follow the above directions, we will try our best to respond within 24 hours. Questions about an assessment sent the same day the assessment is due will likely not receive a response before the assessment is due. Plan accordingly.
|Teaching Assistant||Linjun Huangemail@example.com|
While we have listened contact information for the course TA, in general email should be directed to the instructor.
If your question is technical in nature, there are several steps you can take to insure a speedy response on Ed or in email.
First and foremost, you should ask Google before you ask the course staff. Take the error message you obtained and search it with Google. The ability to solve problems this way is an extremely value skill, possibly one of the most important you should learn (but are not taught) during your academic career. Make a legitimate effort to solve the problem on your own. You won’t always be able to, and if you can’t, post on Piaza. (Or better yet, stop by office hours.)
If you need to ask the course staff, include the following in your Ed post or email:
- All code that is required to re-create the error.
- Staff should be able to run your code, without any modification, and obtain the same error or output.
- The exact error message received.
Do not use screenshots of code and error messages to communicate about them. Copy paste them so that others can copy-paste them as well.
In this course, for everything expect exams, we greatly prefer over-sharing to under-sharing code. We would rather everyone learn from others’ “mistakes” than have everyone experience the same issues over and over again. However, if you simply try to copy and paste other students’ code to get through the quizzes, you will likely fail the exam. The course staff reserves the right to change this policy if we feel it is being abused.
STAT 385 will use four types of assessments: quizzes, labs, exams, and projects.
With the exception of exams and projects, all course assignments are due at 11:59 PM, Central (Champaign) time, on the listed due date.
- Quizzes are due on Thursdays.
- Labs are due on Tuesdays.
Both quizzes and labs will generally be released on the Thursday before they are due.
Throughout the semester, quizzes will be administered through the PrairieLearn system. There will be a total of 10 quizzes. These will be low-stakes, unlimited attempt quizzes. That is, there is no penalty for submitting incorrect answers, and your score can only go up, never down. These quizzes will serve as practice for the exam. No quizzes will be dropped. Instead, there will be opportunity to earn buffer points with each quiz. Buffer points will allow you to obtain over 100% for a particular assignment, but your percentage on quizzes overall cannot exceed 100%.
The buffer point and late submission details can be seen in the details of each quiz on PrairieLearn. As an example, consider Quiz 01:
- 105% Credit: Thursday, September 9, 11:59 PM
- 100% Credit: Thursday, September 16, 11:59 PM
- 85% Credit: Thursday, September 23, 11:59 PM
To obtain the 105% credit, you must achieve a score of 100% before the “due” date for 105% credit. (The “due” dates, we will generally refer to the date to obtain 105% credit.)
There will be a total of 10 labs throughout the semesters. The labs will take various forms depending on the current course topics. Each lab will include specific instructions including how to submit and how it will be graded.
Lab solutions will be posted as soon as possible after the submission deadline. As a result, no late labs will be accepted for any reason. Instead, you will be allowed to drop your lowest two lab grades.
- If you have a verified excused absence that would prevent you from completing a lab on time, please contact the instructor.
There will be a single midterm exam. This exam will take place during the week of October 26th. The exact dates will be determined at a later time. However, be aware that the exam will be administered online through PrairieLearn, and as best we can will provide flexibility in scheduling.
There is no final exam for the course. Instead, there will be an individual final project. Details will be released towards the end of the semester. The overall goal of the project will be to create a Shiny application.
Except for the exams, all deadlines are at 11:59 PM, Champaign time, on the listed day.
|Lab 01||Tuesday, September 7|
|Quiz 01||Thursday, September 9|
|Lab 02||Tuesday, September 14|
|Quiz 02||Thursday, September 16|
|Lab 03||Tuesday, September 21|
|Quiz 03||Thursday, September 23|
|Lab 04||Tuesday, September 28|
|Quiz 04||Thursday, September 30|
|Lab 05||Tuesday, October 5|
|Quiz 05||Thursday, October 7|
|Lab 06||Tuesday, October 12|
|Quiz 06||Thursday, October 14|
|Lab 07||Tuesday, October 19|
|Quiz 07||Thursday, October 21|
|Lab 08||Tuesday, November 2|
|Quiz 08||Thursday, November 4|
|Lab 09||Tuesday, November 9|
|Quiz 09||Thursday, November 11|
|Lab 10||Tuesday, November 16|
|Quiz 10||Thursday, November 18|
R and RStudio are required software for this course. You will need access to a computer where you have the ability to install and update this software.
R is a freely available language and environment for statistical computing and graphics.
Two important notes:
- If you have used R previously, be sure to update to the most recent version, which as of this writing if
- If you are using a new M1-based Mac, you may need to use Rosetta2 in order for R to run properly. There is also an arm64 build available, but course content has not been tested using this setup.
RStudio is a free and open-source integrated development environment (IDE) for R.
The quiz sub-score will be the average of the 10 quizzes. While buffer points are available for quizzes, your quiz sub-score cannot exceed 100%. The lab sub-score will be the average of your 8 highest lab grades.
The instructor reserves the right to lower, but not raise, grade cutoffs. However, this policy should not create an expectation that this will happen. Asking for a change in cutoffs will make any change in cutoffs less likely.
Grading in the course is not competitive. There is nothing (other than some statistical realities) that would prevent the entire class from receiving a grade of A.
If you feel an assignment was graded incorrectly, you have one week from the date you received a grade to discuss it with the instructor. After one week, grading is final except for exceptional circumstances. You may not simply ask for a re-grade, but instead must justify to the instructor why the grading was done incorrectly. By disputing any grading, you agree to allow the instructor to review the entire assessment in question for other errors missed during grading. Requests must be sent via email. (Failure to follow the email policy will result in your request being denied.) Grade disputes over trivial points will likely be met with frustration. (A grade on a single assignment is not reflective of your overall grade in the course. The generous buffer points should more than make up for a single point deduction on a single assignment.)
All grade disputes must be discussed with the course instructor. Teaching Assistants and Course Assistants do not have authority to modify grades.
The official University of Illinois policy related to academic integrity can be found in Article 1, Part 4 of the Student Code. Section 1-402 in particular outlines behavior which is considered an infraction of academic integrity. These sections of the Student Code will be upheld in this course. Any violations will be dealt with in a swift, fair, and strict manner. In short, do not cheat, it is not worth the risk. You are more likely to get caught than you believe. If you think you may be operating in a gray area, you most likely are.
Under no circumstances should course materials be provided to Course Hero, Chegg, or any similar for-profit website. The course staff will seek the harshest possible academic integrity penalty for any students who do so.
To obtain disability-related academic adjustments or auxiliary aids, students with disabilities must contact the course instructor and the Disability Resources and Educational Services (DRES) as soon as possible. To contact DRES, you may visit 1207 S. Oak St., Champaign, call 217-333-4603, e-mail firstname.lastname@example.org or go to the DRES website.
To ensure appropriate accommodation is provided in a timely manner, please provide your Letter of Accommodation during the first week of class. Letters received after a relevant assessment has been administered will likely cause logistical issues that could result in an inability to accommodate.
For some thoughts on teaching philosophy, some explanation of policies, and some general tips for success, please see The Extended Syllabus.
The instructor reserves the right to make any changes he considers academically advisable. Such changes, if any, will be announced. Please note that it is your responsibility to keep track of the course proceedings.