Publications by Warner Alexis

Data 605 Week 14 Disc

20.04.2024

Exercise 6 p173 the roots of f(x) are known or are easily found. Use 5 iterations of Newton’s Method with the given initial approximation to approximate the root. Compare it to the known value of the root. \(f(x) = x^2 - 2, x_o = 1:5\) Newton’s Method define as : \(x_n + 1 = x_n - \frac {f(x_n)}{f'(x_n)}\) where \(f'(x)\) is the derivative of \...

429 sym

Data 605 Multiple Regression

14.04.2024

Data Analysis The attached who.csv dataset contains real-world data from 2008. The variables included follow: Country: name of the country LifeExp: average life expectancy for the country in years InfantSurvival: proportion of those surviving to one year or more Under5Survival: proportion of those surviving to five years or more TBFree: propo...

2077 sym R (7559 sym/34 pcs) 5 img

DATA 605 Disc week 13

14.04.2024

Data ANALysis We are going to use the cars dataset from R studio. The dataset information is located below: Description of dataset from R documentation > Name Description > mpg Miles/(US) gallon > cyl Number of cylinders > disp Displacement (cu.in.) > hp Gross horsepower > drat Rear axle ratio > wt Weight (1000 lbs) > qsec 1/4 mile time > vs En...

963 sym R (6845 sym/13 pcs) 2 img

Data 605 Disc Week 12

08.04.2024

dna analysis We are importing two data sets from Kaggle using DNA data set test and training sets. x and y variables seems to be well correlated so we expect the \(R2\) to be close to 1. library(ggplot2) library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The fo...

574 sym R (1991 sym/17 pcs) 3 img

DATA 605 - ASSIGNMENT 12

08.04.2024

Cars Regression Analysis We are going to a regression analysis on the car data set. # import car dataset require(carData) ## Loading required package: carData library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ...

1254 sym R (1955 sym/23 pcs) 7 img

Data 605 Disc week 11

01.04.2024

p422 ex2 In Example 11.4, let a = 0 and b = 1=2. Find$ P; P^2; and P^3: $What would Pn be? What happens to Pn as n tends to infinity? Interpret this result. Solution Lets find $ P; P^2; and P^3:$ a = 0 ; b = 1/2 \(P = \begin{bmatrix} 1 & 0 \\0 & \frac {1}{2}\end{bmatrix}\) From state 1 (the first row), the system transitions to itself with pro...

1189 sym

Data 605 Assignment 10

01.04.2024

Excercise 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 (a) he bets 1 dollar each...

1414 sym R (2396 sym/8 pcs)

DATA 605 - Week 10 Disc

25.03.2024

page 338 ex 1 Let S100 be the number of heads that turn up in 100 tosses of a fair coin. Use the Central Limit Theorem to estimate n <- 100 # trails number p <- 0.5 # prob of success # P(S100 <= 45) cat("The centraol Limit Theorem P(S100 <= 45)", pbinom(45, size = n, prob = p)) ## The centraol Limit Theorem P(S100 <= 45) 0.1841008 cat("The...

145 sym

DATA 605 Assignment 9

25.03.2024

Excercise 11 page 363 A tourist in Las Vegas was attracted by a certain gambling game in which the customer stakes 1 dollar on each play; a win then pays the customer 2 dollars plus the return of her stake, although a loss costs her only her stake. Las Vegas insiders, and alert students of probability theory, know that the probability of winnin...

1963 sym

DATA 605 - ASSIGNMENT 8

18.03.2024

Week Assignment 8 Let X1, X2, . . . , Xn be n mutually independent random variables, each of which is uniformly distributed on the integers from 1 to k. Let Y denote the minimum of the Xi’s. Find the distribution of Y . Solution The probabiblity that any single \(X_i\) is greater that y \(\frac {k-y}{k}\), so \(k-y\) is greater than y out of ...

1542 sym