1 / 18
文档名称:

使用Stata做多层次分析.pptx

格式:pptx   大小:492KB   页数:18页
下载后只包含 1 个 PPTX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

使用Stata做多层次分析.pptx

上传人:wz_198613 2019/12/2 文件大小:492 KB

下载得到文件列表

使用Stata做多层次分析.pptx

文档介绍

文档介绍:1MultileveldataandanalysiswithStata(in15minutes)2GeneralisedlinearmodelY=BX+eY=evariable(s)X=explanatoryvariablese=plexitytotheGLM,suchasbydisaggregatingtheerrorstructures3TheworkofstatisticalmodellingYi=BXi+eiMostofthetime:wehaveasingleYweignoreeweconcentrateonwhatgoesintoB4ExampleData:BritishHouseholdPanelSurvey2005adultinterviews(7kadultsinwork)Y=GHQscalescoreforadultsinemployment(GeneralHealthQuestionnaire,higher=worsesubjectivewell-being)X=variouspossiblemeasures,includinggender,age,maritalstatus,occupationaladvantage,education,partner’sGHQYoucanrunthisexample,thefilesareat:********************Age-squared-**-**-**Cohab-*-**-**-**OwnCAMSIS-*-’--->’**(norelationbetweenerrortermsfordifferentcases)[aboveusing:Menard,,London:Sage.]7MultilevelmodellingWhatiftherewassomeconnectionbetweensomeofthecaseswithinthedataset?,sampleincludesmultiplechildrenfromthesameschoolSomeconnections(‘hierarchicalclusters’)ountforhierarchy/clusteringinindividualdata?:Y=BX+scot+wal+Nir+e‘areg’inStataallowsseveralhundredvariableslikethisoftencalleda‘hierarchicalfixedeffect’‘hierarchicalfixedeffects’Wecouldtrytellingthemodelthatweexpecttheerrortermstoberelatedtheseare‘hierarchicalrandomeffects’=multilevelmodels10CreatingamultilevelmodelLinearmodel: Yi=BXi+