課獨(dú)立樣本t檢驗(yàn)課件_第1頁
課獨(dú)立樣本t檢驗(yàn)課件_第2頁
課獨(dú)立樣本t檢驗(yàn)課件_第3頁
課獨(dú)立樣本t檢驗(yàn)課件_第4頁
課獨(dú)立樣本t檢驗(yàn)課件_第5頁
已閱讀5頁,還剩6頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、課獨(dú)立樣本t檢驗(yàn)第四課:獨(dú)立樣本第四課:獨(dú)立樣本t t檢驗(yàn)檢驗(yàn) 例例2:某大學(xué)兩個班的學(xué)生參加英語水平考試,:某大學(xué)兩個班的學(xué)生參加英語水平考試,考試成績?nèi)缦滤?,檢驗(yàn)一下這兩個班的考試考試成績?nèi)缦滤?,檢驗(yàn)一下這兩個班的考試成績之間是否有顯著差異(成績之間是否有顯著差異(= .05)。)。課獨(dú)立樣本t檢驗(yàn)1班2班255.5215257.5260265240236.5235.5217.5256193.5258.5260.5213230.5241.5214239251.5249251243.5229.5186.5236232214.5253248246.5214264242225184.5259

2、.5208221214267.5250.5235219.5223.5237173.5課獨(dú)立樣本t檢驗(yàn)4 獨(dú)立樣本獨(dú)立樣本t檢驗(yàn)(檢驗(yàn)(Independent-Samples t Test)4.1用用Excel進(jìn)行進(jìn)行Independent-Samples t Test的步驟的步驟1) 首先,進(jìn)行首先,進(jìn)行方差齊性檢驗(yàn)方差齊性檢驗(yàn): H0 v.s. H1i) 在在“工具工具”欄依次點(diǎn)擊欄依次點(diǎn)擊“數(shù)據(jù)分析數(shù)據(jù)分析”F檢驗(yàn)檢驗(yàn) 雙樣本方差雙樣本方差確確定;定;ii) 點(diǎn)擊點(diǎn)擊“變量變量1的區(qū)域的區(qū)域”右邊的數(shù)據(jù)組表格框、拖動數(shù)據(jù)的表格;右邊的數(shù)據(jù)組表格框、拖動數(shù)據(jù)的表格;iii) 點(diǎn)擊點(diǎn)擊“變量變

3、量2的區(qū)域的區(qū)域”右邊的數(shù)據(jù)組表格框、拖動數(shù)據(jù)的表格;右邊的數(shù)據(jù)組表格框、拖動數(shù)據(jù)的表格;iv) “”的右邊默認(rèn)是的右邊默認(rèn)是0.05,也可以改為,也可以改為0.01;v) 在在“輸出選項(xiàng)輸出選項(xiàng)”那里,可選擇統(tǒng)計(jì)結(jié)果出現(xiàn)的位置,可放到那里,可選擇統(tǒng)計(jì)結(jié)果出現(xiàn)的位置,可放到“新工作表組新工作表組”,也可把,也可把“輸出區(qū)域輸出區(qū)域”指定在某個區(qū)域(如指定在某個區(qū)域(如$D$1),最后,點(diǎn)擊),最后,點(diǎn)擊“確定確定”。2) 如果如果p0.05,接受,接受H0,進(jìn)行,進(jìn)行“t-檢驗(yàn):雙樣本等方差假設(shè)檢驗(yàn):雙樣本等方差假設(shè)”; 如果如果p0.05,拒絕,拒絕H0,進(jìn)行,進(jìn)行“t-檢驗(yàn):雙樣本異方差假

4、設(shè)檢驗(yàn):雙樣本異方差假設(shè)”,操作方法與配對樣本操作方法與配對樣本t檢驗(yàn)相似。檢驗(yàn)相似。答案:答案:t = -.695,df = 44,p .05,考試成績無顯著差異。,考試成績無顯著差異。課獨(dú)立樣本t檢驗(yàn)4.2用用SPSS進(jìn)行進(jìn)行Independent-Samples t Test的步驟的步驟1) SPSS的獨(dú)立樣本的獨(dú)立樣本t檢驗(yàn)要求把兩個組的組別排在同一檢驗(yàn)要求把兩個組的組別排在同一列,兩個組的數(shù)據(jù)也排在同一列。如:組別列,兩個組的數(shù)據(jù)也排在同一列。如:組別EG和和CG都排在第都排在第1列,分別用列,分別用1,1,1,1 2,2,2,2代表代表EG和和CG,而,而EG和和CG對應(yīng)的考分都排

