Publications by Bonnie Cooper

Week 2 Homework

26.12.2019

R Bridge Course Week 2 Assignment One of the challenges in working with data is wrangling. In this assignment we will use R to perform several tasks. Here is a list of data sets: http://vincentarelbundock.github.io/Rdatasets/ We will be selecting a set from this csv index list Selecting a CSV, “Statistics of Deadly Quarrels” #Statistics of D...

1263 sym R (29014 sym/30 pcs)

Week1 Homework

22.12.2019

R Bridge Week 1 Assignment Please create the following exercises in .rmd format, publish to rpub and submit both the rmd file and the rpub link 1. Write a loop that calculates 12-factorial #initialize variables numFactorial <- 12 # 12! factorialResult <- 1 # initialize our output as 1 since 0! = 1 #our n! factorial for loop for( fact in 1:numFa...

459 sym R (1014 sym/6 pcs)

DATA607: SQL & R

09.02.2020

What did my friends think of several films I saw recently? all images from imbd.com Introduction & Data Collection This assignment demonstrates the process of loading information from a SQL database into an R dataframe. I chose six movies and asked friends on facebook to rate the movies on a scale of 1 to 5 (where 1=Strongly Dislikes, …, 3=In...

4714 sym R (7118 sym/28 pcs) 1 img

Alphabet Soup: HTML, XML & JSON in R

16.03.2020

Alphabet Soup: HTML, XML & JSON in R Bonnie Cooper Reading & writing standard formats for web data in R: HTML, XML & JSON Table of Contents     This demo will focus on reading and writing web data formats. However, we will start by scraping data on several books from the MIT Press website. The demo will proceed as follows: Webscraping data...

5559 sym R (3451 sym/18 pcs) 1 img 1 tbl

DATA604

17.07.2020

Color in IT CotexBonnie Cooper model the hierarchy of color & hue signal propagation from LMS cone photoreceptors in the retina to the hue selective tuning observed in IT cortex Visual Pathways Modeling Color in the Cortex LMS Cones transform RGC image values to LMS cone weights LGN Layer Actual Stimulus Used: LGN Single-Opponent Mechanis...

2017 sym 15 img

DATA605 HW#2

04.09.2020

DATA605: Assignment 2 Bonnie Cooper Trace / Determinant / Factorization Problem Set #1 Show that \(A^T A \neq AA^T\) in general. (Proof and demonstration.)     If matrix \(A\) has dimentions \((m , n)\) and \(A^T\) is \(A\)’s transpose, then the products \(A^TA\) and \(AA^T\) will have the dimensions \((n,n)\) and \((m,m)\) respectively...

1414 sym R (2446 sym/17 pcs)

DATA605 HW#1

31.08.2020

Vectors, Matrices & Systems of Equations Problem Set 1 You can think of vectors representing many dimensions of related information. For instance, Netflix might store all the ratings a user gives to movies in a vector. This is clearly a vector of very large dimensions (in the millions) and very sparse as the user might have rated only a few movi...

2613 sym R (1256 sym/9 pcs)

Eigenvalue/vector Example

08.09.2020

Find the eigenvalues for A \[ A = \begin{bmatrix} 1 & -1 & 1 \\ -1 & 1 & -1 \\ 1 & -1 & 1 \end{bmatrix} \] We use the following equations to find the eigenvalues: \[ det(A - \lambda I) = 0 \] \[ det \begin{pmatrix} 1-\lambda & -1 & 1 \\ -1 & 1-\lambda & -1 \\ 1 & -1 & 1-\lambda \end{pmatrix} = 0 \] Exanding the determinant (Rule of Sarrus) we get...

3699 sym

Discussion Week8

14.10.2020

DATA605: Assignment #6 Bonnie Cooper 8.2.10 A student’s score on a particular calculus final is a random variable with values of [0, 100], mean 70, and variance 25. To summarise: \(\mu = 70\) and \(\sigma^2 = 25\) Find a lower bound for the probability that the student’s score will fall between 65 and 75. To find this, we use Chebyshev’s...

1052 sym

DATA605 HW#8

14.10.2020

DATA605: Assignment #8 Bonnie Cooper 7.2.11 A company buys 100 lightbulbs, each of which has an exponential lifetime of 1000 hours. What is the expected time for the first of these bulbs to burn out? For this problem, we are interested in finding the expected value of hte distribution function that describes the minimum of N=100 exponential rand...

2416 sym R (1299 sym/11 pcs)