Skip to content

Commit 6d93a33

Browse files
author
Amogh Singhal
authored
Update interview_prep.md
1 parent a59d0b1 commit 6d93a33

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

interview_prep.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,18 @@ Some of its applications include determining the spread of data. It is used in t
5050
The IQR is also used to determine outliers to the data set. This is in conjuction with the box plot (or the box-and-whisker plot). Outliers are defined as values that are below Q1-1.5*IQR or above Q3+1.5*IQR. There are other methods that could be used to determine whether outliers can be eliminated from the data set.
5151

5252
### 5. What is the difference between t-test and z-test ? Why is it useful ?
53+
54+
![](https://www.wallstreetmojo.com/wp-content/uploads/2019/01/Z-Test-vs-T-Test.png)
55+
56+
57+
| Basis | Z Test | T-Test |
58+
|-------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|
59+
| Basic Definition | Z-test is a kind of hypothesis test which ascertains if the averages of the 2 datasets are different from each other when standard deviation or variance is given. | The t-test can be referred to as a kind of parametric test that is applied to an identity, how the averages of 2 sets of data differ from each other when the standard deviation or variance is not given. |
60+
| Population Variance | The Population variance or standard deviation is known here. | The Population variance or standard deviation is unknown here. |
61+
| Sample Size | The Sample size is large. | Here the Sample Size is small. |
62+
| Key Assumptions | All data points are independent. Normal Distribution for Z, with an average zero and variance = 1. | All data points are not dependent. Sample values are to be recorded and taken accurately. |
63+
| Based upon (a type of distribution) | Based on Normal distribution. | Based on Student-t distribution. |
64+
5365
### 6. Why do we take n-1 when calculating sample variance? Why is it useful ?
5466
Read about Besel correction
5567
### 7. What are the assumptions of the normal distribution ? Why is it useful ?

0 commit comments

Comments
 (0)