Author: Len Greski
This repository contains content developed during my time as either a student or Community Mentor in the Data Science Specialization from Johns Hopkins University that is offered over Coursera. A number of people have developed content to help students work through the ten courses in the specialization. The main index for community generated content across the Specialization is datasciencespecialization.github.io.
As a participant and Community Mentor in courses in the curriculum, there are patterns of similar issues experienced by students. Migrating the content to github will facilitate reposting it to new runs of courses within the curriculum. This will make it easier for students to have access to the experiences from prior students without me having to regularly cut and paste content from past sessions into Discussion Forums, which are the primary mechanism for communication between students and Community Mentors.
File | Description |
---|---|
/markdown | Directory containing markdown files, the primary form of documentation for the content in the repository. |
/markdown/images | Directory containing portable network graphics files, which are used to illustrate the narrative content in other documentation. |
README.md | File explaining the purpose and contents of the repository, listing of links to specific content by course. |
The remainder of this document serves as a directory of the content, aligning individual documents with the course(s) for which the content is relevant.
- Course Prerequisites and Difficulty Levels Provides an overview of the Data Science Specialization courses, explaining from a practical perspective the courses a student needs as prerequisites to other courses. While students may take more than one class at a time, it's important to know how information from earlier courses is used in subsequent ones.
The article also ranks the difficulty levels from most to least difficult, based on the author's experience in the curriculum as well as Discussion Forum feedback contributed by other students. - Configuring RStudio to work with git / github - Mac OSX
- Configuring RStudio to work with git / github - Windows 7, 8, and 10
- Using Editor Modes in Discussion Forum Posts
- Buying a Computer for Data Science
- R and RStudio on Chromebook
- Installing R and RStudio on Chromebook Walkthrough demonstrating how to install R and RStudio on a Chromebook with Crouton and Ubuntu Linux.
If you're interested in the URLs for the lecture slides, they are available in the Data Science Specialization Courses github repository. Each course is stored in a subdirectory within the repository, and the slides are built in R Markdown language, a technique you'll learn in Reproducible Research.
- The Future of Data Analysis by John Tukey, 1962 paper where he challenges statisticians to move away from ever more complicated mathematics to tackle data analysis problems in more realistic ways.
- 50 Years of Data Science by David Donoho, a 2015 retrospective on John Tukey's 1962 paper.
If you're new to the course and trying to figure out what to do in what order, start with these articles.
- Resources for R Programming Provides a summary of student-generated content to support the course, some of which is indexed on the Data Science Specialization's github.io site
- References for R Programming Provides a list of references for R programming, ranging from beginning to advanced topics.
- Data Science Specialization: what is the value? Addresses a common question raised by students in R Programming who are frustrated by the amount of work they have to do on their own to complete quizzes and assignments.
- Swirl: common problems & getting help Discusses a couple of frequent problems students have getting swirl to work on their computers, and provides URLs to support from the creators of swirl.
- R versus Python Roundup of articles and surveys comparing R and Python, including usage, history, and pros / cons.
The next set of articles includes general commentary about the course, R programming in general, and R in relationship to other statistics packages.
- Commercial Statistics Packages: An Historical Perspective
- Configuring RStudio to work with git / github - Mac OSX
- A Data Frame is Also a List
- Forms of the Assignment Operator
- Forms of the Extract Operator
- S Objects, R Objects, and Lexical Scoping
- Thinking in R versus Thinking in SAS
- Strategy for the Programming Assignments
- Why is R More Difficult than SAS?
- R Onboarding for SAS Users
- References for R Programming Provides a list of references for R programming, ranging from beginning to advanced topics.
- Object Oriented Programming and R Explains how object oriented programming concepts are implemented in R, in response to a student question about accessing content output by the R linear models function,
lm()
. - Scoping in C/C++ vs. R Compares variable scoping in R versus C/C++.
- Assignment 1: Breaking Down Pollutantmean
- Assignment 1: A SAS Version of Pollutantmean
- Assignment 1: Common Mistakes - Weighted vs. Unweighted Means
- Assignment 1: Common Mistakes - complete("specdata",332:1) fails
- Assignment 1: A More Elegant Solution
- Assignment 2: Demystifying makeVector
- Assignment 2: makeCacheMatrix as an Object
- Assignment 2: Using Github Desktop
- Assignment 2: Grading the SHA-1 Hash Code
- Assignment 3: Functions to Sort Data Frames
- Permanently Setting R Working Directory Link to R-bloggers.com article that explains how to set your working directory permanently in R (instead of RStudio)
- Tutorial: Downloading Files Illustrates various ways of downloading files, including binary and text files.
- Creative Use of R: Downloading Course Lectures Article illustrating how to use R to automate the download of lectures from Data Science Specialization courses, such as R Programming. Techniques used in this article are helpful to make research reproducible, as required for courses like Getting and Cleaning Data and Reproducible Research.
- How to Upgrade R without Losing Your Packages article by Kris Eberwein on datascienceriot.com that includes code to save your list of packages to an rds file, and reinstall any packages that don't make it through the upgrade process.
- Common R Mistakes: Overwriting R Functions with Output Variables
- R Programming Cheat Sheet Based on content from R for Everyone by Jared Lander.
- R vs. Python: 2016 Survey of Software used for Data Science Overview of results from a 2016 KDNuggets Software Poll, written by Gregory Piatetsky. The follow up article with expanded analysis is What Big Data, Data Science, Deep Learning software goes together, also on kdnuggets.com.
- R and Python vs. SAS and SPSS Jeroen Kromme's take on strengths and weaknesses of these languages, posted on r-bloggers.com.
- Scaling R for Data Science August 2016 article by Federico Castanedo explaining three ways to scale R.
- Lexical Scoping and Statistical Computing Article by Robert Gentleman and Ross Ihaka at the University of Auckland describing how lexical scoping works, and why it is valuable in statistical computing.
- Data Science Job Report 2017: R Passes SAS, But Python Leaves Them Both Behind Bob Muenchen's take on the job market for various data science langauges.
- Redmonk Programming Language Rankings: February 2020 Steven O'Grady's analysis of popularity of programming languages, based on their activity on Github and Stackoverflow.
- IEEE 2018 Language Rankings R-bloggers article highlighting the 2018 IEEE programming language rankings.
- Week 1: Demystifying HTML Parsing: Baltimore Ravens Game Scores
- Real World Example: Importance of Getting and Cleaning Data Illustrates what happens when we use data to make inferences when we don't understand the errors and/or limits of data collection and cleaning. Taken from a chart posted on Twitter during August 2017 by a company that sells data visualization software
- Real World Example: Reading American Community Survey data Illustrates concepts covered in Getting and Cleaning Data with U.S. Census data, including how to process a hierarchical file format in R, as well as using an electronic codebook to generate the parameters required to read the data file into a data frame.
- Common Problems: Quiz 1 - Missing Java Runtime Explains how to solve the problem of a missing Java Runtime for the question that requires students to process a Microsoft Excel spreadsheet.
- Strategy for Reading Files & APIs / Quiz 2
- Common Problems: Quiz 2 - sqldf() driver fails to connect
- Definitive Guide to Week 2 Question 5 A comprehensive guide to understanding the final question the week two quiz, including a detailed codebook for the data set.
- Tidy Data Hadley Wickham's paper on Tidy Data, required reading for the course project.
- data.table Github Wiki Repository for
data.table
package, including video. - Tutorial: Downloading Files Illustrates various ways of downloading files, including binary and text files.
- Cheatsheet: R Syntax Comparison Illustrates how to perfrom various tasks in R using three "dialects" of syntax, including the $ form of the extract operator, formulas, and the pipe operator that is central to the Tidyverse family of packages.
- Assignment 1: Reading a Subset of Raw Data
- CONCEPTS: Strategies for Imputing Missing Values
- The Fundamentals of Data Visualization
- Data Visualization: a practical introduction
- Assignment 2 Checklist
- Configuring knitr to Retain Markdown Output Explains how to configure knitr so that markdown file and any associated graphics are retained after building an HTML document, so they can be uploaded to Github and viewed there.
- Assignment 2: Improving Runtime Performance of Initial Data Load
- Reference Materials for Statistical Inference Start here if you're looking for help on the statistical techniques taught in this course.
- Using MathJax with Discussion Forums, R Markdown, and Github Pages
- CONCEPTS: Calculating Area for a Point on the Normal Curve Explains why one cannot calculate the exact proability for a specific value within a distribution for a continuous variable.
- CONCEPTS: Variance of a Binomial Distribution Explains why the calculation for variance of a binomial distribution during the Variance lecture looks different than the way it is described in Wikipedia.
- Poisson Confidence Interval Explained Explains the formulas on slide 26 of the Asymptopia lecture, illustrates the differences in two calculations on slide 27.
- Power Calculations: Optimal Sample size
- Permutation Tests Explained
- Exponential Distribution / Central Limit Theorem - Assignment Checklist
- ToothGrowth Analysis - Assignment Checklist
- Exploratory Data Analysis in ToothGrowth Assignment, explaining the exploratory data analysis requirement for students who have not taken the Exploratory Data Analysis course prior to taking Statistical Inference.
- Accessing R Code from an Appendix in Knitr
- Theoretical Variance of Sampling Distribution of the Mean
- Kable Tables with Data Frames illustrates how to display a custom table in a
knitr()
document by creating a data frame to contain the information to be rendered withkable()
. - Installing MiKTeX on Windows 10 / Generating a PDF with knitr
- Commentary on Factorial Design in Toothgrowth Analysis Illustrates how to conduct a full factorial analysis of variance with the toothgrowth data, comparing it to the techniques used in the course project for Statistical Inference.
- Knitr Reference Online reference maintained by Yihui Xe an RStudio engineer who wrote the knitr package.
- Regression Models References List of reference materials for the course, including pointers to chapters on regression analysis in some of the books I cited for the Statistical Inference course.
- Why does sum of errors * X equal 0?
- Using MathJax with Discussion Forums, R Markdown, and Github Pages
- Week 3: Installing Rgtk2 and Rattle on OS X
- Week 3: Accessing files from ElemStatLearn package: Explains how to obtain the data files needed for the week 3 and week 4 quizzes.
- Week 4: Combining Predictors Math Explained
- Course Project - gh-pages Setup with RStudio
- Course Project - Improving Runtime Performance of Random Forest Models with caret::train()
- Course Project - Predicting Test Scores based on Training Model Accuracy
- Configuring shinyapps.io Application Timeout A walkthrough on how to configure a Shiny application so it doesn't waste the free monthly server processing time.
- Mastering Shiny The online version of Hadley Wickham's forthcoming book (expected late 2020).
- Speech and Language Processing, 3rd Edition Working version of Jurafsky, et. al. book on natural language processing whose content on n-grams is helpful for the capstone.
- n-gram Computations and Computer Capacity Explains the amount of memory required to convert the text files for the course project into n-grams, using the quanteda package.
- Capstone Strategy Describes a general strategy to get through the Capstone: use the simplest approaches possible.
- Choosing a Text Analysis Package Reviews pros and cons of various R packages used for natural language processing, in the context of requirements for the Capstone project.
- Common Problems: Running out of Memory Converting Document Feature Matrix to Regular Matrix
- Tips for New Community Mentors A list of tips for new mentors supporting the Data Science Specialization, ranging from when to direct students to paid / professional resources such as the Coursera Learner Help Center, to how to optimize the value of content that is posted by mentors.