Week7
- lec17 TVD去asscess model (本質 距離加權平均)
- text 11.2
- A New Statistic: The Distance between Two Distributions
- text-11.1
- 1.1 數據拿到手,套路操作 -- 看hist分布
- 2 total variation distance
- lec18
- lec19
lec17 TVD去asscess model (本質 距離加權平均)
text 11.2
A New Statistic: The Distance between Two Distributions
- 1 calculate total_varitation_distance
- 2 fixed distance
- 3 隨機一個
拓展多個 - finally draw
大致意思是樣本的 比例可能性 和 實際占比可能性,之間偏差 去 加權 取值
然后去模擬n次,每次的概率是變的,繼而 距離加權會變 ,distribution of 終值1
而原來 理論fixed 的概率也有一個 固定的加權距離, 鐘值2
text-11.1
每次模擬都模擬了概率變動, 用sample_proportions
1.1 數據拿到手,套路操作 – 看hist分布
- 1.2
2 total variation distance