《配对样本t检验》PPT课件.ppt

上传人:za****8 文档编号:12726465 上传时间:2020-05-19 格式:PPT 页数:14 大小:325.01KB
返回 下载 相关 举报
《配对样本t检验》PPT课件.ppt_第1页
第1页 / 共14页
《配对样本t检验》PPT课件.ppt_第2页
第2页 / 共14页
《配对样本t检验》PPT课件.ppt_第3页
第3页 / 共14页
点击查看更多>>
资源描述
第三课配对样本t检验,3.1统计方法的种类和条件参数统计(parametricstatistics):通常要求样本所来自的总体的分布型是已知的(如身高呈正态分布),在这种假设的基础上,对总体参数(如总体平均数)进行检验,称为参数统计。如:t检验(Gossett笔名student)非参数统计(non-parametricstatistics):某些数据的总体分布难以用函数式表达,或者总体分布的函数式未知,只知道总体分布是连续型或离散型,解决这类问题不依赖总体分布的形式,或者不受总体参数的限制,故称非参数统计。如:2检验:在调查问卷、民意测验中,e.g.文理分科、总统选举、饮料、水果偏好等,意见不一定呈正态分布。,3.2t检验的种类单总体t检验:检验样本平均数与已知总体平均数的差异是否显著。当总体呈正态分布,如总体标准差未知,且样本容量小于30,则样本平均数与总体平均数的离差统计量呈t分布。e.g.中国男性平均身高是170cm,某大学男生身高是否与此一致。双总体t检验:检验两个样本平均数与其各自代表的总体的差异是否显著,分为两类:1)配对样本t检验(Paired-SamplestTest):用于检验两个相关样本的平均数与其各自代表的总体的差异是否显著。分为两种实验设计:(1)自身不同处理结果的检验。e.g.1个班2次考试(2)同一总体配对后不同处理结果的检验。e.g.把受试根据年龄、性别、成绩配对再处理。2)独立样本t检验(Independent-SamplestTest):用于检验两个独立样本的平均数与其各自代表的总体的差异是否显著。e.g.2个班1次考试,3.3假设检验三步骤1)建立假设,确定检验水准H0,H1,若拒绝H0,就接受H1,假设检验分单、双侧检验。检验水准通常取0.05或0.01。2)根据研究目的和实验设计选择检验方法参数检验(t检验)、非参数检验(2检验)3)根据P值,作出统计结论若p0.05,接受H0;若p0.05,拒绝H0,=0.05。,3.4配对样本t检验(Paired-SamplestTest)例1:某班20个学生第一和第二学期期末的听力考试成绩如下所示,请检验一下,两次考试的平均成绩之间是否有显著差异(=.05)。,3.4.1用Excel进行Paired-SamplestTest的步骤H0H11)在“工具”栏依次点击“数据分析”“t-检验:平均值的成对二样本分析”“确定”;2)点击“变量1的区域”右边的数据组表格框、拖动数据所在的表格;3)点击“变量2的区域”右边的数据组表格框、拖动数据所在的表格;4)“”的右边默认是0.05,也可改为0.01;5)“输出选项”统计结果的位置可放到“新工作表组”,也可指定在某个区域,最后点击“确定”。答案:t=-2.092,df=19,p.05,无显著差异。,3.4.2用SPSS进行Paired-SamplestTest的步骤SPSS的配对样本t检验要求把两组数据并列排放,例如,EG的数据在一列,CG的在另一列,可手工输入,也可导入xls或者txt文档;2)依次点击AnalyzeCompareMeansPaired-SamplesTTest;3)点击两组数据,使之进入Paired-Variables,点击OK。,3.4.3SPSS的“帮助”功能SPSS的Help:1)进入Paired-SamplesTTest点击Help;2)SPSS上点击“Help”:StatisticsCoachCaseStudiesStatisticsCoach:Paired-SamplesTTestAssumptions:Observationsforeachpairshouldbemadeunderthesameconditions.Themeandifferencesshouldbenormallydistributed.Variancesofeachvariablecanbeequalorunequal.,CaseStudies:在SPSS的CaseStudies的Index的字母p点击Paired-SamplesTTestOneofthemostcommonexperimentaldesignsisthepre-postdesign.Itconsistsoftwomeasurementstakenonthesamesubject,onebeforeandoneaftertheintroductionofatreatmentorastimulus.Ifthetreatmenthadnoeffect,theaveragedifferencebetweenthemeasurementsisequalto0andthenullhypothesisholds;ifthetreatmentdidhaveaneffect,theaveragedifferenceisnot0andthenullhypothesisisrejected.,ThePaired-SamplesTTestprocedureisusedtotestthehypothesisofnodifferencebetweentwovariables.Thedatamayconsistoftwomeasurementstakenonthesamesubjectoronemeasurementtakenonamatchedpairofsubjects.Additionally,theprocedureproduces:DescriptivestatisticsforeachtestvariableThePearsoncorrelationbetweeneachpairanditssignificanceAconfidenceintervalfortheaveragedifference(95%oravalueyouspecify),DoesDietMakeaDifference?Aphysicianisevaluatinganewdietforherpatientswithheartdisease.Totesttheeffectivenessofthisdiet,16patientsareplacedonthedietfor6months.Theirweightsandtriglyceride(甘油三酯)levelsaremeasuredbeforeandafterthestudy,andthephysicianwantstoknowifeithersetofmeasurementshaschanged.(Seedietstudy.sav)RunningtheAnalysisTobegintheanalysis,fromthemenuschoose:AnalyzeCompareMeansPaired-SamplesTTestSelectTriglycerideandFinalTriglycerideasthefirstsetofpairedvariablesSelectWeightandFinalWeightasthesecondpairClickOK.,PairedTestTableTheSig.(2-tailed)columndisplaystheprobabilityofobtainingatstatisticwhoseabsolutevalueisequaltoorgreaterthantheobtainedtstatistic.Sincethesignificancevalueforchangeinweightislessthan0.05,youcanconcludethattheaveragelossof8.06poundsperpatientisnotduetochancevariation,andcanbeattributedtothediet.Butthesignificancevaluegreaterthan0.10forchangeintriglyceridelevelshowsthedietdidnotsignificantlyreducetheirtriglyceridelevels.,PearsonCorrelationsAt-0.286,thecorrelationbetweenthebaselineand6-monthtriglyceridelevelsisnotstatisticallysignificant.Levelswereloweroverall,butthechangewasinconsistentacrosssubjects.Severalloweredtheirlevels,butseveralotherseitherdidnotchangeorincreasedtheirlevels.Ontheotherhand,thePearsoncorrelationbetweenthebaselineand6-monthweightmeasurementsis0.996,almostaperfectcorrelation.Unlikethetriglyceridelevels,allsubjectslostweightanddidsoquiteconsistently.,RelatedProceduresThepaired-samplesttestisappropriatewhenevertworelatedsamplemeansaretobecompared.Thedifferencescoresareassumedtofollowanormaldistribution.Beforerunningthettest,youcanassessthedistributionofdifferencescoresbyexaminingthehistogramofacomputeddifferencevariable.Testvariableswithextremeoroutlyingvaluesshouldbecarefullychecked;boxplotscanbeusedforthis.,Thereareotherprocedureswhichyoucanusetotesttheassumptionofnormality.SeeExploratoryDataAnalysisandOne-SampleKolmogorov-SmirnovProcedureformoreinformation以及本课程第2课。UsetheRunsTestproceduretochecktheassumptionthatthevalueofthetestvariableisindependentoftheorderofobservation.Ifyoucomputethedifferencebetweenthepairedvariables,youcanalternativelyusetheOne-SampleTTestprocedure.Ifyourtestvariablesdonotsatisfytheassumptionsofthepairedttest,trytheWilcoxonsigned-ranktestintheTwo-Related-SamplesTestsprocedure.本课介绍了配对样本的t检验,多谢浏览。,
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!