Sampling distribution/ sample mean/ how to compare the means of two samples
i. Sample mean is an estimate of the 'true' mean for the population
ii. Choose a p-value and run t-test and compare to threshold value to decide if we should reject Null hypothesis.
Confidence interval
i. Confidence interval always comes with bootstrap sampling>10000, for each sampling we got a sample mean.. From 1point 3acres bbs
ii. CI is a range, in which a certain percentage of the sample means fall in.
iii. If the confidence level is 95%, it means 95% of the sample means fall into that range, which can be further explained that we are 95% sure that true population mean fall into that range.. 1point3acres.com
. check 1point3acres for more.
P-value
i. P-value is a measure of statistical confidence. A measure of how confident you are that the model will still be valid if you have a lot more data.. From 1point 3acres bbs
a. The lower the p-value, the greater the statistical confidence.
ii. P-value is used in the hypothesis testing when comparing two sample data and is the evidence against the null hypothesis.. 1point3acres
a. If the p-value is lower than the threshold value(0.05), we would like to reject the null hypothesis which supports two samples coming from the sample distribution.
b. There are only 5% of chance (too small) to get this extreme observation if the null hypothesis is true.
c. There are only 5% for the statistical test to be False Positive (too small) if the two samples do come from the same distribution (null hypothesis is true).
. Waral dи,
Multi-hypothesis testing
i. The multiple hypothesis testing occurs when a number of individual hypothesis tests are considered simultaneously. . ----
ii. In this case, the significance of individual tests no longer represents the combined sets.. 1point 3 acres
P-hacking
i. P-hacking
a. In multi-hypothesis testing , P-hacking means the misuse of the analysis techniques so the results are misled by false positive.
b. Take the single result/observation to draw conclusion or adjust sample size during the experiment to achieve statistical significance.. 1point 3 acres
c. If the two samples do come from the same distribution (null hypothesis is true), there are still 5% chance that the statistical tests will result in False Positive.
ii. How to prevent P-hacking
a. False Discovery Rate method usually prevent P-hacking in multi-hypothesis testing by inputting every single p-value and output the adjusted p-value that is usually greater than the original ones.
b. Bonferroni Method (Reduce the threshold of P-value so we can reduce the false positive rate).-baidu 1point3acres
Power Analysis
i. The power analysis determines what sample size will ensure the higher probability to correctly reject a null hypothesis
ii. We can't adjust the sample size during the experiment because it will lead to P-hacking and only can do that before the experiment.
iii. Effect size (metric to show the overlap of two distributions)/ desired power level / confident level
Central limit theorem
i. No matter what distribution from which the sample means were calculated, the means of the collected samples (sample mean) are normally distributed
ii. When doing experiment , we don't know the distribution where the group data come from, but CLT doesn't care since the sample means are always normally distributed
iii. On top of that we conduct t-test and ANOVA to see If the means of two groups are statistically different.
iv. Sample size > 30
Bias/Variance/Underfitting/Overfitting
i. Bias (under-fitting) - The inability for a machine learning method to capture the true relationship-baidu 1point3acres
ii. Variance (overfitting) - the difference of the performance in fitting among different datasets.
iii. The high variance means the hypothesis line fit the training set so well, but it did a terrible job in fitting the test set.
iv. Overfitting - the function line fits the training set well but not the testing set.