Question: ANSWER ONLY WOTH R STUDIO A combined experiment is performed which involves tossing a balanced coin and rolling a balanced die. Use R to perform

ANSWER ONLY WOTH R STUDIO ANSWER ONLY WOTH R STUDIO A combined experiment
A combined experiment is performed which involves tossing a balanced coin and rolling a balanced die. Use R to perform this combined experiment' 1000 times. Note that your solution should provide all 1000 combined outcome of the coin toss and the roll of dice as two vectors each of size 1000, one containing and 1 (to represent the tossing of the coin) and one containing numbers from 1 to 6 to represent the rolling of the dice. I i) Produce a contingency table to show frequencies in the categories of one variable broken down by the categories of the other variable. Then use appropriate percentages to calculate the observed joined probability distribution. Compare your results with the theoretically expected results presented under point a). [5] ii) ii) Calculate the observed mean and variance of each of the two variables as well as the covariance. Compare your results with the theoretical results obtained under point a) A combined experiment is performed which involves tossing a balanced coin and rolling a balanced die. Use R to perform this combined experiment' 1000 times. Note that your solution should provide all 1000 combined outcome of the coin toss and the roll of dice as two vectors each of size 1000, one containing and 1 (to represent the tossing of the coin) and one containing numbers from 1 to 6 to represent the rolling of the dice. I i) Produce a contingency table to show frequencies in the categories of one variable broken down by the categories of the other variable. Then use appropriate percentages to calculate the observed joined probability distribution. Compare your results with the theoretically expected results presented under point a). [5] ii) ii) Calculate the observed mean and variance of each of the two variables as well as the covariance. Compare your results with the theoretical results obtained under point a)

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 General Management Questions!