Publications by Lisa Szydziak

Lszydziak HW4 605

20.02.2021

Read Pix Set Up Initialization library(doParallel) ## Loading required package: foreach ## Loading required package: iterators ## Loading required package: parallel library(foreach) library(jpeg) library(EBImage) library(kableExtra) library(OpenImageR) ## ## Attaching package: 'OpenImageR' ## The following objects are masked from 'package:E...

2996 sym R (15029 sym/57 pcs) 6 img

Lszydziak HW5 605 022721

27.02.2021

(Bayesian). A new test for multinucleoside-resistant (MNR) human immunodeficiency virus type 1 (HIV-1) variants was recently developed. The test maintains 96% sensitivity, meaning that, for those with the disease, it will correctly report “positive” for 96% of them. The test is also 98% specific, meaning that, for those without the disease, 9...

4671 sym R (2727 sym/65 pcs)

HW11 605 041621 LSzydziak

16.04.2021

library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.0 -- ## v g...

39 sym R (3640 sym/28 pcs) 5 img

Discussion week 11 605 041521

13.04.2021

library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(tidyverse) ## -- Attaching packages --------------------------------------- tidyverse 1.3.0 -- ## v g...

36 sym R (3848 sym/28 pcs) 2 img

HW10 605

11.04.2021

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 A dollars with probability .6. Find the probabiltiy that he wins 8 dollars before losting all of his money if a) he bets 1 dollar each time b) he bets, ...

1207 sym R (4782 sym/45 pcs)

HW 9 605 032621

26.03.2021

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 = 1/4. If Y1 = 100, estimate the probability that Y365 is (a) <= ...

628 sym R (279 sym/9 pcs) 2 img

HW7 605 LSzydziak 031321

13.03.2021

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 To begin, let’s assume n=100, so X1, X2,…X100. Second, let,s assume uniform distribution is 1 to k where k = 5. Let’s simulate 10000 times ...

1448 sym R (828 sym/33 pcs) 3 img

Lsyzdziak HW6 605

06.03.2021

A bag contains 6 green and 9 red jellybeans. How many ways can 5 jellybeans be withdrawn from the bag so that the number of green ones withdrawn will be less than 4? 3 Greens: 6C3 X 9C2 2 Greens: 6C2 X 9C3 1 Green : 6C1 X 9C4 No Greens: 6C0 X 9C5 choose(6,3)*choose(9,2)+ choose(6,2)*choose(9,3)+ choose(6,1)*choose(9,4)+ choose(6,0)*choo...

3851 sym R (1093 sym/24 pcs)

HW 15 605 LSzydziak

14.05.2021

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 ) regdata <- data.frame(x = c (5.6,6.3,7,7.7,8.4), y = c(8.8,12.4,14.8,18.2,20.8) ) print(regdata) ## x y ## 1 5.6 8.8 ## 2 6.3 12.4 ...

2170 sym R (1087 sym/9 pcs) 1 img

Discussion 15 605 LSzydziak

11.05.2021

Exercise 12.3.9 \[f(x,y)=x^2y+3x^2+4y-5\] \[f_x=2xy+6x\] \[f_{xx}=2y+6\] \[f_y=x^2+4\] \[f_{yy}=0\] \[f_{xy}=2x\] \[f_{yx}=2x\] ...

134 sym