Publications by Bonnie Cooper
DATA605 HW#10
DATA605: Assignment #10 Bonnie Cooper DATA605 HW10 Smith is in jail and has 1 dollar; he can get out on bail if he has 8 dollars. A guard agrees to make a series of bets with him. If Smith bets a dollars, he wins a dollars with probability .4 and loses a dollars with probability .6. Find the probability that he wins 8 dollars before losing all ...
1835 sym R (2684 sym/11 pcs) 2 img
DATA605 HW#9
DATA605: Assignment #9 Bonnie Cooper Homework Week 9 9.3.11 The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by \(Y_n\) on the nth day of the year. Finn observes that the differences \(X_n = Y_{n+1} − Y_n\) appear to be independent random variables with a common distribution having mean \(\mu = 0\) ...
2708 sym R (674 sym/7 pcs)
Discussion Week9
DATA605: Assignment #9 Bonnie Cooper 9.3.2 Let \({X_k }\), \(1 ≤ k ≤ n\), be a sequence of independent random variables, all with mean \(\mu = 0\) and variance \(\sigma^2 = 1\) , and let \(S_n, S_n^*\) and \(A_n\) be their sum, standardized sum, and average, respectively. Verify directly that \(_n^∗ = \frac{S_n}{\sqrt{n}} = \sqrt{n}A_n\). ...
863 sym
Foundation of Inference
Foundations of Inference DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( gridExtra ) library( infer ) library( NHANES ) Introduction to Ideas of Inference Making inferential claims (as opposed to descriptive) about the data Statistical Inference: The process of making claims about a population based on i...
8105 sym R (20682 sym/107 pcs) 18 img
Multiple and Logistic Regression in R
Multiple Logistic Regression inR DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( gridExtra ) library( openintro ) library( tidyverse ) library( modelr ) library( UsingR ) library( broom ) library( plotly ) library( Stat2Data ) Parallel Slopes What if you have two groups? #glimpse( mpg ) n <- nrow(mpg) m...
8164 sym R (34611 sym/129 pcs) 29 img
Modeling with Data in the Tidyverse
Background on Modeling for Exploration Modeling with Basic Regression Modeling with Multiple Regression Modeling with Data in the Tidyverse DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( moderndive ) library( gapminder ) library( stringr ) library( gridExtra ) Background on Modeling for Exploration Gen...
10083 sym R (38435 sym/185 pcs) 27 img
Exploratory Data Analysis in R
Exploring Categorical Data Exploring Numerical Data Visualization in higher dimensions Numerical Summaries Case Study Exploratory Data Analysis in R DataCamp: Statistics with R Bonnie Cooper library( dplyr ) library( ggplot2 ) library( gapminder ) library( openintro ) Exploring Categorical Data Comics Dataset comicsurl <- 'https://assets.dat...
1960 sym R (21565 sym/129 pcs) 47 img
DATA605 HW #15
Homework Week 15 Bonnie Cooper Homework Week 15 1) Find the equation of the regression line for the given points. Round any final values to the nearest hundredth, if necessary. \[( 5.6, 8.8 ), ( 6.3, 12.4 ), ( 7, 14.8 ), ( 7.7, 18.2 ), ( 8.4, 20.8 )\] x <- c( 5.6, 6.3, 7, 7.7, 8.4 ) y <- c( 8.8, 12.4, 14.8, 18.2, 20.8 ) lm_dat <- lm( y ~ x ) pl...
3503 sym R (484 sym/5 pcs) 1 img
DATA605 HW #14
Homework Week 14 Bonnie Cooper Homework Week 14 This week, we’ll work out some Taylor Series expansions of popular functions. For each function, only consider its valid ranges as indicated in the notes when you are computing the Taylor Series expansion. \(f(x) = \frac{1}{(1-x)}\) \(f(x) = e^x\) \(f(x) = ln( 1+x )\) The Taylor Series expansio...
2466 sym
Discussion Week16
Discussion Week 15 Bonnie Cooper 8.8.29 use the Taylor series given in Key Idea 8.8.1 to create the Taylor series of the function: \[f(x)=e^x \sin x\] for this problem show just the first 4 terms Definition 8.8.1 Taylor and Maclauren Series Let \(f(x)\) have derivatives of all orders at x=c. The Taylor Series of \(f(x)\), centered at c is \[\s...
1722 sym