Question

In: Statistics and Probability

Five people, including you and a friend, line up at random. The random variable X denotes...

Five people, including you and a friend, line up at random. The random variable X denotes the number of people between yourself and your friend. Use R to show this distribution in a graph.

Solutions

Expert Solution

PDF Plot

CDF PLot

R-Code:

x.pf<-c(4/10,3/10,2/10,1/10)
barplot(dist,xlab="X",ylab="Probability Function",
names.arg=c("0","1","2","3"))
dist<-c(4/10,7/10,9/10,10/10)
plot(ecdf(dist),names.arg=c("0","1","2","3"))


Related Solutions

In the table below the random variable X represents the number of people waiting in line...
In the table below the random variable X represents the number of people waiting in line at a fast food restaurant during the lunch hour. x 0 1 2 3 4 5 Probability 0.0110.035 0.285 0.304 0.239 0.126 a) Verify that this is a discrete probability distribution. b) Draw a probability histogram. c) Compute and interpret the mean of the random variable X. d) Compute the standard deviation of the random variable X. e) What is the probability that there...
let x be the random variable in rolling two dice denotes the absolute difference between die...
let x be the random variable in rolling two dice denotes the absolute difference between die faces . (i) find the probability distribution f(x) and cumulative distribution F(x) . ii) plot f(x) and F(x) iii) find the mean and variance of x and of g(x) = 3x + 7
The random variable X, which denotes the interval between two consecutive events, has the PDF: fx...
The random variable X, which denotes the interval between two consecutive events, has the PDF: fx (?) = 4?^( 2)?^( −2?) ? ≥ 0 If we assume that intervals between events are independent, determine the following: (a) The expected value of X. (b) The expected value of the interval between the 11th and 13th events (c) The probability that ? ≤ 6.
The IQ score of people is a normal random variable X with a mean of 100...
The IQ score of people is a normal random variable X with a mean of 100 and a standard deviation of 10. Randomly choose one. Find P(85 ≤ X ≤ 90)? Let X be the sample mean of a random sample of 100. Find P(X > 101). Find the 90th percentile of X. (That is, find a such that P(X < a) = 0.9) Randomly choose 10 people’ IQ scores. What is the probability that exactly 3 of the IQ...
let the continuous random variable D denotes the diameter of the hole drilled in an aluminium...
let the continuous random variable D denotes the diameter of the hole drilled in an aluminium sheet. The target diameter to be achieved is 12.5mm. Random disturbances in the process often result in accuracy. historical data shows that the distribution of D can be modelled by the PDF (d)= 20e-20(d-12.5), d>=12.5. If a part with diameter >12.6mm needs to be scrapped, what is the proportion of those parts? what is the CDF when the diameter is of 11mm? what is...
Determine whether or not the random variable X is a binomial random variable. (a) X is...
Determine whether or not the random variable X is a binomial random variable. (a) X is the number of dots on the top face of a fair die (b) X is the number of hearts in a five card hand drawn (without replacement) from a well shuffled ordinary deck. (c) X is the number of defective parts in a sample of ten randomly selected parts coming from a manufacturing process in which 0.02% of all parts are defective. (d) X...
The accompanying table describes the random variable​ x, the numbers of adults in groups of five...
The accompanying table describes the random variable​ x, the numbers of adults in groups of five who reported sleepwalking. Complete parts​ (a) through​ (d) below. LOADING... Click the icon to view the table. a. Find the probability of getting exactly 4 sleepwalkers among 5 adults. nothing ​(Type an integer or a decimal. Do not​ round.) b. Find the probability of getting 4 or more sleepwalkers among 5 adults. nothing ​(Type an integer or a decimal. Do not​ round.) c. Which...
Five males with an​ X-linked genetic disorder have one child each. The random variable x is...
Five males with an​ X-linked genetic disorder have one child each. The random variable x is the number of children among the five who inherit the​ X-linked genetic disorder. Determine whether a probability distribution is given. If a probability distribution is​ given, find its mean and standard deviation. If a probability distribution is not​ given, identify the requirements that are not satisfied. x   P(x) 0   0.029 1   0.164 2   0.307 3   0.307 4   0.164 5   0.029 Does the table show...
Five males with an​ X-linked genetic disorder have one child each. The random variable x is...
Five males with an​ X-linked genetic disorder have one child each. The random variable x is the number of children among the five who inherit the​ X-linked genetic disorder. Determine whether a probability distribution is given. If a probability distribution is​ given, find its mean and standard deviation. If a probability distribution is not​ given, identify the requirements that are not satisfied. x ​P(x) 0 0.0320.032 1 0.1630.163 2 0.3050.305 3 0.3050.305 4 0.1630.163 5 0.032
Five males with an​ X-linked genetic disorder have one child each. The random variable x is...
Five males with an​ X-linked genetic disorder have one child each. The random variable x is the number of children among the five who inherit the​ X-linked genetic disorder. Determine whether a probability distribution is given. If a probability distribution is​ given, find its (a) mean and (b) standard deviation. If a probability distribution is not​ given, identify the requirements that are not satisfied. X | P(x) 0 | 0.033 1|0.156 2 | 0.311 3 | 0.311 4 | 0.156...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT