结构方程模型第三讲.ppt
《结构方程模型第三讲.ppt》由会员分享,可在线阅读,更多相关《结构方程模型第三讲.ppt(35页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、SEM结构方程模型第三讲 Still waters run deep.流静水深流静水深,人静心深人静心深 Where there is life,there is hope。有生命必有希望。有生命必有希望SEM一个引例一个引例PAGE2STRUCTURAL EQUATION MODELINGConfirm.ls8 located at c:/lisrel/project1/confirm.ls8 Confirmatory factor analysis of hypothetical data for a class example of how to run LISREL to evalua
2、te a measurement model.DAta NInput=9 NObservations=400 MAtrix=CMLADepress1 Frustrt1 Stress1 Depress2 Frustrt2 Depress2 Interact Love QualityKM SY1.00.6 1.00.5 0.6 1.00.7 0.4 0.3 1.00.3 0.4 0.4 0.5 1.00.4 0.3 0.3 0.5 0.6 1.00.4 0.3 0.4 0.3 0.3 0.3 1.00.5 0.3 0.3 0.3 0.4 0.3 0.4 1.00.4 0.4 0.3 0.3 0.2
3、 0.3 0.4 0.5 1.0PAGE3STRUCTURAL EQUATION MODELINGsd2.4 2.7 1.8 2.5 2.6 2.0 5.1 3.8 6.1MODEL NY=6 NX=3 NE=2 NK=1 LY=FU,FI LX=FU,FR CBE=FU,FI GA=FU,FR PH=SY,FR PS=DI,FR,TE=DI,FR CTD=DI,FRLKRel_QualLEStress_1 Stress_2FREE LY(1,1)LY(2,1)LY(3,1)LY(4,2)LY(5,2)FREE LY(6,2)BE(2,1)OUtput SC EF VA MR PC PTPAG
4、E4STRUCTURAL EQUATION MODELINGSEMLISREL的基本结构的基本结构Comments:Everything on a line that follows either“!”or“/*”is treated as a program comment:!This line is a comment or/*This line is a comment.PAGE5STRUCTURAL EQUATION MODELINGLong lines:If you run out of space on a line and want to continue to the next
5、 line you can put a c with at least one space in front of it and then continue.This is the first line,it is long so cI can go to a second line.PAGE6STRUCTURAL EQUATION MODELINGSEM1.Title lineUntil LISREL finds a line starting with DA(for Data),it treats all lines as a title.For key words only the fi
6、rst two letters are read,so DA and DATA or Data are the same.Confirm.ls8 located at c:/lisrel/project1/confirm.ls8Confirmatory factor analysis of hypothetical data for a class example of how to run LISREL to evaluate a measurement model.PAGE7STRUCTURAL EQUATION MODELINGSEM2.DAta lineThis line begins
7、 with DA OR Data.NGroups=This indicates the number of groupsNInput=Number of input variables(indicators).NObservations=The sample size.MAtrix=CM for covariance matrix,KM for correlations.PAGE8STRUCTURAL EQUATION MODELINGYou can read in a correlation matrix and standard deviations,but if you say MA=C
8、M,LISREL will convert your matrix into a covariance matrix.e.g.DAta NInput=9 NObservations=400 MAtrix=CMPAGE9STRUCTURAL EQUATION MODELINGSEM3.LAblesYou should label your variables.Here we are referring to indicators and not latent variables.This is done by putting LA on one line and labels on the fo
9、llowing line(s).You are limited to 8 spaces total per label.You do not need labels(LISREL will use VAR1,VAR2,etc.).Labels make reading the output much better.LADepress1 Frustrt1 Stress1 Depress2 Frustrt2 Stress2 Interact Love QualityLA“Dep I”“Frust 1”“Stress 1”“Dep 2”“Frust 2”“Stress 2”Interact Love
10、 Quality(The quotes are used if there is a space in a label.)PAGE10STRUCTURAL EQUATION MODELINGSEM4.Entering DataYou can enter raw data,a covariance matrix,a correlation matrix,standard deviations,and means.Here are three examples:PAGE11STRUCTURAL EQUATION MODELINGPAGE12STRUCTURAL EQUATION MODELINGI
11、f the matrix is large it may be useful to have the matrix in an external file.KM SY FI=c:projectmydata.datRA FI=c:projectmydata.datEX(free format)EX(fixed format)PAGE13STRUCTURAL EQUATION MODELINGSEM5.Selecting/Rearranging VariablesLISREL allows you to select variables and rearrange them.This is ver
12、y useful if you are going to run different models on the same data.Once you enter the data,you can select/arrange variables however you want.SEDepress1 Frustrt1 Stress1 Interact Love Per Qual/orSE1 2 3 7 8 9/PAGE14STRUCTURAL EQUATION MODELINGSEM6.MOdelThe MOdel line is the most complex line in the L
13、ISREL program.This describes all of the matrices.This is done by specifying the numbers that determine their dimensions and then telling LISREL about the matrix(free,fixed,symmetrical,full,etc.).The description of the matrix,e.g.,fixed at some value such as 0 or 1,is selected to describe most of the
14、 parameters.Latter,you will tell LISREL those elements that are different(e.g.,free meaning you want LISREL to estimate them).PAGE15STRUCTURAL EQUATION MODELINGFirst,you need to write the eight matrices that fit your figure.For our example,the matrices are:PAGE16STRUCTURAL EQUATION MODELINGPAGE17STR
15、UCTURAL EQUATION MODELINGPAGE18STRUCTURAL EQUATION MODELINGSUMMARY*Cant be changed on Model line but elements can be free.PAGE19STRUCTURAL EQUATION MODELINGEXAMPLEMODEL NY=6 NX=3 NE=2 NK=1 LY=FU,FI LX=FU,FR CBE=FU,FI GA=FU,FR PH=SY,FR PS=DI,FR,TE=DI,FR CTD=DI,FRORMODEL NY=6 NX=3 NE=2 NK=1 LX=FU,FR B
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 结构 方程 模型 第三
限制150内