|John Paul Helveston||Mondays|
|Science & Engineering Hall, Office 2830||Phillips Hall 108|
|+1 (202) 994-7173||August 26 - December 9, 2019|
|firstname.lastname@example.org||6:10 - 8:40 PM|
Introduction to programming using the R programming language; topics include functions, conditionals, loops, strings, file input/output, plotting, coding style, Monte Carlo methods, and packages.
This course provides a foundation in programming using the R programming language. Emphasis will be on producing clear, robust, and reasonably efficient code using top-down design, informal analysis, and effective testing and debugging. Throughout the course, students will primarily work on individual programming assignments to help practice problem solving skills, coding skills, and data science skills. Students will be assessed through quizzes, homework assignments, and exams. Teaching will involve interactive lectures with plenty of time spent live coding. This course assumes no prior programming experience and is an ideal preparation for higher level courses in data analytics.
There are no prerequisites, and no prior programming experience is necessary to succeed in this class.
Having successfully completed this course, students will be able to:
Learning R can be challenging - it’s like learning a new language. Hadley Wickham - the chief data scientist at RStudio and the author of some amazing R packages you’ll be using like
ggplot2 - made this wise observation:
It’s easy when you start out programming to get really frustrated and think, “Oh it’s me, I’m really stupid,” or, “I’m not made out to program.” But, that is absolutely not the case. Everyone gets frustrated. I still get frustrated occasionally when writing R code. It’s just a natural part of programming. So, it happens to everyone and gets less and less over time. Don’t blame yourself. Just take a break, do something fun, and then come back and try again later.
If you’re finding yourself taking way too long hitting your head against a wall and not understanding, take a break, talk to classmates, ask questions in Slack, e-mail me, etc.
I promise you can do this.
All required software for this course is freely available on the web. This includes:
Go to the course “Getting Started” page for installation instructions.
This course does not require any textbooks. All learning materials and resources are freely available on the web. See the course resources page for a list of useful resources.
Homework assignments contain a mix of coding exercises and written exercises. They generally assess the material taught the weeks they are assigned, and should take several hours to complete. Start homeworks early (Tuesday is best, Thursday at the latest!), and come to office hours & tutoring hours for help.
Read the Collaboration Policy about collaborating with fellow students on homeworks. While most problems must be worked on individually, some will be marked as “collaborative”; on these problems (and only these problems), you may work on code with other students.
Homeworks will be graded based on style (modularity, readability, commenting, etc.) and functionality (correctness on all possible test inputs). Your code should be properly annotated with comments that are well-placed, concise, and informative. Your assignments will be graded by your tutors, by automated graders, and at times by your instructor.
There will be five quizzes given about once every two weeks immediately at the beginning of class. Quizzes cover material from the previous weeks and the previous homework assignments. Quizzes are designed to be time-intensive, to test for fluency, and to demonstrate where additional study is needed.
There will be two midterm exams given in class, as noted in the course schedule. Each exam will cover only material presented in the preceding weeks (as noted in the schedule.
There will be a standard final exam during the final exam period at the end of the semester. This exam will cover material from the entire semester. The final exam is built to allow enough time to attempt all problems.
Regular class attendance is essential. Much of the class time will be spent doing exercises and coding. Multiple absences, inappropriate or unprofessional behavior during class (such as monopolizing discussions or being rude or disruptive), not participating in classroom exercises, and not being prepared for class will result in a lower grade for the class participation component. As a rule of thumb, the participation grade will be assigned according to the following rubric:
|Low||Frequently absent||Rude; disruptive; distracting; monopolizes discussions|
|Moderate||Attended most classes, but often arrived late or left early||Takes notes; attentive; occasionally contributes in class discussion / exercises|
|High||Attends on time and prepared||Takes notes; attentive; regularly contributes in class discussion / exercises; does not dominate conversation; listens and responds thoughtfully to comments made by others|
Final grades will be calculated as follows:
|Homeworks (6)||30%||Lowest homework grade is dropped|
|Quizzes (5)||15%||Lowest quiz grade is dropped|
|Midterm Exams (2)||30%||Lowest midterm grade is half-weighted|
|Attendance & Participation||5%|
This Alternative Minimum Grading (AMG) policy is available to everybody, but is designed specifically for students who struggle in the first part of the course, and then through sustained hard work and dedication manage to elevate their performance in the latter part of the course to a level that merits passing with a C (even if their Standard Grade might be lower than that).
You can’t “sign up” for AMG grading. Every student will be considered both for Standard Grading and AMG, and the instructor can choose to assign the AMG grade if a student’s effort merits it. To compute your AMG score, first use the following to compute your raw score. If the resulting score is higher than a C, set it back to a C.
|Best 5 Homeworks||20%|
|Best 4 Quizzes||15%|
|Best Midterm Exam||20%|
|Attendance & Participation||5%|
Unlike the Standard Grade, effort is heavily factored into your AMG score. To qualify for AMG you must put forth sustained effort, which means meeting the following requirements:
|A||93 - 100%||C||73 - 76.99%|
|A-||90 - 92.99%||C-||70 - 72.99%|
|B+||87 - 89.99%||D+||67 - 69.99%|
|B||83 - 86.99%||D||63 - 66.99%|
|B-||80 - 82.99%||D-||60 - 62.99%|
|C+||77 - 79.99%||F||< 60%|
The course instructors may choose to change the scales at their discretion. You are guaranteed that your letter grade will never become worse as a result of changing scales.
Watch this 2-minute video to see what Slack is all about:
You can use Slack to:
Asking for help on Slack:
You can post questions on slack and receive quick responses. This also enables other students to see answers to common questions. Be specific - if your code has an error you don’t understand, include the code and the error message in your question.
Please watch this video:
Office hours are set times dedicated to all of you. This means that I will be in my office (wistfully) waiting for you to come by with whatever questions you have. This is the best and easiest way to find me outside of class and the best chance for discussing class material and concerns (or anything really). Please come by!
This can be a difficult class - do not suffer in silence! Come talk to me!
Similar to office hours, your class tutors will each hold a specific period of time each week dedicated to help you will course assignments. Please don’t make your tutors sit and do emails for two hours - come by and ask for help!
While the University Library is not a stand in for TAs, you can schedule a consultation for general help with Coding, Programming, Data, Statistical, and GIS. See more at https://academiccommons.gwu.edu/writing-research-help
Learning how to program is like learning how to ride a bicycle - to get better, you must practice writing code yourself. Therefore, we have a set of strict rules regarding what kind of collaboration is allowed, what counts as over-collaboration, and what counts as cheating.
Over-collaboration results in a warning on the first offense, and a penalty on later offenses. Examples include:
Cheating results in a penalty on the first offense, and failing the course on the second offense. Cheating on homework assignments can include:
Cheating on quizzes, midterms, or the final can include:
Penalties are decided by the course instructors, and can vary based on the severity of the offense. Possible penalties include:
Penalties may also be accompanied by a letter to the Dean of Student Affairs, again at the instructors’ discretion. This can lead to university-level penalties, such as being suspended or expelled.
Programs are naturally structured, which makes them very easy to compare for plagiarism. Automated plagiarism detection systems make this process even easier. Watch this video showing plagiarism detection software in action (this example is using Python code, but this also works for R code).
In short, if you copy code, we will know - don’t copy code!
Your first year of college is a time when you do a lot of learning. Sometimes, you might make bad decisions or mistakes. The most important thing for you to do is to learn from your mistakes, to constantly grow, and become a better person.
Sometimes, students panic and copy code right before the deadline, then regret what they did afterwards. Therefore, you may rescind any homework submission for up to 24 hours after the deadline with no questions asked. Simply email the course instructors asking to delete the submission in question, and we will do so. Deleted submissions will not be considered during plagiarism detection, though of course they will also not be graded. However, it will always be better to get a 0 (or partial credit) on an assignment than to get a cheating violation!
Each students is allowed 5 late homework submission days - use them however you want, no questions asked. No more than 2 days can be applied toward a single assignment. Late days are meant to cover illness, family emergencies, and religious holidays. Assignments submitted more than 2 days after the due date will not be graded. In extreme circumstances, contact the instructor.
All solutions to homeworks, quizzes, and exams are proprietary. Don’t post them online or try to sell them - this is a violation of the student code of conduct.
All other course materials available on the course website are developed open source - you are welcome to post and share them following the licensing guidelines listed in the license page.
Wait 20 minutes, after that you’re free to leave. One member of the class should be selected to notify the EMSE Department of the Instructor’s absence by calling the EMSE Department 202-994-4892 on next business day.
In accordance with University Policy, students should notify faculty during the first week of the semester of their intention to be absent from class on their day(s) of religious observance. Official university policy here: https://students.gwu.edu/accommodations-religious-holidays
Disability Support Services (DSS): Any student who may need an accommodation based on the potential impact of a disability should contact the Disability Support Services office at 202-994-8250 in the Rome Hall, Suite 102, to establish eligibility and to coordinate reasonable accommodations. For additional information please refer to: https://disabilitysupport.gwu.edu/
Mental Health Services (202-994-5300): The University’s Mental Health Services offers 24/7 assistance and referral to address students’ personal, social, career, and study skills problems. Services for students include: crisis and emergency mental health consultations confidential assessment, counseling services (individual and small group), and referrals. https://healthcenter.gwu.edu/counseling-and-psychological-services
Academic dishonesty is defined as cheating of any kind, including misrepresenting one’s own work, taking credit for the work of others without crediting them and without appropriate authorization, and the fabrication of information. For the remainder of the code, see: https://studentconduct.gwu.edu/code-academic-integrity
In addition to the formal code of academic integrity, the instructor expects that students will treat this course with the level of professionalism required in the workplace. Remember that real firms are sponsoring student projects throughout the semester; in a workplace setting, these firms would be paying clients for the analyses being conducted. This course prepares students to succeed in the workplace, and maintaining a high degree of professionalism is expected.