
Concept explainers
The longest “run” of S’s in the sequence SSFSSSSFFS has length 4, corresponding to the S’s on the fourth, fifth, sixth, and seventh positions. Consider a binomial experiment with n = 4, and let y be the length in the longest run of S’s.
- a. When p = 0.5, the 16 possible outcomes are equally likely. Determine the
probability distribution of y in this case (first list all outcomes and the y value for each one). Then calculate μy. - b. Repeat Part (a) for the case p = 0.6.
- c. Let z denote the longest run of either S’s or F’s. Determine the probability distribution of z when p = 0.5.
a.

Find the probability distribution of y when p = 0.5.
Obtain
Answer to Problem 118CR
The probability distribution of y is obtained as given below:
y | 0 | 1 | 2 | 3 | 4 |
p(y) | 0.0625 | 0.4375 | 0.3125 | 0.1250 | 0.0625 |
The mean for the random variable y is 1.6875.
Explanation of Solution
Calculation:
It is given that, the longest “run” of S’s in the sequence SSFSSSSFFS has length 4. This length corresponds to S’s on the fourth, fifth, sixth, and seventh positions.
Define the random variable y as the length in the longest run of S’s. Here, the random variable y follows binomial distribution with n = 4.
When p = 0.5, there are 16 possible outcomes and these outcomes are equally likely to occur.
One of the possible outcomes is SSSS. Here, longest run of S is 4. Hence, the random variable y takes the value 4. The corresponding probability is,
Outcome | y | Probability |
SSSS | 4 | |
SSSF | 3 | |
SSFS | 2 | |
SSFF | 2 | |
SFSS | 2 | |
SFSF | 1 | |
SFFS | 1 | |
SFFF | 1 | |
FSSS | 3 | |
FSSF | 2 | |
FSFS | 1 | |
FSFF | 1 | |
FFSS | 2 | |
FFSF | 1 | |
FFFS | 1 | |
FFFF | 0 |
The probability distribution of y is obtained as given below:
y | 0 | 1 | 2 | 3 | 4 |
p(y) | 0.0625 |
Mean:
The mean for the random variable y is obtained as given below:
y | p(y) | |
0 | 0.0625 | 0 |
1 | 0.4375 | 0.4375 |
2 | 0.3125 | 0.625 |
3 | 0.125 | 0.375 |
4 | 0.0625 | 0.25 |
From the above table, the mean is,
Thus, the mean for the random variable y is 1.6875.
b.

Find the probability distribution of y when p = 0.6.
Obtain
Answer to Problem 118CR
The probability distribution of y is obtained as given below:
y | 0 | 1 | 2 | 3 | 4 |
p(y) | 0.0256 | 0.3264 | 0.3456 | 0.1728 | 0.1296 |
The mean for the random variable y is 2.0544.
Explanation of Solution
Calculation:
Define the random variable y as the length in the longest run of S’s.
When p = 0.6, there are 16 possible outcomes and these outcomes are equally likely to occur.
One of the possible outcomes is SSSS. Here, S occurs for 4 times. Hence, the random variable y takes the value 4. The corresponding probability is,
Outcome | y | Probability |
SSSS | 4 | |
SSSF | 3 | |
SSFS | 2 | |
SSFF | 2 | |
SFSS | 2 | |
SFSF | 1 | |
SFFS | 1 | |
SFFF | 1 | |
FSSS | 3 | |
FSSF | 2 | |
FSFS | 1 | |
FSFF | 1 | |
FFSS | 2 | |
FFSF | 1 | |
FFFS | 1 | |
FFFF | 0 |
The probability distribution of y is obtained as given below:
y | p(y) |
0 | 0.0256 |
1 | |
2 | |
3 | |
4 | 0.1296 |
Mean:
The mean for the random variable y is obtained as given below:
y | p(y) | |
0 | 0.0256 | 0 |
1 | 0.3264 | 0.3264 |
2 | 0.3456 | 0.6912 |
3 | 0.1728 | 0.5184 |
4 | 0.1296 | 0.5184 |
From the above table, the mean is,
Thus, the mean for the random variable y is 2.0544.
c.

