Field | Excellent (3) | Competent (2) | Needs Work (1) |
---|---|---|---|
Reproducible | All graphs, code, and answers are created from text files. Answers
are never hard-coded but instead are inserted using inline R code. An
automatically generated references section with properly formatted
citations when appropriate and sessionInfo() are provided
at the end of the document. |
All graphs, code, and answers are created from text files. Answers
are hard coded. No sessionInfo() is provided at the end of
the document. References are present but not cited properly or not
automatically generated. |
Document uses copy and paste with graphs or code. Answers are hard coded; and references, when appropriate are hard coded. |
Graphics | Graphs for categorical data (barplot, mosaic plot, etc.) have appropriately labeled axes and titles. Graphs for quantitative data (histograms, density plots, violin plots, etc.) have appropriately labeled axes and titles. Multivariate graphs use appropriate legends and labels. Computer variable names are replaced with descriptive variable names. | Appropriate graphs for the type of data are used. Not all axes have appropriate labels or computer variable names are used in the graphs. | Inappropriate graphs are used for the type of data. Axes are not labeled and computer variable names appear in the graphs. |
Coding | Code (primarily R) produces correct answers. Non-standard or complex functions are commented. Code is formatted using a consistent standard. | Code produces correct answers. Commenting is not used with non-standard and complex functions. No consistent code formatting is used. | Code does not produce correct answers. Code has no comments and is not formatted. |
Clarity | Few errors of grammar and usage; any minor errors do not interfere with meaning. Language style and word choice are highly effective and enhance meaning. Style and word choice are appropriate for the assignment. Complete sentences are used to report all answers. | Some errors of grammar and usage; errors do not interfere with meaning. Language style and word choice are, for the most part, effective and appropriate for the assignment. Incomplete sentences and inconsistent punctuation are used to answer questions. | Major errors of grammar and usage make meaning unclear. Language style and word choice are ineffective and/or inappropriate. Only numeric values are reported for answers to questions. |
Completeness | All questions are answered correctly. Answers to questions demonstrate clear statistical understanding by comparing theoretical answers to simulated answers. When hypotheses are tested, classical methods are compared and contrasted to randomization methods. When confidence intervals are constructed, classical approaches are compared and contrasted with bootstrap procedures. The scope of inferential conclusions made is appropriate for the sampling method. | A question or two is incorrect or unanswered. Theoretical and simulated answers are computed but no discussion is present comparing and contrasting the results. When hypotheses are tested, results for classical and randomization methods are presented but are not compared and contrasted. When confidence intervals are constructed, classical and bootstrap approaches are computed but the results are not compared and contrasted. The scope of inferential conclusions made is appropriate for the sampling method. | More than two questions are incorrect or unanswered. Theoretical and simulated answers are not computed correctly. No comparison between classical and randomization approaches is present when testing hypotheses. When confidence intervals are constructed, there is no comparison between classical and bootstrap confidence intervals . |
Before the first class meeting, read Chapter 1 (Getting Started with Data in R) of MD—pgs 1-20
Become familiar with the Appstate RStudio server. You will use your Appstate user name and password to log in to the server. You must be registered in the class to access the server.
Sign-up for a free account on GitHub. When you register for a free individual GitHub account, request a student discount to obtain a few private repositories as well as unlimited public repositories. Please use something similar to FirstNameLastName as your username when you register with GitHub. For example, my username on GitHub is alanarnholt. If you have a popular name such as John Smith, you may need to provide some other distinguishing characteristic in your username.
Set cache your credentials and set up a personal access token (PAT) by following the directions in HappyGitWithR.— VIDEO of the setup process
Complete PS-01 due by 5:00 pm Aug 25 — VIDEO of how to accept and clone the assignment
Introduction to R slides
Watch Paul the Octopus clip (61 seconds).
You may want to install Git, R, RStudio, zotero, and optionally \(LaTeX\) on your personal computer. If you do, you will want to follow Jenny Bryan’s excellent advice for installing R and RStudio and installing Git. Jenny’s advice is also in chapters 6 and 7 of Happy Git and GitHub for the useR. Note: Git, R, RStudio, and \(LaTeX\) are installed on the Appstate RStudio server.
Watch the following videos as appropriate:
Work through chapter 1 (Git and GitHub) of DSWR. Make sure RStudio is set up to communicate with Git by following the directions in HappyGitWithR for introducing yourself to Git.
Work through chapter 2 (Introduction to R) of DSWR
Before class read chapter 2 (Data Visualization) of MD — pgs 21-62
Complete the Data Visualization chapter of Introduction to the Tidyverse — DataCamp — Due NLT 5:00 pm Aug 29
Complete the Types of Visualizations chapter of Introduction to the Tidyverse — DataCamp — Due NLT 5:00 pm Aug 30
Complete PS-02 due by 5:00 pm Sep 1
Work through chapter 5 (Using ggplot2
) of DSWR
Complete Data Visualization with ggplot2
(Part 1)
(DataCamp)
Before class read chapter 3 (Data Wrangling) of MD — pgs 65-96
Complete the Data Wrangling chapter of Introduction to the Tidyverse — DataCamp — Due NLT 5:00 pm Sep 6
Complete the Grouping and Summarizing chapter of Introduction to the Tidyverse — DataCamp — Due NLT 5:00 pm Sep 7
Complete PS-03 by 5:00 pm Sep 8
In-class work on dplyr-CH1-handout
Test yourself:
RStudio Cheat Sheets
Work through chapter 3 (Starting with Data) of DSWR
Work through chapter 4 (Data Manipulation) of DSWR
In-class work on dplyr-CH2-handout
In-class work on dplyr-CH3-handout
In-class work on dplyr-CH4-handout
Before class read chapter 5 (Basic Regression) of MD — pgs 119-160
In class go over this document
Class notes for one quantitative and one qualitative predictor
Complete the Introduction to Modeling chapter of Modeling with Data in the Tidyverse — DataCamp — Due NLT 5:00 pm Sep 12
Complete the Modeling with Basic Regression chapter of Modeling with Data in the Tidyverse — DataCamp — Due NLT 5:00 pm Sep 13
Complete PS-04 due by 5:00 pm Sep 15
Read chapter 4 (Data Importing and “Tidy” Data) of MD — pgs 99-117
Read the Git and GitHub chapter from Hadley Wickham’s book R Packages
Brian Caffo’s take on R IDEs
Before class read chapter 6 (Multiple Regression) of MD — pgs 161-191
Regression with a single categorical variable handout.
Complete the Modeling with Multiple Regression chapter of Modeling with Data in the Tidyverse — DataCamp — Due NLT 5:00 pm Sep 19
Complete the Model Assessment and Selection chapter of Modeling with Data in the Tidyverse — DataCamp — Due NLT 5:00 pm Sep 20
Complete PS-05 by 5:00 pm Sep 22
Before class read/review chapter 6 (Multiple Regression) of MD — pgs 161-191
Go over in class Misc Regression
Complete PS-06 by 5:00 pm Sep 29
Answer the questions at the end of Misc Regression for extra credit
Work on Is this Discrimination?
Some ideas for how to answer the Is this Discrimination?
Complete (The binomial distribution) in Foundations of Probability in R — DataCamp — Due NLT 5:00 pm Oct 3
Complete (Laws of probability) in Foundations of Probability in R — DataCamp — Due NLT 5:00 pm Oct 4
Complete (Bayesian statistics) in Foundations of Probability in R — DataCamp — Due NLT 5:00 pm Oct 5
Complete (Related distributions) in Foundations of Probability in R — DataCamp — Due NLT 5:00 pm Oct 10
Mid-Term Exam/Opportunity To Excel — Due no later than 2:00 pm Oct 13
Before class read chapter 7 (Sampling) of MD — pgs 195-232
Complete (will go over most questions in class) Sampling Distributions Lab by 5:00 pm Oct 19 — not graded
Start PS-07 due by 5:00 pm Oct 27
Read Chapter 4 of MSWR — Sampling Distributions; Problems 2, 5, 12-16
Before class read chapter 8 (Bootstrapping and Confidence Intervals) of MD — pgs 233-305
Read Chapter 5 of MSWR
Complete the Bootstrapping for Estimating a Parameter chapter in Inference for Numerical Data in R — DataCamp — Due NLT 5:00 pm Oct 24
Complete the Introducing the t-distribution chapter in Inference for Numerical Data in R — DataCamp — Due NLT 5:00 pm Oct 25
Complete the Inference for Difference in Two Parameters chapter in Inference for Numerical Data in R — DataCamp — Due NLT 5:00 pm Oct 26
Bootstrap Example
Complete PS-07 by 5:00 pm Oct 27
Before class review chapter 8 (Bootstrapping and Confidence Intervals) of MD — pgs 233-305
Read Chapter 7 of MSWR
Complete PS-08 by 5:00 pm Nov 3
Before class read Chapter 9 (Hypothesis Testing) of MD — pgs 307-360
Read about Permutation Testing
Complete the Introduction to ideas of inference chapter of Foundations of Inference — DataCamp — Due NLT 5:00 pm Nov 7
Complete the Completing a randomization test: gender discrimination chapter of Foundations of Inference — DataCamp — Due NLT 5:00 pm Nov 8
Complete the Hypothesis testing errors: opportunity cost chapter of Foundations of Inference — DataCamp — Due NLT 5:00 pm Nov 9
Before class review Chapter 9 (Hypothesis Testing) of MD — pgs 307-360
Complete the Inference for a Single Parameter chapter in Inference for Categorical Data in R — DataCamp — Due NLT 5:00 pm Nov 14
Complete the Proportions: Testing and Power chapter in Inference for Categorical Data in R — DataCamp — Due NLT 5:00 pm Nov 15
Complete PS-09 by 5:00 pm Nov 17
Complete the problems in the R Markdown file and publish your solution to RPubs.
Complete the Comparing Many Parameters: Independence chapter in Inference for Categorical Data in R — DataCamp — Due NLT 5:00 pm Nov 21
Complete the Comparing Many Parameters: Goodness of Fit chapter in Inference for Categorical Data in R— DataCamp — Due NLT 5:00 pm Nov 22