2) Consider a random variable with the following probability distribution: P(X = 0) = 0.1, P(X=1) =0.2, P(X=2) = 0.3, P(X=3) = 0.3, and P(X=4)= 0.1.
A. Generate 400 values of this random variable with the given probability distribution using simulation.
B. Compare the distribution of simulated values to the given probability distribution. Is the simulated distribution indicative of the given probability distribution? Explain why or why not.
C. Compute the mean and standard deviation of the distribution of simulated values. How do these summary measures compare to the mean and standard deviation of the given probability distribution?
Given Data is :
a random variable with the following probability distribution: P(X = 0) = 0.1, P(X=1) =0.2, P(X=2) = 0.3, P(X=3) = 0.3, and P(X=4)= 0.1
1.First create the table as following:
2. Create a new column by multiplying
probability into 100
3. Find the cumulative total of the multiplied
probability. (Formula is shown)
4. Now we need to create limits to assign the
numbers simulated to the number reported. This is shown in the
Limit column.
Explanation: Let us generate a random number between 1 to 100. The
probability of any number being generated is
0.01.
Total probability of a number being generated to less than or equal
to 50 is 0.5(Addition of 50 independent probability). Using this
logic the probability will be simulated.
5.Generate 400 random number between 1 to 100 as
shown below.
6. Assign them the simulated numbers as per the
limit logic we have done before.
7. Find the count of each simulated reported
number as shown in the table.
8. We then find the simulated probability,
count/total number.
We see that the distribution of simulated values is indicative of given probability distribution. There is a slight deviation from the probability due to sampling error.
The mean of the original distribution is shown below
:
The mean of the simulated distribution is shown below:
and the MEAN for both are equal.
THANK YOU..
2) Consider a random variable with the following probability distribution: P(X = 0) = 0.1, P(X=1) =0.2, P(X=2) = 0.3, P(X=3) = 0.3, and P(X=4)= 0.1. A. Generate 400 values of this random variable with...
2) Consider a random variable with the following probability distribution: P(X-0)-0., Px-1)-0.2, PX-2)-0.3, PX-3) -0.3, and PX-4)-0.1 A. Generate 400 values of this random variable with the given probability distribution using simulation. B. Compare the distribution of simulated values to the given probability distribution. Is the simulated distribution indicative of the given probability distribution? Explain why or why not. C. Compute the mean and standard deviation of the distribution of simulated values. How do these summary measures compare to the...
A discrete random variable X has probability mass function P() 0.1 0.2 0.2 0.2 0.3 Use the inverse transform method to generate a random sample of size from the distribution of X. Construct a relative frequency table and compare the empirical with the theoretical probabilities. Repeat using the R sample function. 1000
2. Consider a random variable with the following probability distribution: P(X=0) = 0.1, P(X=1) = 0.2, P(X=2) = 0.4, and P(X=3) = 0.3 a. Find P(X<=1) b. Find P(1<X<=3)
Consider the following probability distribution: x P(x) 1 0.1 2 ? 3 0.2 4 0.3 What must be the value of P(2) if the distribution is valid? A. 0.6 B. 0.5 C. 0.4 D. 0.2 What is the mean of the probability distribution? A. 2.5 B. 2.7 C. 2.0 D. 2.9
1. Two independent random variables X and y are given with their distribution laws 4 P 07 0.1 0.2 P 0.2 0.3 0.5 Find 1) the variance of random variable Y 2) the distribution law of random variable Z-0.5Y+x END TEST IN PROBABL ITY THEORY AND STAISTICS Variant 1 1. Two independent random vanables X and Y are given with their distribution laws: 2 0.7 0.1 P 0.2 0.3 0.5 0.2 Find 1) the variance of random varñable Y 2)...
Random variable X has a distribution: P(x=0)=0.2 ; P(x=1)=0.3 ; P(x=2)=0.1 & P(x=3)=0.3 ; P(x=4)=0.1. Find: a) E(x) and Var(x) b) Find Fx(Xo) c) Find quantile of order 1/4 and median d) Find P(2<=x<=4)
6. The distribution law of random variable X is given -0.4 -0.2 0 0.1 0.4 0.3 0.2 0.6 Xi Pi Find the variance of random variable X. 7. Let X be a continuous random variable whose probability density function is: f(x)=Ice + ax, ifXE (0,1) if x ¢ (0:1) 0, Find 1) the coefficient a; 2) P(O.5 X<0.7); 3) P(X>3). Part 3. Statistics A sample of measurements is given Y 8 4 2 2 0 8. Compute the coefficient of...
2. (-13 Points) DETAILS TANFIN12 8.3.002. The probability distribution of a random variable x is given. MY NOTES 12 -2 0 2 4 PCX = ) 0.3 0.1 0.2 0.2 0.2 Compute the mean, variance, and standard deviation of X. (Round your answers to two decimal places.) mean variance standard deviation The probability distribution of a random variable X is given. 1 View 2 3 4 P(X = x) 0.3 0.4 0.2 0.1 Compute the mean, variance, and standard deviation...
Consider the probability distribution shown below: X 10 12 18 20 p(x) 0.2 0.3 0.1 0.4 Find the standard deviation of X.
The random variable X has probability distribution 1 3 5 7 9 P(X=x) 0.2 0.3 0.2 0.15 0.15 Find E(X) and Var(X)