library(tidyverse)
library(praise)
Random variables AE-8
Given that the random variable \(X\) has mean \(\mu = 120\) and SD \(\sigma = 15\), find the mean and SD of each of these random variables that are defined by \(X\).
- \(X/3\)
- \(2X - 100\)
- \(X+2\)
- \(X-X\)
An investor buys the stock of two companies, investing \(\$10000\) in each. The stock of each company either goes up by \(80%\) after a month (rising to \(\$18000\)) with probability \(\frac{1}{2}\) or drops by \(60%\) (falling to \(\$4000\)) with probability \(\frac{1}{2}\). Assume that the changes in each are independent. Let the random variable \(X\) denote the value of the amounted invested after one month.
- Find the probability distribution of \(X\).
- Find the mean value of \(X\)
- Doe the mean value represent the experience of the typical investor?
praise()
A law firm takes cases on a contingent fee basis. If the case goes to trial, the firm expects to earn \(\$25000\) as part of the settlement if it wins and nothing if it does not. The firm wins one-third of the cases that go to trial. If the case does not go to trial, the firm earns nothing. Half of the cases do not go to trial.
- Define a random variable to model the earning of taking a case of this type.
- What is the expected value of such a case to the firm?
- What is the standard deviation of the earnings?
The maintenance staff of a large office building regularly replaces fluorescent ceiling lights that have gone out. During a visit to a typical floor, the staff may have to replace several lights. The manager of this staff has given the following probabilities to the number of lights (identified by the random variable \(Y\)) that need to be replaced on the floor:
\(Y\) 0 1 2 3 4 \(P(Y = y)\) 0.2 0.15 0.2 0.3 0.15 - How many lights should the manager expect to replace on a floor?
- What is the standard deviation of the number of lights on a floor that are replaced?
- If a crew takes six lights to a floor, how many should it expect to have left after replacing those that are out?
- If a crew takes six lights to a floor, find the standard deviation of the number of lights that remain after replacing those that are out on a floor.
- If it takes 10 minutes to replace each light, how long should the manager expect the crew to take when replacing the lights on a floor.
Suppose that you’ve just bought a \(\$4000\) TV. Should you also buy the \(\$50\) surge protector that guarantees to protect your TV from electric surges caused by lightning?
Let \(p\) denote the probability that your home is hit by lightning during the time that you own this TV, say five years. In order for the purchase of the surge protector to have positive long-term values, what must the chance of being hit by lightning be?
There are about 100 million households in the United States, and fewer than 10,000 get hit by lightening each year. Do you think the surge protector is a good deal on average? Be sure to note any assumptions that you make.
praise()
The ATM at a local convenience store allows customers to make withdrawals of \(\$10\), \(\$20\), \(\$50\), or \(\$100\). Let \(X\) denote a random variable that indicates the amount withdrawn by a customer. The probability distribution of \(X\) is:
\(p(10) = 0.2\)
\(p(20) = 0.5\)
\(p(50) = 0.2\)
\(p(100) = 0.1\)
- Plot the probability distribution of \(X\) in
R
. - What is the probability that a customer withdraws more than \(\$20\)?
- What is the expected amount of money withdrawn by a customer?
- The expected value is not a possible value value of the amount withdrawn. Interpret the expected value for a manager.
- Find the variance and standard deviation of \(X\).
- Plot the probability distribution of \(X\) in