Joseph Stover, PHD

Gonzaga University Logo

Math 321-01,04 (Spring 2020)

Statistics for Experimentalists, Spring 2020, Math 321-01,04

Syllabus


Video Lectures:

CLT refresh, intro to confidence intervals for mean. video / pdf of notes / single image of notes
   Note that the was a typo on the board in this video, with the calculation of a few of the t-statistics.
   I have fixed it in the notes, but will not re-record the video.

Confidence intervals for binomial proportion. video / image of notes

CI for difference in means, single variance. video / image of notes / COVID-19 state data

Intro to hypothesis testing. video / image of notes 

Hypothesis test for single mean, t-test. video / image of notes

Hypothesis test for 2 means and 2 proportions: video / pdf of notes

Linear regression. video (*in progress*)



FREE Digital textbook access:

For free access to digital textbooks (good through May 25, 2020) sign up for a VitalSource account. You should be able to access most texts from most publishers. Here is more information: VitalSource Helps (go about 2/3 down to pink band on page). Sign up for a VitalSource Bookshelf account, and you can either download the local software or use a webrowser to view digital textbooks. There are also apps for various other devices. Bookshelf is their app for requesting access to and viewing digital testbooks.

I have successfully used VItalSource on both my laptop and phone.

Disclaimer: I haven't tested this free student access and do not know the exact procedure for gaining access to you textbooks digitally. It should NOT require any kind of payment information. Presumably, just create a Bookshelf account and there should be a way to search for your textbook and request access through that app. 


Scanning work for turning in:

When turning in scanned work via email or to Blackboard, please convert it into a single high resolution pdf document (per assignment). This will make it easiest for me to keep everything organized and to write comments on the work to send back to you.

CamScanner is an app that I use to scan from phone to pdf. You can take multiple pictures and it will output a single pdf. It's available for both Android and iPhone. I am sure there are many similar apps. This one leaves a watermark with the free version. That's fine.

If you have a local scanner, that should work too. I prefer 300dpi and color, but 150dpi may suffice. Please check your pdf document so that the work is legible. Sometimes small writing or light writing (such as soft pencil) doesn't scan well. I suggest using blue or black ink or a sufficiently dark pencil for your written work. You could even try photos of boardwork, but make sure to organize it into a single document (per assignment).


Regular Homework Assignments:

WebWork: http://webwork.gonzaga.edu/webwork2/2020-sp-math-321-0104


Course Notes:

These course notes will be updated from time to time. Check back often to get the most recent version. Under the chapter headings in each file will be a data indicating when the version was updated.

Chapter 1: Intro, data, basic statistics (updated for Spring 2020)
Chapter 2: Counting and probability
Chapter 3: Probability distributions 
Chapter 4: Central limit theorem and sampling distributions. 
Central limit theorem and Students t-distribution notes and simulations
Chapter 5: Confidence intervals 
Chapter 6: Hypothesis testing 
Chapter 7: Linear regression 
Chapter 8: One-way ANOVA (updated for Spring 2020)

Formula sheet 
Statistical tables 


Review materials:

Additional Chapter 2 counting review problems: 
    Problem set.
    With solutions.

Additional Chapter 2 and 3 review problems on probability and distributions: 
    Problem Set. 
    With Solutions.

Additional Chapter 4 review problems on central limit theorem, law of large numbers, and sampling distributions: 
    Problem Set.
    With Solutions.

Additional Chapter 5 review problems on confidence intervals: 
    Problem Set.
    With Solutions.

Additional Chapter 6 review problems on hypothesis testing: 
    Problem Set.
    With Solutions.

Additional Chapter 7 review problems on linear regression: 
    Problem Set.
    With Solutions.


Datasets:

Current Account balance data US and UK 1970-2017
Montana oil production data
Spokane Valley Well Depth
Wine
All US counties, selected demographic data on income, employment, race, and poverty
GDP and life expectancy for all countries in 2017


Miscellaneous R code:

Coin flip simulation R code
usage: 
> source("coinflipsim.R")
> flipcoin(N)

Poker simulation R code
usage: 
> source("pokersim.R")
> drawManyHands(N)


Some cool sources for data:

World Bank
Google Data Explorer (good for viewing various datasets, but need to go tot he source to download the data)
St Louis Federal Reserve Bank
US Census Fact Finder
US Bureau of Labor Statistics
US Bureau of Economic Analysis
Data.gov
NOAA and NWS for climate and weather data
FBI crime data explorer
CDC mortality data
UCI Machine Learning Repository
World Population Review


Online statistics learning resources:

Statpages.info (a huge repository of resoruces)
Openstax (Basically very much like a proper textbook but online, seems easy to navigate, good basic examples)
Statlect (I really liked this one)

American Statistical Association statement on p-values
Common misinterpretations of the p-value and other statistical concepts

Guess the correlation game
Datasaurus dozen - shows how very different paired datasets can have the same scatterplot, and descriptive statistics
Spurious correlations

R statistical software:

Here is a great R cheat sheet: https://rstudio.com/wp-content/uploads/2016/10/r-cheat-sheet-3.pdf

You will need access to R statistical software. Here are instructions for getting R statistical software up and running on your computer. It should already be installed in all computer labs in Herak as well. If you find a computer where it is not installed, you can use these instructions to install it, or report it to me, and I will have IT install it. 

Here is a website where you can evaluate R code online from your web browser from any device: https://rdrr.io/snippets/

Another option for having quick access to R (and this is useful for a smartphone) is SageCell at: https://sagecell.sagemath.org/. This website can be used to evaluate commands from a variety of programming languages (including MATLAB and Python). Just select R from the language tab at the lower right of the textbox. If you are familiar with MATLAB, choose the option "Octave". Octave is basically an open source version of MATLAB and you can run MATLAB code using the Octave language option on SageCell.