Question

In: Statistics and Probability

2. Probability (30%). Figure out the probability in thefollowing scenarios.(a) A number generator is...

2. Probability (30%). Figure out the probability in the following scenarios.

(a) A number generator is able to generate an integer in the range of [1, 100], where each number has equal chances to be generated. What is the probability that a randomly generated number x is divisible by either 2 or 3, i.e., P(2 | x or 3 | x)? (5%)

(b) In a course exam, there are 10 single-choice questions, each worthing 10 points and having 4 choices (A, B, C, and D, with only one correct). There is one student, denoted as s, who has learned nothing from the course and hence has to randomly guess the answers. That means for any question, each one of the four choices has equal chances to be picked up by s. What is the probability that s passes the exam (earning a total of ≥ 60 points)? (5%)

(c) Consider three positive integers, x1, x2, x3, which satisfy the inequality below: x1 + x2 + x3 = 17. (1) Let’s assume each element in the sample space (consisting of solution vectors (x1, x2, x3) satisfying the above conditions) is equally likely to occur. For example, we have equal chances to have (x1, x2, x3) = (1, 1, 15) or (x1, x2, x3) = (1, 2, 14). What is the probability the events x1 + x2 ≤ 8 occurs, i.e., P(x1 + x2 ≤ 8 | x1 + x2 + x3 = 17 and x1, x2, x3 ∈ Z+) (Z+ is the set containing all the possible positive integers)? (5%)

(d) There are unlimited fake coins and only one real coin. The fake coins and the real coin are almost the same and can only be detected by a special machine. At the very beginning, there are two coins in a bag, one fake and the other real (but we don’t know which one is real). We continue the following process till the real coin is found: At the each step, we randomly sample one coin from the bag and examine whether it is fake. If yes, we put the coin back to the bag, additionally put in another fake coin, and randomly draw a coin for examination. The sampling process won’t stop until we find the real coin. Assuming that each coin (either fake or real) has equal chances to be selected, what is the probability that we sample 9 times but still cannot find the real coin (and hence has to continue the sampling process)? (5%)

(e) From a random sports news, the probability of observing the word “ball” and “player” is 0.8 and 0.7, respectively. For a non-sports news, the probability to observe “ball” is 0.1, so does that to observe “player”. Let’s assume that in any article, the appearance of any two words (including “ball” and “player”) are independent with each other. Also, the probability of sports news’ occurrences is 0.2. Given a news report x containing both “ball” and “player”, what is the probability that x is a sports news. (10%)

Solutions

Expert Solution

a) Required probability = (No. of favorable choices)/Sample Space

Sample space = 100

No. of favorable choices = Total number of numbers divisible by either 2 or 3

Mathematically

  

Hence, the required probability = (answer)

b) Since the possibility of choosing any option is equally likely, and since there is only one option correct

Hence, the probability of choosing the correct option = 1/4 = 0.25

And the probability of choosing the wrong option = 1-0.25 = 0.75

We will use Bernoulli's distribution here to calculate the required probability

where p = 0.25

Now, of the 10 questions, at least 6 must be correct to pass the exam.

The Bernoulli's distribution

Where n is the total number of questions, x is the number of correct answers and p is the probability for a correct answer.

For x = 6

For x = 7

For x = 8

For x = 9

For x = 10

Hence, on adding the all above probabilities, we get the total probability of scoring equal to or more than 60points in the test = 0.016+0.003+0.0004+0.00003+0.00000 = 0.019 (answer)

c) The equation is

or,

We need to find the probability of

Since are both positive integers, hence must be greater than or equal to 2.

Hence, finding the probability of is same as finding the probability for

No. of favorable values for

Now, The maximum value for will be possible when will be minimum.

Hence, for and ,   = 17 - 1 -1 = 15

Hence maximum value for = 15

And, minimum value for = 1

Total number of possible values for = 15

Required probability of   

= (No. of favorable values for )/(No. of possible values for )  

(answer)

d) In this question, we need to find the probability of not selecting a real coin in the first 9 attempts

Probability of selecting a real coin = 0.5 and of selecting a fake coin = 0.5

Since the number of coins in the bag continues to increase after every unsuccessful attempt. hence the probability of selecting a fake coin will keep on increasing

Now, the required probability will be equal to the product of probabilities of each attempt till the 9th attempt

(answer)

e) The fifth question is a question of conditional probability

Let us define the events first

A = X is a sports news

