Publications by Bonnie Cooper

A Modern Approach to Regressio with R

02.02.2021

Introduction Simple Linear Regression Diagnostics and Transformations for Simple Linear Regression Multiple Linear Regression Diagnostics and Transformations for Multiple Linear Regression Variable Selection Logistic Regression A Modern Approach to Regression with R by Simon Sheather notes by Bonnie Cooper The following are notes from reading...

24314 sym R (48707 sym/201 pcs) 61 img

Fundamentals of Bayesian Data Analysis in `R`

05.02.2021

What is Bayesian Inference Work? How does Bayesian Inference Work? Why use Bayesian Data Analysis? Bayesian Inference with Bayes’ Theorem More Parameters, More Data, and More Bayes… Fundamentals of Bayesian Data Analysis in R DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( gridExtra ) library( tidyve...

17643 sym R (31421 sym/158 pcs) 55 img

Inference for Categorical Data in R

28.02.2021

Inference for a Single Parameter Proportions: Testing and Power Comparing Many Parameters: Independence Comparing Many Parameters: Goodness of Fit Inference for Categorical Data in R DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( gridExtra ) library( infer ) library( tidyr ) library( broom ) library( ga...

10945 sym R (40631 sym/141 pcs) 37 img

Autoregression of daily US COVID deaths

22.02.2021

Daily US COVID deaths as an Autoregression Discussion Week 3 DATA621 Bonnie Cooper A quick and very simple application of autoregression to model the US Daily COVID Deaths start with taking a look at the dataset us_covid19_daily.csv which is freely available for download from kaggle. library( dplyr ) library( ggplot2 ) df <- read.csv( '/home/b...

911 sym R (4376 sym/8 pcs) 4 img

Linear Algebra for Data Science in R

07.02.2021

Introduction to Linear Algebra Matrix-Vector Equations Eigenvalues and Eigenvectors Principal Component Analysis Linear Algebra for Data Science in R DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( MASS ) library( ggplot2 ) Introduction to Linear Algebra Motivations linear operations on mathematical objects such as vecto...

6696 sym R (20685 sym/156 pcs) 7 img

Bonferroni Correction

01.03.2021

Bonferroni Correction Bonferroni Correction Discussion Week 4 DATA621 Bonnie Cooper short discussion post library( dplyr ) library( ggplot2 ) library( tidyr ) library( faraway ) Bonferroni Correction As more statistical analyses are applied to the same data sample, the familywise type I error rate (rate of erroneously rejecting the null hypo...

2980 sym R (2598 sym/13 pcs) 4 img

Modelling Daily US COVID deaths

17.04.2021

Importing the data Autoreggressive Model Fit OLS Model Fit GLS Model Fit Modelling Daily US COVID deaths Discussion Week 11 DATA621 Bonnie Cooper Attempting autoregression to model the US Daily COVID Deaths. Will demonstrate an Ordinary Least Squares (OLS) approach and a Generalized Least Squares (GLS) models. How can I improve my approach he...

1818 sym R (11787 sym/14 pcs) 6 img

Weber's Law

10.04.2021

Weber’s Law: Linear Relationships in Psychophysics and how to Model them with R in the tidyverse Bonnie Cooper, PhD An Introduction to Weber’s Law     Visual environments and the minds that perceive them are complex. Psychophysics is an branch off the psychology tree which aims to quantify the relationships between physical stimuli in th...

6990 sym R (1707 sym/6 pcs) 6 img

Cost Curves as an ROC Alternative

14.03.2021

Cost Curves as an ROC Alternative Discussion Week 6 DATA621 Bonnie Cooper Sensitivity & Specificity are measures of a model’s accuracy. However, accuracy only describes how well the model predicts specific data. We may be interested in more nuanced measures such as metrics that quantify the consequences of correct and incorrect predictions. ...

4536 sym 5 img

Dealing with Missing Data in R

07.03.2021

Dealing with Missing Data in R DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( gridExtra ) library( tidyverse ) library( naniar ) library( simputation ) Why care about missing data? Introduction to missing data “The best thing to do with missing data is to not have any.” -Gertrude M. Cox Working wi...

8906 sym R (58685 sym/255 pcs) 67 img