Statistics/Concepts(+codes)

Hypothesis Test: H0 & Ha - concepts

metamong 2022. 3. 24.

1. Hypothesis Testing? → Null Hypothesis(H0) ๐Ÿ™†‍โ™‚๏ธ

1โ–ถ Create a Hypothesis (without stating H0)

 

โ–ท (if data gives us strong evidence that the hypothesis is wrong) we can reject the Hypothesis

โ–ท (but when we have data that is similar to the hypothesis but not exactly the same) fail to reject the Hypothesis (best we can do)

(because it's unclear if the hypothesis should be based on many different results)

 we need preliminary data in order to make a statement that we can test in follow up experiments

 

2โ–ถ Null Hypothesis(๊ท€๋ฌด๊ฐ€์„ค) - that there is no difference between things

 

ex) Null Hypothesis = there is no difference in recovery times btw two Drugs

โ–ท we simply see if the data convinces us to reject the Hypothesis that there is no difference btw two Drugs

โ–ท (if we tested the drugs on a lot of people & little random things would not change the results very much)

โ–ท we could confidently reject the Null Hypothesis (there is no difference btw two Drugs)

 does not require preliminary data because the only value that represents no difference is 0

 

so.....

โ‰ซ rather than get stressed out over a large number of possible hypotheses... (1โ–ถ ๋น„์ถ”)

โ‰ซ use H0 to determine if there is a difference (2โ–ถ ์ถ”์ฒœ - ์ฆ‰ ๊ท€๋ฌด๊ฐ€์„ค์„ ์‚ฌ์šฉํ•ด๋ผ~!)

 

cf) if you fail rejecting H0, (in ML world) it means that using two averages that you have overfit the data

2. Alternative Hypothesis (Ha)

โ€ป statistical test

 

โ€ป we need a STATISTICAL TEST to make a decision about whether or not to REJECT or NOT TO REJECT H0

 

โ€ป a Statistical Test needs 3 things

 data

 a Null(or Primary Hypothesis) (i.e. need sth to reject or fail to reject)

 Alternative Hypothesis (Ha) (simply the oppositve of H0)

ex) three drugs are not different from each other (H0)

- Ha would be... 'two drugs are the same & the remaining drug is doing its own thing'

- or.. Ha would be ... 'three drugs are all different from each other'

 

so.....

โ‰ซ depending on which one we use in the STATISTICAL TEST, we can end up making a different decision about H0

โ‰ซ so it is important to clearly state which Ha we want to use

(regardless of which Ha we chose, we only REJECT or FAIL to REJECT H0 or Primary Hypothesis)


(↓H0 & Ha๋ฅผ ์ด์šฉํ•œ ํ•˜๋‹จ ๊ฐ€์„ค๊ฒ€์ •๋‹จ๊ณ„ ๊ธฐ์–ตํ•˜๊ธฐ↓)

 

1โ‰ซ if we tested the H0

2โ‰ซ ... using Ha, 

3โ‰ซ and we REJECT H0

{โ‰ซ (might say) we REJECTED H0 (in favor of this Ha)}

4โ‰ซ (BUT!) we would still not say we accept Ha (because other Ha MIGHT BE BETTER) (only if there are more than 2 optional Ha's)

(there are too many possibilities to test to know if we have accepted the correct one)

5โ‰ซ that is why we ONLY REJECT or FAIL TO REJECT H0 or Primary Hypothesis


* ์ถœ์ฒ˜1) https://www.youtube.com/watch?v=0oc49DyA3hU 

* ์ถœ์ฒ˜2) https://www.youtube.com/watch?v=5koKb5B_YWo  

* ์ธ๋„ค์ผ์ถœ์ฒ˜) https://stock.adobe.com/sk/search?k=hypothesis%20icon 

๋Œ“๊ธ€