B = The report X contains both ball and player

We need to find the Conditional probability P(A / B) that is, Probability of x being a sports news given that the news contains both the word 'ball' and 'player'.

The formula for conditional probability

Now,

Hence, there is a probability of 0.93 that if a news contains the words 'ball' and 'player' then the news will be a sports news.

 


Related Solutions

A game uses a random number generator to produce four outcomes: $1 probability of .4 $2...
A game uses a random number generator to produce four outcomes: $1 probability of .4 $2 probability of .3 $3 probability of .2 $4 probability of .1 Let the random variable X model the game. Let u1, u2,….,uN be a sequence of random numbers where 0 <= ui < 1 for i= = 1,2,….,N. Define a process that uses this sequence to produce a sequence of random variates that has the same distribution as X
Match the following scenarios to their sampling method. A random number generator selects a subject’s ID...
Match the following scenarios to their sampling method. A random number generator selects a subject’s ID number You wish to take a survey of people’s opinion of your company’s workplace culture. It is made up of 7 departments and you randomly select a department and use everyone in it.   You select every 10th shopper that comes through the door to take a survey on your company’s products. A survey of military personal randomly selects 1% of personnel from each branch...
I need to figure out what questions could be asked from these scenarios. - A snowboarder...
I need to figure out what questions could be asked from these scenarios. - A snowboarder comes off of a ramp at an angle of theta above the horizontal, with a speed of v. The end of the ramp is a height h above the ground. Neglect friction and air resistance. - A boy is standing on a ramp that is inclined at an angle theta above the ground. He is not slipping due to a static frictional force of...
I cannot figure out why my random name generator isn't producing the letter u or z....
I cannot figure out why my random name generator isn't producing the letter u or z. Can someone help me out? The language is java. import java.util.Random; public class BrandName {    public static void main(String[] args) {        Random random = new Random();        System.out.println("Brand Name Generator - Michael Wikstrom\n");        char odd[] = { 'b', 'c', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', 'n', 'p', 'r', 's', 't', 'v', 'w', 'x', 'y',       ...
Using MS Excel and the random number generator function, generate values for 30 observations for the...
Using MS Excel and the random number generator function, generate values for 30 observations for the following columns with average daily: Body weight with random values between 100 and 250lbs Calories intake with random values between 1000 and 3000 calories Workout duration with random values between 0 and 60 minutes Sleep duration with random values between 2 and 12 hours Work duration with random values between 0 and 12 hours Assuming that the values are averages over 1 year, conduct...
I am trying to figure out the probability, expected value, variance, and standard deviation for a...
I am trying to figure out the probability, expected value, variance, and standard deviation for a series of dice rolls. For example, if I roll a six-sided die in an attempt to roll a 1, and it takes me 7 rolls before a 1 appears, what are those answers? I have figured out the probability equation: P(P-1)^x where x is the number of rolls - 1 so for 7 rolls the probability would be: 1/6(1-1/6)^6 = 0.05581632... Further where I...
James is trying to figure out the optimal number of years to replace his machinery. The...
James is trying to figure out the optimal number of years to replace his machinery. The machinery will be replaced continously for the foreseeable future. The machinery costs $35,000. The maintenance costs for each respective year are shown in the table below together with the salvage value of the machinery if it were to be sold in that year. James has decided to keep the machinery for at least 4 years but is uncertain whether a 4 or 5 year...
What is the probability that a class of 30 students out of 300 would have a...
What is the probability that a class of 30 students out of 300 would have a final average grade higher than a 90? 95   96   94   58   67   94   89   88   97   76 50   94   61   63   78   90   79   81   98   64 86   91   92   95   85   79   89   88   95   92 94   65   40   80   93   81   95   89   91   88 96   58   88   77   98   91   97   79   93   94 92   91   61   74   90   89   80  ...
continuous random variable and uniform distribution please follow the comment. A random number generator spits out...
continuous random variable and uniform distribution please follow the comment. A random number generator spits out a random real number in the range [1,4] assume each number is equally likely being out. what is the probability that the model output an irrational number? the answer is 1, but i don't understand
There is a project of $ 5,000 which has 2 scenarios: Positive: probability 70% flows: $...
There is a project of $ 5,000 which has 2 scenarios: Positive: probability 70% flows: $ 8,000 for 2 years Negative: probability 30% flows $ 3,000 for 2 years If the discount rate is 14% solve the decision tree.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT