 # Get Ahead in Types of Bias: Expert Guidance and Real-World Applications

Recent questions in Types of Bias wijii4 2022-09-24

## So in my stats book I am told the following: A type I error is a false positive meaning you reject the null hypothesis when it's true. A type II error is a false negative meaning you reject the alternative hypothesis when it's true. My question is what causes these errors to occur? Is it simply bad sampling methods resulting in your getting biased data that causes you to get a skewed test statistic value and make the wrong conclusions? What causes these types of errors in hypothesis testing? Sandra Terrell 2022-08-10
## Let $A$ and $B$ be some continuous random variables. We proceed as follows: we take a coin with bias $b$ and flip it. If heads, we inspect $A$, if tails we inspect $B$. Call this resulting random variable $C$.Now say I can observe $C$ and want to figure out if the coin was heads or tails, i.e. I want to compute $Pr\left[$One thought I had was to approximate the coin toss with a continuous random variable $K$ with pdf:Then one could compute the joint density function for $K$ and $C$ and compute $Pr\left[K<0|C=c\right]$ from there. But this looks clunky and ugly. Is there a better way? Brenton Dixon 2022-07-21