Question

In: Statistics and Probability

A sample of five 4-sided dice are thrown. a) What is the space of all possible...

A sample of five 4-sided dice are thrown.

a) What is the space of all possible outcomes?

b) Plot the probability mass function for the mean sample outcome.

c) Calculate the standard deviation from the mass function found in part b.

d) Compare the value found in part c with the value found using the central limit theorem.

Solutions

Expert Solution

Answer:

Raw Copyable script:

%%%a.
%number of possible outcomes
count = power(4,5)

%set the experiment credentials
%sides of the die
sides=[1 2 3 4]
samples=5

numSides = numel(sides) ;

%to determine the sample space
if numSides==0 || samples == 0,
SampleSpace = zeros(numSides,samples) ;
array = zeros(numSides,samples) ;
  
elseif samples == 1,
% return column vectors
SampleSpace = sides(:) ;
array = (1:numSides).' ;
else
  
[Y{samples:-1:1}] = ndgrid(1:numSides) ;
array = reshape(cat(samples+1,Y{:}),[],samples) ;
SampleSpace = sides(array) ;
end

%print the sample space
SampleSpace


%%%%%b
%to find the probability mass function
PMF = sum(SampleSpace,2)/5
numel(PMF)

%find the distribution of the space values
%find the discrete entries
a = unique(PMF)
out = [a,histc(PMF(:),a)];

%find the counts
x = out(:,2)

%plot the probablity mass function
plot(a,x)

%%%%c
%%find the standard deviation
stanardDeviation=std(PMF)


Related Solutions

When two fair six-sided dice are simultaneously thrown, these are two of the possible results that...
When two fair six-sided dice are simultaneously thrown, these are two of the possible results that could occur: Result 1: a 5 and a 6 are obtained in any order. result 2: a 5 is obtained on each die. Which of the following statements is correct? Explain reasoning. a. the prob. is equal b. prob of result 1 is higher c. prob of result 2 is higher
Suppose you roll, two 6-sided dice (refer back to the sample space in the sample space...
Suppose you roll, two 6-sided dice (refer back to the sample space in the sample space notes). Write any probability as a decimal to three place values and the odds using a colon. Determine the following: a. the probability that you roll a sum of seven (7) is . b. The odds for rolling a sum of four (4) is . c. The odds against the numbers on both dice being the same is .
Solve all the following questions from chapter 4 : 1) If a dice is thrown up...
Solve all the following questions from chapter 4 : 1) If a dice is thrown up one time, what is the probability of getting a number greater than 2 or less than 5 ? 2) If two dice are thrown up once, what is the probability to get total numbers less than 8 or at most 5 ? 3) If a dice is thrown up one time, what is the probability of getting an odd number giving that the number...
If I roll two 6 sided dice, one yellow and one clear, what are the possible...
If I roll two 6 sided dice, one yellow and one clear, what are the possible microstates, and what is the Gibbs entropy at 298.15 K? What is the entropy if the dice are indistinguishable? Calculate the entropy if one can only measure the sum of the dice instead of their individual values.
1) Imagine you roll a fair 4 sided dice 4 times. what is the number of...
1) Imagine you roll a fair 4 sided dice 4 times. what is the number of possible outcomes as a sum of successes? 2) What is the probability you will roll 3 successes, if the result of a 4 is considered a success? 3) what is the probability you will roll 3 or 4 successes, of the results of a 4 is considered a success? 4) what is the probability you will roll 3 or 4 successes. of the result...
Three fair dice are thrown. If you know that one and only one shows 4, what...
Three fair dice are thrown. If you know that one and only one shows 4, what is the probability that the sum is 10.
Three fair dice are thrown. If you know that one and only one shows 4, what...
Three fair dice are thrown. If you know that one and only one shows 4, what is the probability that the sum is 10.
what are the probabilities of the events A and B if a single dice is thrown...
what are the probabilities of the events A and B if a single dice is thrown twice in a row: A= “ the sum of all the results is an even number” B= “ the result of the second throw is an even number” need to calculate probabilities of both events to then answer if the events are independent using the rule of multiplication of independent events.
Let X be the outcome of rolling a fair six-sided dice. The possible outcomes or X...
Let X be the outcome of rolling a fair six-sided dice. The possible outcomes or X are 1,2,3,4,5 and 6 and all are equally likely. What is the cumulative distribution function F(x)?
a) A pair of fair dice is thrown. What is the probability of rolling a value...
a) A pair of fair dice is thrown. What is the probability of rolling a value between 8 and 11, inclusive? (Write your answer as a decimal rounded to 3 decimal places.) b) What is the probability of drawing a black face card when a single card is randomly drawn from a standard deck of 52 cards? (Write your answer as a decimal rounded to 3 decimal places.)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT