Publications by David Blumenstiel

Data 605 Assignment 9

24.10.2020

Assignment 9 David Blumenstiel 10/20/2020 11: The price of one share of stock in the Pilsdorff Beer Company (see Exercise 8.2.12) is given by Yn on the nth day of the year. Finn observes that the differences Xn = Yn+1 − Yn appear to be independent random variables with a common distribution having mean μ = 0 and variance σ^2 = 1/4. If Y1 = 1...

4204 sym R (375 sym/6 pcs)

Data 605 Final

13.12.2020

Final Exam Problem 1 David Blumenstiel 12/5/2020 Link to the presentiation https://youtu.be/Of29PvSBEcY Link to problem 2 https://www.kaggle.com/davidblumenstiel/housing-prices-advanced-regression Using R, generate a random variable X that has 10,000 random uniform numbers from 1 to N, where N can be any number of your choosing greater than or...

6209 sym R (3082 sym/31 pcs)

Data 605 Assignment 14

05.12.2020

Assignment 14 David Blumenstiel 12/5/2020 For each function, find it’s Taylor Series Expansion. Only consider its valid ranges as indicated in the notes when you are computing the Taylor Series expansion. 1: \(f(x) = 1/(1-x)\) A Taylor Series is the expansion of a function into the infinite sum of it’s derrived terms. We can represent this ...

2552 sym

Data 605 Discussion 14

22.11.2020

Chapter 7 Exercise 10 Find the area of the shaded region in thegiven graph. curve(sin(x),xlim = c(0,6*pi/4),ylab = "y",xlab = "x") curve(cos(x), add = TRUE ) The functions above are sin(x) and cos(x). Pretend that the area between the intersections is shaded. Let’s find the area of that using integration. First, we gotta find where the inter...

605 sym R (419 sym/3 pcs) 1 img

The Best Burrito Regression Can Make

16.11.2020

How to Make the Perfect Burrito David Blumenstiel 11/16/2020 Burrito Perfection We all like burritos, but what makes them so good? Could it be the meat, the size, the quality of the salsa? Here, we will use multiple regression to attempt to answer the age old question: how do I make the best burrito? Data Prep Many have come before us. Some ev...

6014 sym R (15980 sym/22 pcs) 7 img

Predicting the Number of Births by Day of the Year

09.11.2020

US Birthday Prediction David Blumenstiel 11/9/2020 How to choose a birthday Five-Thirty-Eight has a a couple nice datasets on the amount of births for each day. In this article, https://fivethirtyeight.com/features/some-people-are-too-superstitious-to-have-a-baby-on-friday-the-13th/, they try to see if less people are born on Friday the 13th’s...

7361 sym R (5545 sym/16 pcs) 10 img

Data 605 Homework 10

31.10.2020

Assignment 10 David Blumenstiel 10/27/2020 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 of his m...

2406 sym R (47 sym/2 pcs)

Tarantino Expletives: A Linear Regression

02.11.2020

Tarantino Expletives: A Simple Linear Regression David Blumenstiel 11/2/2020 Five-Thirty-Eight actually has a dataset (https://fivethirtyeight.com/features/complete-catalog-curses-deaths-quentin-tarantino-films/) of all the swears and deaths that occur within some of Quentin Tarantino’s films (7 of them), including the time in the films that t...

2347 sym R (3136 sym/12 pcs) 4 img

Data 605 Homework 11

07.11.2020

Assignment 11 David Blumenstiel 11/3/2020 Cars Dataset Summary Below, we have the cars dataset: 50 observations of speed and associated stopping distance. There is a basic integer index, and columns for speed and distance. The head of the dataset and summary stats are shown below. df <- cars head(df) ## speed dist ## 1 4 2 ## 2 ...

3974 sym R (1234 sym/11 pcs) 5 img

Data 605 Assignment 12

14.11.2020

Assignment 12 David Blumenstiel 11/10/2020 Assignment 12 The attached who.csv dataset contains real-world data from 2008. 1. Provide a scatterplot of LifeExp~TotExp, and run simple linear regression. Do not transform the variables. Provide and interpret the F statistics, R^2, standard error,and p-values only. Discuss whether the assumptions of...

6741 sym R (5486 sym/20 pcs) 6 img