Publications by Maliat
Discussion 7
Discussion 7 Maliat I 10/9/2021 R Markdown chapter 5 7.A die is rolled until the first time T that a six turns up. Find P(T > 3). p <- 1/6 k <- 2 T3 <- pgeom(k, p, lower.tail = F) T3 ## [1] 0.5787037 Find P(T > 6|T > 3). k <- 5 T6 <- pgeom(k, p, lower.tail = F) T3 * T6 /T3 ## [1] 0.334898 ...
172 sym R (148 sym/4 pcs)
Discussion 6
Discussion 6 DATA 605 Maliat I 10/3/2021 R Markdown chapter 3 Problem Number 8 dbinom(x = 5, prob = 1/6, size = 30) ## [1] 0.1921081 What is the most probable number of times that a 6 will turn up? expected successes = probability * number of trial 1/6 * 30 ## [1] 5 ...
210 sym R (68 sym/4 pcs)
Homework 5 DATA 605
Homework 5 Maliat I 9/25/2021 R Markdown R Markdown (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% s...
4337 sym R (2667 sym/64 pcs)
Document
Linear Transformations and Representations Maliat Islam 09/19/2021 Homework 4 Build and visualize eigenimagery that accounts for 80 percent of the variability. Use of Graphics #############Prepare for Image Processing####################### num=17 files=list.files("C:\\Users\\malia\\Downloads\\jpg (1)\\RC_2500x1200_2014_us_53446.jpg")[1:num]...
633 sym R (8478 sym/18 pcs) 4 img
Discussion 3 Data 605
Discussion 3 DATA 605 Maliat I 9/11/2021 R Markdown Exercise EE.C10 Find the characteristic polynomial of the matrix A= [1 2 3 4] library(pracma) A <- matrix(c(1, 3, 2, 4), nrow = 2) A ## [,1] [,2] ## [1,] 1 2 ## [2,] 3 4 A <- charpoly(A, info = TRUE) ## Error term: 4 A$cp ## [1] 1 -5 -2 A caption ...
165 sym R (175 sym/6 pcs) 1 img
DATA 605 Homework 3
DATA 605 Homework 3 Maliat I 9/11/2021 R Markdown Problem set 1 What is the rank of the matrix A? library(pracma) A <-matrix(c(1,-1,0,5,2,0,1,4,3,1,-2,-2,4,3,1,-3),nrow = 4,ncol = 4) rref(A) ## [,1] [,2] [,3] [,4] ## [1,] 1 0 0 0 ## [2,] 0 1 0 0 ## [3,] 0 0 1 0 ## [4,] 0 0 0 1 Rank(A...
556 sym R (707 sym/10 pcs) 1 img
data 621 Assignment
R Markdown In this data set we are trying to identify good and bad teams in major league baseball team’s season. We are assuming some of the predictors will be higher for good teams. We will try to predict how many times a team will win in this season. library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from '...
765 sym R (3523 sym/12 pcs) 1 img
DATA 605 Homework 2
R Markdown ##Problem Set 1 ##(1) Show that ATA≠AAT in general. (Proof and demonstration) ##On page 180 of the book, the author states that matrix multiplication is not commutative. Therefore ATA≠AAT. ##If matrix multiplication were commutative then it means that switching the order of multiplcation should ALWAYS give the same answer. ##The de...
990 sym R (3324 sym/28 pcs)
Image Manipulation Techniques Using R
Homework 1 Maliat Islam 8/29/2021 R Markdown library(animation) For this assignment, build the first letters for both your first and last name using point plots in R. For example, the following code builds an H. par(mar=rep(4,4)) x=c(rep(0,500),seq(0,1,length.out=1000), rep(1,500)) y=c(seq(-1,1,length.out=500),rep(0,1000), seq(-1,1,length.out...
909 sym R (2301 sym/12 pcs) 403 img
Data 605 Discussion 1
Discussion 1 Data 605 Maliat Islam 8/29/2021 R Markdown In Example TMP the first table lists the cost (per kilogram) to manufacture each of the three varieties of trail mix (bulk, standard, fancy). For example, it costs $3.69 to make one kilogram of the bulk variety. Re-compute each of these three costs and notice that the computations are line...
383 sym R (782 sym/9 pcs)