Publications by Devin Teran, Gabe Abreu, Amit Kapoor, Subhalaxmi Rout

GabeAbreu_Data605_HW5

27.09.2020

Assignment Week 5 Choose independently two numbers B and C at random from the interval [0, 1] with uniform density. Prove that B and C are proper probability distributions. Note that the point (B,C) is then chosen at random in the unit square. Find the probability that #Create the variables b and c, using the function runif #runif will run 1000,...

354 sym R (1054 sym/12 pcs) 2 img

Data605HW6

05.10.2020

Data 605 Assignment #6 A box contains 54 red marbles, 9 white marbles, and 75 blue marbles. If a marble is randomly selected from the box, what is the probability that it is red or blue? Express your answer as a fraction or a decimal number rounded to four decimal places. red = 54 white = 9 blue = 75 total = red + white + blue prob_red_or...

3840 sym R (3451 sym/37 pcs)

Data605_HW9

26.10.2020

Assignment # 9 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 = 100, estimate the probability that...

611 sym R (339 sym/9 pcs) 2 img

Data 605 Final

20.12.2020

Data 605 Final Problem 1. 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 equal to 6. Then generate a random variable Y that has 10,000 random normal numbers with a mean of mu =sigma=(N+1)/2 #set.seed function ensures results are reproducible se...

6500 sym R (61670 sym/129 pcs) 13 img

Data 605 HW14

07.12.2020

Data 605 HW 14 knitr::include_graphics('HW14.JPG') knitr::include_graphics('14_1.jpg') knitr::include_graphics('14_2.jpg') knitr::include_graphics('14_3.jpg') ...

26 sym R (140 sym/4 pcs) 4 img

Data 605 Discussion 14

03.12.2020

Chapter 7 #16 p.360 find the total area enclosed by the funcƟons f and g f(x) = x^3 − 4x^2 + x − 1, g(x) = −x^2 + 2x − 4 #functions f and g f <- function(x) {x^3 - 4*x^2 + x - 1} g <- function(x) {-x^2 + 2*x - 4} #Graphed functions curve(f, -2, 4) curve(g, -2, 4, add=T) Graphically, the roots seem to be -1, 1, and 3. #Find roots...

194 sym R (824 sym/9 pcs) 1 img

Data 605 Assignment 13

30.11.2020

Assignment 13 1.Use integration by substitution to solve the integral below knitr::include_graphics('13_1.jpg') 2.Biologists are treating a pond contaminated with bacteria. The level of contamination is changing at a rate of dN dt =  3150 t 4  220 bacteria per cubic centimeter per day, where t is the number of days since treatment began. F...

1182 sym R (487 sym/10 pcs) 6 img

Data605_HW10

02.11.2020

Data 605 Assignment #10 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 money if he bets 1 do...

929 sym R (457 sym/4 pcs)

Data 605 HW11

08.11.2020

Data 605 HW11 Using the “cars” dataset in R, build a linear model for stopping distance as a function of speed and replicate the analysis of your textbook chapter 3 (visualization, quality evaluation of the model, and residual analysis.) #Load the cars dataset into a variable as a data frame cars <- datasets::cars #Let's investigate the da...

1036 sym R (2318 sym/11 pcs) 5 img

Discussion 12

12.11.2020

Discussion 12 This data set was downloaded from Kaggle and sourced from the World Health Organization. I want to examine variables that are positively correlated with life expectancy. LE_data <- read.csv('Life Expectancy Data.csv') head(LE_data) ## Country Year Status Life.expectancy Adult.Mortality infant.deaths ## 1 Afghanistan 201...

470 sym R (26072 sym/17 pcs) 7 img