Find the probability distribution of z when p = 0.5.
Answer to Problem 118CR
The probability distribution of z is obtained as given below:
z | 1 | 2 | 3 | 4 |
p(z) | 0.1250 | 0.5000 | 0.2500 | 0.1250 |
Explanation of Solution
Calculation:
Define the random variable z as the length in the longest run either S’s or F’s.
When p = 0.5, there are 16 possible outcomes and these outcomes are equally likely to occur.
One of the possible outcomes is SSSS. Here, S occurs for 4 times. Hence, the random variable y takes the value 4. The corresponding probability is,
Outcome | z | Probability |
SSSS | 4 | |
SSSF | 3 | |
SSFS | 2 | |
SSFF | 2 | |
SFSS | 2 | |
SFSF | 1 | |
SFFS | 2 | |
SFFF | 3 | |
FSSS | 3 | |
FSSF | 2 | |
FSFS | 1 | |
FSFF | 2 | |
FFSS | 2 | |
FFSF | 2 | |
FFFS | 3 | |
FFFF | 4 |
The probability distribution of z is obtained as given below:
z | 1 | 2 | 3 | 4 |
p(z) |
Want to see more full solutions like this?
Chapter 7 Solutions
Introduction to Statistics and Data Analysis
- Examine the Variables: Carefully review and note the names of all variables in the dataset. Examples of these variables include: Mileage (mpg) Number of Cylinders (cyl) Displacement (disp) Horsepower (hp) Research: Google to understand these variables. Statistical Analysis: Select mpg variable, and perform the following statistical tests. Once you are done with these tests using mpg variable, repeat the same with hp Mean Median First Quartile (Q1) Second Quartile (Q2) Third Quartile (Q3) Fourth Quartile (Q4) 10th Percentile 70th Percentile Skewness Kurtosis Document Your Results: In RStudio: Before running each statistical test, provide a heading in the format shown at the bottom. “# Mean of mileage – Your name’s command” In Microsoft Word: Once you've completed all tests, take a screenshot of your results in RStudio and paste it into a Microsoft Word document. Make sure that snapshots are very clear. You will need multiple snapshots. Also transfer these results to the…arrow_forwardExamine the Variables: Carefully review and note the names of all variables in the dataset. Examples of these variables include: Mileage (mpg) Number of Cylinders (cyl) Displacement (disp) Horsepower (hp) Research: Google to understand these variables. Statistical Analysis: Select mpg variable, and perform the following statistical tests. Once you are done with these tests using mpg variable, repeat the same with hp Mean Median First Quartile (Q1) Second Quartile (Q2) Third Quartile (Q3) Fourth Quartile (Q4) 10th Percentile 70th Percentile Skewness Kurtosis Document Your Results: In RStudio: Before running each statistical test, provide a heading in the format shown at the bottom. “# Mean of mileage – Your name’s command” In Microsoft Word: Once you've completed all tests, take a screenshot of your results in RStudio and paste it into a Microsoft Word document. Make sure that snapshots are very clear. You will need multiple snapshots. Also transfer these results to the…arrow_forward2 (VaR and ES) Suppose X1 are independent. Prove that ~ Unif[-0.5, 0.5] and X2 VaRa (X1X2) < VaRa(X1) + VaRa (X2). ~ Unif[-0.5, 0.5]arrow_forward
- 8 (Correlation and Diversification) Assume we have two stocks, A and B, show that a particular combination of the two stocks produce a risk-free portfolio when the correlation between the return of A and B is -1.arrow_forward9 (Portfolio allocation) Suppose R₁ and R2 are returns of 2 assets and with expected return and variance respectively r₁ and 72 and variance-covariance σ2, 0%½ and σ12. Find −∞ ≤ w ≤ ∞ such that the portfolio wR₁ + (1 - w) R₂ has the smallest risk.arrow_forward7 (Multivariate random variable) Suppose X, €1, €2, €3 are IID N(0, 1) and Y2 Y₁ = 0.2 0.8X + €1, Y₂ = 0.3 +0.7X+ €2, Y3 = 0.2 + 0.9X + €3. = (In models like this, X is called the common factors of Y₁, Y₂, Y3.) Y = (Y1, Y2, Y3). (a) Find E(Y) and cov(Y). (b) What can you observe from cov(Y). Writearrow_forward
- 1 (VaR and ES) Suppose X ~ f(x) with 1+x, if 0> x > −1 f(x) = 1−x if 1 x > 0 Find VaRo.05 (X) and ES0.05 (X).arrow_forwardJoy is making Christmas gifts. She has 6 1/12 feet of yarn and will need 4 1/4 to complete our project. How much yarn will she have left over compute this solution in two different ways arrow_forwardSolve for X. Explain each step. 2^2x • 2^-4=8arrow_forward
- One hundred people were surveyed, and one question pertained to their educational background. The results of this question and their genders are given in the following table. Female (F) Male (F′) Total College degree (D) 30 20 50 No college degree (D′) 30 20 50 Total 60 40 100 If a person is selected at random from those surveyed, find the probability of each of the following events.1. The person is female or has a college degree. Answer: equation editor Equation Editor 2. The person is male or does not have a college degree. Answer: equation editor Equation Editor 3. The person is female or does not have a college degree.arrow_forwardneed help with part barrow_forwardSuppose you know that Bob's test score is above the mean, but he doesn't remember by how much. At least how many students must score lower than Bob?arrow_forward
- College AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL
- College Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:Cengage



