首先要計算期望次數。公式可以看下圖!
CHITEST(原始次數,期望次數)這函數會計算卡方獨立性檢定的P-Value。
若P-Value小於顯著水準,則棄卻虛無假設。以此例來說,由於P-Value 大於0.05,故不棄卻虛無假設,即年齡與廣告的喜惡無關。
CHITEST(原始次數,期望次數)這函數會計算卡方獨立性檢定的P-Value。
若P-Value小於顯著水準,則棄卻虛無假設。以此例來說,由於P-Value 大於0.05,故不棄卻虛無假設,即年齡與廣告的喜惡無關。
Copyright 2009 Engadget's Style - Design by FUNction, Ray Wei - Powered by Blogger
讀者回應 ( 0 意見 )
訂閱發佈留言 (Atom)
發佈留言
Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.
如果這篇文章對你有幫助,那請留個訊息給我~