Skip to content

statbiscuit/swots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repo contains

Feel free to fork and modify for your own use or just download the gifs :-)

Selection of GIFs

Linear models

R script can be found here

Draw your own line of best fit

This works in conjunction with a Google Apps Script I made that allows students to draw their best line of fit online (mouseclicks only) and submit it to a shared Google Sheet. The R script then pulls all the start and end points of their drawn lines and creates a gif showing the distribution of all their estimates.

Code for this Google Script App can be found here and the exported line ends are available here

R side code can be found here

t-tests

GIFs in this section inspired by some found here.

R script can be found here

R script can be found here

ANOVA

GIFs in this section inspired by some found here.

R script can be found here

Hypothesis testing

Coin flip (binomial)

Rscript can be found here

Randomization test

Rscript can be found here

Principal component analysis

Rscript can be found here

Maximum likelihood (binomial example)

Rscript can be found here

Illustrating things I've found a few students struggle with...

Distribution shape as sample size increases and variance

Rscript can be found here

Rscript can be found here

The p..(), d..(), q..(), r..() functions in R

Rscript can be found here

The difference between conditioning and intersection

Rscript can be found here

About

Basically, a mix of scripts doing, and showing fun RStats things

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages