Question: Using R coding (Rstudio) Question 1 (b) Compute the quantities E ( X ) and Var ( X ) as well as the square root
Using R coding (Rstudio)
Question 1 (b) Compute the quantities E(X) and Var(X)
as well as the square root of Var(X) which is the standard deviation of X
. Write code to display the values of E(X) , Varx(X) and the standard deviation SD(X)
Question 1(c) If the random varaible X represents all 24 possible values of a key and P(X) represents the probability that each of those values is the correct key to unlock a vault, then E(X) is the expected value of the correct key.
What is this expected value of the key based on the result from Question 1(b)? What would be the expected value of the correct key if X was uniformly distributed?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
