How to make a clean and modern data analysis, Part I.
Duration: 2020-09-08 - 2020-10-23
- Introduction to R and the RStudio IDE: scripts, the workspace, RStudio Projects, daily workflow
- Generate reports from R scripts and R Markdown
- Coding style, file and project organization
- Data frames or “tibbles” are the core data structure for data analysis: care for them with the tidyverse
- Data visualization with
- How to write functions and work with R in a functional style
- Version control with Git; collaboration via GitHub
Instructor: Dr. Vincenzo Coia
- Almas Khan
- Icíar Fernández Boyano
- Diana Lin
- Victor Yuan
Tuesdays and Thursdays 0930-1100 PST
There will always be two TA’s in class to help students with the live coding exercises.
|1||Thu||Sep 10||Introduction to STAT545 and R|
|2||Tue||Sep 15||Collaboration and Version Control|
|3||Thu||Sep 17||R Markdown and Reproducibility|
|4||Tue||Sep 22||Data Wrangling Part I|
|5||Thu||Sep 24||Plotting Part I|
|6||Tue||Sep 29||Data Wrangling Part II|
|7||Thu||Oct 1||Plotting Part II|
|8||Tue||Oct 6||Tidy data|
|9||Thu||Oct 8||The model-fitting paradigm in R|
|10||Tue||Oct 13||Special data types: factors and dates|
|11||Thu||Oct 15||Tibble joins|
|12||Tue||Oct 20||File input/output|
|13||Thu||Oct 22||Choose your own adventure|
|Deliverable||Submission Frequency||Percent Grade||Description|
|Class worksheets (5)||weekly||10||Autograded walkthroughs to guide student learning.|
|Participation quizzes (13)||every class||5||Get full marks by answering a few quick questions per class – doesn’t matter if you’re right or wrong! 24h submission period.|
|Mini data analysis||three checkpoints||50||Students write their own mini data analysis.|
|Collaborative Troubleshooting project||three checkpoints||35||Team project intended for practicing version control and collaboration, by answering some debugging problems.|
More details can be found on the course dashboard.
Auditing students are expected to complete all assessments (assignments, peer reviews, and participation). The difference between enrolling for credit is that auditing students are graded on each assignment on a pass/fail basis.
STAT 545 uses Slack for informal communications. Note that the messages sent on Slack are stored on a US server.
STAT 545 asks students to work on github.com. Please produce work knowing that the material you put on GitHub will be stored on US servers.
In addition to UBC’s Campus-wide Policies and Regulations, STAT 545A and STAT 547M adopt the following policies.
The teaching team can’t guarantee that they will be able to respond to student messages outside of typical workday hours (0900-1700 PST). So, please be mindful of a 17:00 PST cutoff on Fridays when asking assignment-related questions.
Please read this before messaging the teaching team.
A late submission is defined as any work, including quizzes, submitted after the deadline. For a late submission, the student will receive a 50% scaling of their grade for the first occurrence, and will receive a grade of 0 for subsequent occurrences. In all cases, late submissions past 24 hours will receive a zero.
For this course, a “conflicting responsibility” includes needing to travel for a conference or field work.
If you arrange to have an assignment submitted late, you may not be able to receive feedback from your peers.
Plagiarism, which is intellectual theft, occurs where an individual submits or presents the oral or written work of another person as his or her own and can include:
- multiple students submitting the same response
- copying from sources without citing them
- copying verbatim (word-for-word) from source and citing, but failing to make it explicit that this is a quotation (quotations should be used only rarely, if at all)
Plagiarism will not be tolerated in the MDS program and may result in dismissal from the program. Students are responsible for ensuring that any work submitted does not constitute plagiarism. Students who are in any doubt as to what constitutes plagiarism should consult their Instructor before handing in any assignments.
For more information see the UBC Academic Misconduct policies.
Students must correctly cite any code that has been authored by someone else or by the student themselves for other assignments. Cases of code plagiarism may include, but are not limited to:
- the reproduction (copying and pasting) of code with none or minimal reformatting (e.g., changing the name of the variables)
- the translation of an algorithm or a script from a language to another
- the generation of code by automatic code-generations software
An “adequate acknowledgement” requires a detailed identification of the (parts of the) code reused and a full citation of the original source code that has been reused.
Video Conferencing with Zoom
Students are encouraged to turn their cameras on whenever they are using Zoom. However, we understand that this can be an issue for some people. As such, you will never be expected to turn your camera on.
UBC’s Policies and Resources to Support Student Success
UBC provides resources to support student learning and to maintain healthy lifestyles but recognizes that sometimes crises arise and so there are additional resources to access including those for survivors of sexual violence. UBC values respect for the person and ideas of all members of the academic community. Harassment and discrimination are not tolerated nor is suppression of academic freedom. UBC provides appropriate accommodation for students with disabilities and for religious, spiritual and cultural observances. UBC values academic honesty and students ae expected to acknowledge the ideas generated by others and to uphold the highest academic standards in all of their actions. Details of the policies and how to access support are available here.
Potential restrictions to international students’ online learning experiences as a result of remote learning
During this pandemic, the shift to online learning has greatly altered teaching and studying at UBC, including changes to health and safety considerations. Keep in mind that some UBC courses might cover topics that are censored or considered illegal by non-Canadian governments. This may include, but is not limited to, human rights, representative government, defamation, obscenity, gender or sexuality, and historical or current geopolitical controversies. If you are a student living abroad, you will be subject to the laws of your local jurisdiction, and your local authorities might limit your access to course material or take punitive action against you. UBC is strongly committed to academic freedom, but has no control over foreign authorities (please visit http://www.calendar.ubc.ca/vancouver/index.cfm?tree=3,33,86,0 for an articulation of the values of the University conveyed in the Senate Statement on Academic Freedom). Thus, we recognize that students will have legitimate reason to exercise caution in studying certain subjects. If you have concerns regarding your personal situation, consider postponing taking a course with manifest risks, until you are back on campus or reach out to your academic advisor to find substitute courses. For further information and support, please visit: http://academic.ubc.ca/support-resources/freedom-expression