using Chebyshev's inequality Suppose that you take a random sample of size n from a discrete distribution with mean $\mu$ and variance $x^2$. Using Chebyshev's inequality, determine how large n needs to be to ensure that the difference between the sample mean and $\mu$ is less that two standard deviations with probability exceeding 0.99. 
I assume I will need to use the weak law of large numbers and subsequently Chebyshev's inequality but don't know how the two standard deviations fits in or exactly how to set it up. Any help or hints would be appreciated.
 A: By the Chebyshev Inequality, if $W$ is a random variable with mean $\mu$ and variance $\sigma^2$, then
$$\Pr(|W-\mu|\ge k\sigma) \le \frac{1}{k^2}.$$
Thus 
$$\Pr(|W-\mu|\lt k\sigma) \ge 1-\frac{1}{k^2}.$$
If we take a random sample of size $n$ from a distribution with mean $\mu$ and variance $x^2$, then the sample mean $\bar{X}$ has mean $\mu$ and variance $\frac{x^2}{n}$. Substituting $\bar{X}$ for $W$, and $\frac{x}{\sqrt{n}}$ for $\sigma$  in the above formula, we get
$$\Pr\left(|\bar{X}-\mu|\lt \frac{kx}{\sqrt{n}}\right) \ge 1-\frac{1}{k^2}.$$
We want $\frac{k}{\sqrt{n}}=2$ ($2$ standard deviation units) and $1-\frac{1}{k^2}=0.99$. 
A: You may want to start of with formulating your problem. You want:
$P(| \bar {X} - \mu | \leq \epsilon)$ where $\bar{X}$ is the sample mean. So:
$P (|\bar{X} − \mu| ≤ ε) = P ((\bar{X} − \mu)^2 ≤ \epsilon^2 )$
$                        =1-\frac{E[(\bar{X} − \mu)^2 ]}{\epsilon^2}$
$                        =1-\frac{x^2/n}{\epsilon^2} =0.99$
Can you plug in the values and solve now?