5、在對應(yīng)的考分都排在第第2列,列,Excel中中1,1,1 2,2,2輸入技巧:輸入技巧:填充柄,先輸入填充柄,先輸入1,在右下角下拉到需要的位置。點(diǎn),在右下角下拉到需要的位置。點(diǎn)擊擊Variable View,定義,定義Values:Value,Label,提,提示:示:1表示表示Group 1,2表示表示Group2;2) 依次選擇依次選擇AnalyzeCompare MeansIndependent-Samples T Test;3) 把變量把變量“分?jǐn)?shù)分?jǐn)?shù)”填入填入Test Variable(s);4) 把變量把變量“班別班別”填入填入Grouping Variable,點(diǎn)擊,點(diǎn)擊Def

6、ining Groups,在,在Group 1:中填寫:中填寫1,在,在Group 2:中填寫:中填寫2,告訴軟件:,告訴軟件:Group 1用用1表示,表示,Group 2用用2表示,點(diǎn)擊表示,點(diǎn)擊OK。課獨(dú)立樣本t檢驗(yàn)I In nd de ep pe en nd de en nt t S Sa am mp pl le es s T Te es st t.015.904-.69544.491-4.673916.72778 -18.232868.88504-.69543.741.491-4.673916.72778 -18.235138.88730Equal variancesassumedE

7、qual variancesnot assumedScoresFSig.Levenes Test forEquality of VariancestdfSig. (2-tailed)MeanDifferenceStd. ErrorDifferenceLowerUpper95% ConfidenceInterval of theDifferencet-test for Equality of Means課獨(dú)立樣本t檢驗(yàn) 學(xué)習(xí)統(tǒng)計(jì)學(xué),最好從學(xué)習(xí)統(tǒng)計(jì)學(xué),最好從Excel過渡到過渡到SPSS,因?yàn)?,因?yàn)镋xcel有助于弄清基本概念,例如,獨(dú)立樣本的有助于弄清基本概念,例如,獨(dú)立樣本的t檢驗(yàn),如果在檢驗(yàn)

8、,如果在Excel中做,先要進(jìn)行方差齊性中做,先要進(jìn)行方差齊性檢驗(yàn),也就是檢驗(yàn),也就是F-檢驗(yàn)檢驗(yàn) 雙樣本方差,像半自動洗雙樣本方差,像半自動洗衣機(jī):洗滌,甩干。如果在衣機(jī):洗滌,甩干。如果在SPSS中做,已經(jīng)自中做,已經(jīng)自動進(jìn)行了動進(jìn)行了Levenes Test for Equality of Variances,如果,如果p0.05,或者,或者p0.1不能拒絕零不能拒絕零假設(shè),所以兩組受試的方差齊性,要看假設(shè),所以兩組受試的方差齊性,要看Equal variances assumed那一行的結(jié)果,而非那一行的結(jié)果,而非Equal variances not assumed那一行的結(jié)果。那一

9、行的結(jié)果。課獨(dú)立樣本t檢驗(yàn)4.3 SPSS的的“幫助幫助”功能(功能(Case Studies)T Tests Independent-Samples T Test Independent-Samples T Test The Independent-Samples T Test procedure tests the significance of the difference between two sample means. Also displayed are: 1) Descriptive statistics for each test variable 2) A test of

10、variance equality 3) A confidence interval for the difference between the two variables (95% or a value you specify)課獨(dú)立樣本t檢驗(yàn)Testing Two Independent Sample Means An analyst at a department store wants to evaluate a recent credit card promotion. 500 cardholders were randomly selected. Half received an

11、 ad promoting a reduced interest rate on purchases made over the next three months, and half received a standard seasonal ad. This example uses the file creditpromo.sav. Use Independent-Samples T Test to compare the spending of the two groups.課獨(dú)立樣本t檢驗(yàn)In this example, the significance value of the st

12、atistic is 0.276. Because this value is greater than 0.10, you can assume that the groups have equal variances and ignore the second test. Using the pivoting trays, you can change the default layout of the table so that only the equal variances test is displayed.(這里的顯這里的顯著性水平為著性水平為0.1)Since the sign

13、ificance value of the test is less than 0.05, you can safely conclude that the average of 71.11 dollars more spent by cardholders receiving the reduced interest rate is not due to chance alone. The store will now consider extending the offer to all credit customers. 課獨(dú)立樣本t檢驗(yàn)Related Procedures The in

14、dependent-samples t test is appropriate whenever two means drawn from independent samples are to be compared. The variable used to form the groups may already exist; however, a cut point on a continuous variable can be provided to dynamically create the groups during the analysis. As with all t test

15、s, the independent-samples t test assumes that each sample mean comes from a population that is normally distributed. Test variables with extreme or outlying values should be carefully checked with boxplots.課獨(dú)立樣本t檢驗(yàn) There are other procedures to test normality. See Exploratory Data Analysis or One-Sample Kolmogorov-Smirnov Procedure for more information 以及本課程第以及本課程第2課。課。 Use the Runs Test procedure to check the assumption that the value of the test variable is independent of the order of observation. If your grouping variable has more th

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論