Question: Using R: Let's sum twenty independent exponential random variables: rate

Using R:

Let's sum twenty independent exponential random variables:

rate<-0.1

n<-1000

variablesCount<-20

x<-list()

sum<-rep(0, n)

for (i in 1:variablesCount) {

x[[i]] <- rexp(n, rate)

sum<- sum+x[[i]]

}

Fir the sum obtained above with a gamma distribution. What is the shape parameter of the resulting gamma distribution?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!