Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using R studio code The Assignment: Use the example code and instructions given above in conjunction your knowledge of discrete probability distributions to answer the

using R studio code

image text in transcribed
The Assignment: Use the example code and instructions given above in conjunction your knowledge of discrete probability distributions to answer the following questions using R. Complete this entire assignment before taking the corresponding lab quiz in canvas. You may work with others in the class or may receive help from the TA or instructor. A local PTA is running a fundraiser using a casino style game where a player rolls two six-sided dice. The game costs $10 to play. If the player rolls double ones, the game pays out $50 (net profit of -$40 to the PTA). If the sum of the two dice adds to eleven, the game pays out $40. If the player rolls any other doubles (2 through 6), the game pays out $20. If the two dice add to seven, the game pays out $15. Let the random variable X represent the net profit to the PTA for each play. Create a discrete probability distribution for X in table form and manually enter your random variable X and respective probability vector P into R. Remember that your probabilities should add up to one. X P(X = x) 1. What are the lines of code you used in R to define your discrete probability distribution vectors? 2. What is the expected profit (expected value) to the PTA for each game played (rounded to two decimal places)? 3. What is the variance of your discrete probability distribution (rounded to two decimal places)? 4. What is the standard deviation of your discrete probability distribution (rounded to two decimal places)? 5. If the PTA has 500 players during the fundraiser, what is the expected profit for the event (rounded to two decimal places)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Theory And Applications Of Partial Functional Differential Equations

Authors: Abrar A Khan

1st Edition

9353141915, 9789353141912

More Books

Students also viewed these Mathematics questions

Question

Describe the process of advance refunding of the federal debt.

Answered: 1 week ago