亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

data science: chi-square

標簽:
大數據

Data Science Day 3:Chi-square Test


Learning Objectives

1.DefinetheChi-Squaredistribution

2.Explainthe 3Chi-squaretest applications scenario

TheChi- Square distributionis thesum of variance(squared standard normal deviates). The following equation represents a Chi-Square distribution with m degrees of freedom.

 V= X1^2+X2^2+...+Xm^2 

where X1,  X2, ... Xm are m independent random variables having the standard normal distribution.The higher the degree of freedom, the more it approaches to a normal distribution.

webp

The Chi-Square distribution has 3 basicproperties:

Not symmetric, Skewed to the right

No Negative Values

Total area under the curve=1

Three primary Chi-square test applications:

1.Test independence of two categorical variables:

Whether the two categorical variables have a strong association, or whether the two categorical variables are independently distributed in one sample space.

Null hypothesis:Two categorical variables are independent.

Note:There are two categorical variables from one sample space

2*.Test the Goodness of Fit (Pearson):

Whether the sample categorical data are consistent with a hypothesized distribution.

Null hypothesis: Sample data are consistent with a specified distribution

Note:It is one Categorical variable from one sample space

3.Test of Homogeneity:

Whether frequency counts of the categorical variable have the same distribution for different sample spaces.

Null hypothesis: The proportion of the categorical variable is the same in all sample space.

Note:It is one categorical variable from two or more different sample space.

* In Clinical Trials, we use Chi-square log-rank test in survival analysis.

We will show the application examples next time!

Thanks very much to Renee Wu, Ali Motamedi~ 

Happy learning!



作者:乌然娅措
链接:https://www.jianshu.com/p/d97d5018af0b


點擊查看更多內容
TA 點贊

若覺得本文不錯,就分享一下吧!

評論

作者其他優質文章

正在加載中
JAVA開發工程師
手記
粉絲
205
獲贊與收藏
1011

關注作者,訂閱最新文章

閱讀免費教程

  • 推薦
  • 評論
  • 收藏
  • 共同學習,寫下你的評論
感謝您的支持,我會繼續努力的~
掃碼打賞,你說多少就多少
贊賞金額會直接到老師賬戶
支付方式
打開微信掃一掃,即可進行掃碼打賞哦
今天注冊有機會得

100積分直接送

付費專欄免費學

大額優惠券免費領

立即參與 放棄機會
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號

舉報

0/150
提交
取消