Question

In: Statistics and Probability

Let Y ~ Unif(1,5). 1.If you generate 5 random numbers based on Y, what is the...

Let Y ~ Unif(1,5).

1.If you generate 5 random numbers based on Y, what is the probability you'll get more(numbers greater than 4) than (numbers less than or equal to 4)?

2.If you take lots of random values for Y and plug them into the polynomial h(x) = (2x−1)(x+ 3),what value would you get out of the polynomial on average?

Solutions

Expert Solution

We are given the distribution here as:

1) The probability that number greater than 4 comes is computed here as:

The number of numbers greater than 4 obtained in the 5 numbers generated could be modelled here as:

The probability that you'll get more(numbers greater than 4) than (numbers less than or equal to 4) is computed here as:

P(X = 3) + P(X = 4) + P(X = 5)

Therefore 0.1035 is the required probability here.

b) The expected value of Y and the second moment of Y are first computed here as:

E(Y) = (a + b)/2 = (1 + 5)/2 = 3

Var(Y) = (b - a)2 / 12 = (5 - 1)2 /12 = 4/3

Therefore E(Y2) = Var(Y) + [E(Y)]2 = (4/3) + 32 = 10.3333

Now the expected value of h(x) is computed here as:

E[ h(x)] = E [ (2x - 1)(x + 3) ] = E [ 2x2 + 5x - 3] = 2E(X2) + 5E(X) - 3

= 2*10.3333 + 5*3 - 3 = 32.6667

Therefore 32.6667 is the required expected value of the polynomial here.


Related Solutions

Create an Excel spreadsheet that will generate random numbers based on the following probability distributions. You...
Create an Excel spreadsheet that will generate random numbers based on the following probability distributions. You can keep the answers to (a) (b) and (c) on the same spreadsheet. If I click on F9 key, the random numbers must be refreshed. a. Use Excel generic function to generate randomly 50 observations following a general discrete distribution described in the table below. To keep things compact, you don’t need to put the 50 random numbers down one column, instead put them...
Generate 1000 random numbers from ??2, 5? starting with standard normal random numbers in R.
Generate 1000 random numbers from ??2, 5? starting with standard normal random numbers in R.
Let X, Y be independent random variables with X ∼ Uniform([1, 5]) and Y ∼ Uniform([2,...
Let X, Y be independent random variables with X ∼ Uniform([1, 5]) and Y ∼ Uniform([2, 4]). a) FindP(X<Y). b) FindP(X<Y|Y>3) c) FindP(√Y<X<Y).
Let X1 and X2 be independent UNIF(0,1) random variables and consider the transformations Y1= X1X2 and...
Let X1 and X2 be independent UNIF(0,1) random variables and consider the transformations Y1= X1X2 and Y2 =X1/X2. Find the joint pdf of Y1 and Y2 and indicate their joint support of Y1 and Y2. Show Work.
Let U, V be iid Unif(0, 1) random variables, and set M = max(U,V) and N...
Let U, V be iid Unif(0, 1) random variables, and set M = max(U,V) and N = min (U,V) (a) Find the conditional density of N given M = a for any value of a ∈ (0, 1). (b) Find Cov(M, N).
Using Python, generate 100 random numbers ranging from 1 to 5, then plot them using matplotlib...
Using Python, generate 100 random numbers ranging from 1 to 5, then plot them using matplotlib or Seaborn as a histogram
Questions 1-5 are based on the following Let X be a normally distributed random variable. A...
Questions 1-5 are based on the following Let X be a normally distributed random variable. A random sample of size n = 9 yields the following data: x 98 93 61 75 58 75 95 77 70 1 The variance of the sample is, a 210.75 b 201.21 c 191.67 d 187.33 2 The variance of x̅ is, a 62.229 b 74.083 c 23.417 d 34.572 3 You want to build a 95% confidence interval for the population mean. The...
To generate 100 random numbers between 1-100 in a randomData.txt file To read the 100 random...
To generate 100 random numbers between 1-100 in a randomData.txt file To read the 100 random numbers from randomData.txt and store them in an array Print the data in the array Find the smallest and the largest of the random numbers and their array position Insert an element of value100 in the 51th position of the array Delete all the elements of the array having values between 50-80 and print the residual array Sort the data in the final array(residual)...
Generate 1000 random numbers from ??3? starting with standard normal random numbers in R.
Generate 1000 random numbers from ??3? starting with standard normal random numbers in R.
Write a Java program to generate random numbers in the following range a. 1 <=n <=...
Write a Java program to generate random numbers in the following range a. 1 <=n <= 3 b. 1 <= n <= 200 c. 0 <= n <= 9 d. 1000 <= n <= 2112 e. -1 <= n <= 5 JAVA PROGRAMMING
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT