《独立样本t检验》PPT课件.ppt_第1页
《独立样本t检验》PPT课件.ppt_第2页
《独立样本t检验》PPT课件.ppt_第3页
《独立样本t检验》PPT课件.ppt_第4页
《独立样本t检验》PPT课件.ppt_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

第四课 独立样本t检验 例2 某大学两个班的学生参加英语水平考试 考试成绩如下所示 检验一下这两个班的考试成绩之间是否有显著差异 05 4独立样本t检验 Independent SamplestTest 4 1用Excel进行Independent SamplestTest的步骤1 首先 进行方差齐性检验 H0v s H1i 在 工具 栏依次点击 数据分析 F检验双样本方差 确定 ii 点击 变量1的区域 右边的数据组表格框 拖动数据的表格 iii 点击 变量2的区域 右边的数据组表格框 拖动数据的表格 iv 的右边默认是0 05 也可以改为0 01 v 在 输出选项 那里 可选择统计结果出现的位置 可放到 新工作表组 也可把 输出区域 指定在某个区域 如 D 1 最后 点击 确定 2 如果p 0 05 接受H0 进行 t 检验 双样本等方差假设 如果p 0 05 拒绝H0 进行 t 检验 双样本异方差假设 操作方法与配对样本t检验相似 答案 t 695 df 44 p 05 考试成绩无显著差异 4 2用SPSS进行Independent SamplestTest的步骤1 SPSS的独立样本t检验要求把两个组的组别排在同一列 两个组的数据也排在同一列 如 组别EG和CG都排在第1列 分别用1 1 1 1 2 2 2 2 代表EG和CG 而EG和CG对应的考分都排在第2列 Excel中1 1 1 2 2 2 输入技巧 填充柄 先输入1 在右下角下拉到需要的位置 点击VariableView 定义Values Value Label 提示 1表示Group1 2表示Group2 2 依次选择Analyze CompareMeans Independent SamplesTTest 3 把变量 分数 填入TestVariable s 4 把变量 班别 填入GroupingVariable 点击DefiningGroups 在Group1 中填写1 在Group2 中填写2 告诉软件 Group1用1表示 Group2用2表示 点击OK 学习统计学 最好从Excel过渡到SPSS 因为Excel有助于弄清基本概念 例如 独立样本的t检验 如果在Excel中做 先要进行方差齐性检验 也就是F 检验双样本方差 像半自动洗衣机 洗涤 甩干 如果在SPSS中做 已经自动进行了Levene sTestforEqualityofVariances 如果p 0 05 或者p 0 1不能拒绝零假设 所以两组受试的方差齐性 要看Equalvariancesassumed那一行的结果 而非Equalvariancesnotassumed那一行的结果 4 3SPSS的 帮助 功能 CaseStudies TTests Independent SamplesTTest Independent SamplesTTestTheIndependent SamplesTTestprocedureteststhesignificanceofthedifferencebetweentwosamplemeans Alsodisplayedare 1 Descriptivestatisticsforeachtestvariable2 Atestofvarianceequality3 Aconfidenceintervalforthedifferencebetweenthetwovariables 95 oravalueyouspecify TestingTwoIndependentSampleMeansAnanalystatadepartmentstorewantstoevaluatearecentcreditcardpromotion 500cardholderswererandomlyselected Halfreceivedanadpromotingareducedinterestrateonpurchasesmadeoverthenextthreemonths andhalfreceivedastandardseasonalad Thisexampleusesthefilecreditpromo sav UseIndependent SamplesTTesttocomparethespendingofthetwogroups Inthisexample thesignificancevalueofthestatisticis0 276 Becausethisvalueisgreaterthan0 10 youcanassumethatthegroupshaveequalvariancesandignorethesecondtest Usingthepivotingtrays youcanchangethedefaultlayoutofthetablesothatonlythe equalvariances testisdisplayed 这里的显著性水平为0 1 Sincethesignificancevalueofthetestislessthan0 05 youcansafelyconcludethattheaverageof71 11dollarsmorespentbycardholdersreceivingthereducedinterestrateisnotduetochancealone Thestorewillnowconsiderextendingtheoffertoallcreditcustomers RelatedProceduresTheindependent samplesttestisappropriatewhenevertwomeansdrawnfromindependentsamplesaretobecompared Thevariableusedtoformthegroupsmayalreadyexist however acutpointonacontinuousvariablecanbeprovidedtodynamicallycreatethegroupsduringtheanalysis Aswithallttests theindependent samplesttestassumesthateachsamplemeancomesfromapopulationthatisnormallydistributed Testvariableswithextremeoroutlyingvaluesshouldbecarefullycheckedwithboxplots Thereareotherprocedurestotestnormality SeeExploratoryDataAnalysisorOne SampleKolmogorov SmirnovProcedureformoreinformation以及本课程第2课 UsetheRunsTestproceduretochecktheassumptionthatthevalueofthetestvariableisindependentoftheorderofobservation Ifyourgroupingvariablehasmorethantwogroups trytheOne WayANOVAprocedu

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论