Publications by Devin Teran
Week10 Discussion
Example 11.6 In the Dark Ages, Harvard, Dartmouth, and Yale admitted only male students. Assume that, at that time, 80 percent of the sons of Harvard men went to Harvard and the rest went to Yale, 40 percent of the sons of Yale men went to Yale, and the rest split evenly between Harvard and Dartmouth; and of the sons of Dartmouth men, 70 percent ...
573 sym R (205 sym/4 pcs)
Assignment 10
Problem 1 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 dollar each time...
1040 sym R (1084 sym/6 pcs)
Week11Discussion
Tree Girth and Height Analysis Let’s view the data we’re working with: head(trees) ## Girth Height Volume ## 1 8.3 70 10.3 ## 2 8.6 65 10.3 ## 3 8.8 63 10.2 ## 4 10.5 72 16.4 ## 5 10.7 81 18.8 ## 6 10.8 83 19.7 Let’s see if there appears to be a linear relationship between girth and height wher...
2020 sym R (1179 sym/10 pcs) 4 img
Week12Discussion
Tree Girth, Volume and Height Analysis Let’s view the data we’re working with: head(trees) ## Girth Height Volume ## 1 8.3 70 10.3 ## 2 8.6 65 10.3 ## 3 8.8 63 10.2 ## 4 10.5 72 16.4 ## 5 10.7 81 18.8 ## 6 10.8 83 19.7 Let’s see if there appears to be a linear relationship between girth and hei...
1806 sym R (1967 sym/12 pcs) 4 img
Discussion15
Problem 9 In Exercises 7 – 12, find a formula for the nth term of the Taylor series of f(x), centered at c, by finding the coefficients of the first few powers of x and looking for a patt�ern. (The formulas for several of these are found in Key Idea 8.8.1; show work verifying these formula.) \[f(x)=e^{−x}; c=0\] \[f(0) = 1\] \[f'(x)= -e^{�...
715 sym
Week15Assignment
Problem 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) The regression line is: y = 4.257 - 14.8 x <- c(5.6,6.3,7,7.7,8.4) y <- c(8.8,12.4,14.8,18.2,20.8) df <- df <- data.frame(x,y) df_lm <- lm(y~x,data=df) d...
4614 sym R (447 sym/6 pcs)
Data609-Homework
Data 609 - Module 2 - Homework Exercise 1 Exercise 2 Exercise 3 Devin Teran 2/23/2021 Exercise 1 Show that \(x^{2} + e^{x} + 2x^{4} + 1\) is convex. A function is considered convex if: \(f(\alpha x+ \beta y) \le \alpha f(x) + \beta f(y), x,y \in \Omega, \alpha \ge0, \beta \ge0, \alpha + \beta = 1.\) Applying this to \(f(x) = x^{2} + e^{x} +...
4473 sym R (1051 sym/17 pcs) 1 img
Data609-Module3
Data 609 - Module 3 - Homework Exercise 1 Exercise 2 Exercise 3 Exercise 4 Devin Teran 3/13/2021 Exercise 1 Write down Newton’s formula for finding the minimum of \(f(x) = \frac{(3x^{4} - 4x^{3})}{12}\) in the range of [-10,10]. Then, implement it in R. Let’s first visualize the curve: The blue line is \(f(x)\) and the red line is \(f'(...
4051 sym R (1307 sym/10 pcs) 1 img
Data609Module4
Data 609 - Module 4 - Homework Exercise 1 Exercise 2 Exercise 3 Exercise 4 Exercise 5 Exercise 6 Devin Teran 3/25/2021 Exercise 1 For Example 19 on Page 79 in the book, carry out the regression using R. x -0.98 1.00 2.02 3.03 4.00 y 2.44 -1.51 -0.47 2.54 7.52 First we will solve for the equation by hand: \(b = \frac{n \Sigma_{i...
3964 sym R (4133 sym/27 pcs) 3 tbl
Data621-FinalProject
Abstract For the final assignment, the team will be looking at a dataset of forest fires identified in Montesinho Natural Park, located in the mountainous northeast of Portugal. The original paper was published by a nearby university with the intention of offering low-cost prediction based on available meteorological measurements. Their model use...
18731 sym R (26765 sym/25 pcs) 23 img 1 tbl