Publications by Sangeetha Sasikumar

Discussion Board 10-605

31.03.2023

Consider Example 11.4 with a = .5 and b = .75. Assume that the President says that he or she will run. Find the expected length of time before the first time the answer is passed on incorrectly. P(yes, no)=a P(yes, yes)=1-a \[P(x=n)=(1-a)^{n-1} a\] \[ E(x)=\Sigma_{n=1}^{\infty} n(1-a)^{n-1} a\] \[ =a \Sigma_{n=1}^{\infty} n(1-a)^{n-1} \] \[ \frac{a...

420 sym

Discussion Board 9 - 605

23.03.2023

A restaurant feeds 400 customers per day. On the average 20 percent of the customers order apple pie. (a) Give a range (called a 95 percent confidence interval) for the number of pieces of apple pie ordered on a given day such that you can be 95 percent sure that the actual number will fall in this range. n<-400 p<-0.2 stDev<-sqrt(p*(1-p)/n) print(...

641 sym

Discussion Board 8

18.03.2023

Write a program to toss a coin 10,000 times. Let Sn be the number of heads in the first n tosses. Have your program print out, after every 1000 tosses, Sn − n/2. On the basis of this simulation, is it correct to say that you can expect heads about half of the time when you toss a coin a large number of times? n<-1000 heads<-0 #used to count the n...

509 sym

Discussion Board Post 7 - 605

11.03.2023

A baker blends 600 raisins and 400 chocolate chips into a dough mix and, from this, makes 500 cookies. (a) Find the probability that a randomly picked cookie will have no raisins. This problem uses the Poission Distribution because it involves counting events and if the dough is mixed well, the event is random and independent. \[ λ=np=600×\frac...

963 sym

Week 5, Discussion Board

25.02.2023

A student must choose one of the subjects, art, geology, or psychology, as an elective. She is equally likely to choose art or psychology and twice as likely to choose geology. What are the respective probabilities that she chooses art, geology, and psychology? \[P(art)=P(psychology)=x \] \[P(geology)=2*P(Art \lor Psychology)=2x \] \[ P(art)+P(psy...

559 sym

605-Assignment 4

20.02.2023

Reading in the data as a list. The data is 17 images of shoes. num=17 files=list.files("/Users/Sangeetha/Downloads/jpg/",pattern="\\.jpg")[1:num] print(files) ## [1] "RC_2500x1200_2014_us_53446.jpg" "RC_2500x1200_2014_us_53455.jpg" ## [3] "RC_2500x1200_2014_us_53469.jpg" "RC_2500x1200_2014_us_53626.jpg" ## [5] "RC_2500x1200_2014_us_53632.jpg" "...

617 sym 4 img

605- Homework 2

06.02.2023

Show that ATA≠AAT in general. (Proof and demonstration.) #A<-matrix(1:4, nrow = 2, ncol = 2) #fills column by column A<- matrix(1:4, nrow=2, byrow=TRUE) A ## [,1] [,2] ## [1,] 1 2 ## [2,] 3 4 tr<-(t(A)) print(tr) ## [,1] [,2] ## [1,] 1 3 ## [2,] 2 4 a<-(A %*% tr) b<-(tr %*% A) print(b) ## [,1] [,2] ## [...

1669 sym

Discussion Board 2 - 605

05.02.2023

C25-Doing the computations by hand, find the determinant of the matrix below. A<-rbind(c(3,-1,4),c(2,5,1), c(2,0,6)) print(A) ## [,1] [,2] [,3] ## [1,] 3 -1 4 ## [2,] 2 5 1 ## [3,] 2 0 6 det(A) ## [1] 60 The formula to get the determinant is |A| = a(ei − fh) − b(di − fg) + c(dh − eg) ...

170 sym

605- Homework 1

30.01.2023

One of the most useful applications for linear algebra in data science is image manipulation. We often need to compress, expand, warp, skew, etc. images. To do so, we left multiply a transformation matrix by each of the point vectors. For this assignment, build the first letters for both your first and last name using point plots in R. For exampl...

1405 sym 6 img

Assignment 1-607

05.09.2022

Introduction: The article I chose to do my analysis on wasn't an actual pure "news article". "Club Soccer Predictions": https://projects.fivethirtyeight.com/soccer-predictions/ was more of a listing of predictions and current rankings. I chose this dataset because the World Cup is around the corner and I am a huge fan of soccer. soccer_data<-read...

1404 sym 2 img