31
Amos 基基基基基基 基基 基基基基 2009.7.6

Amos Learning

Embed Size (px)

Citation preview

Page 1: Amos Learning

Amos 基本操作入门

易黠于畅春园2009.7.6

Page 2: Amos Learning

例子: Wheaton

Page 3: Amos Learning

绘制路径图

Page 4: Amos Learning

DATA

Page 5: Amos Learning

数据准备

Page 6: Amos Learning

1 、绘图• Draw Latent Variables and Indicators• Preserve Symmetries• Move Objects• Select All Objects• Deselect Objects

Page 7: Amos Learning

• Duplicate Objects• [ 按住 shift 键,点击潜在变量的椭圆肖像,

向右拖动鼠标。图表的复制部分与先前图表部分水平对齐。 ]

• Rotate Indicators• Reflect Indicators

Page 8: Amos Learning

2 、将数据读入到 AMOS 中

• File——Data Files

Page 9: Amos Learning

• File Name 定义数据文件名。• View Data 按钮浏览外部应用程序的数

据文件。例• View——Variables in Dataset• Resize Diagram to Fit the Page 或

Shape Change 调节测量变量矩阵大小

• Select Single Objects

Page 10: Amos Learning

a. 潜在变量命名。• 双击——在 Variable Name 文本框中分

别录入它们的名字 SES 、 Alienation1967 、 Alienation1971 。

Page 11: Amos Learning

b. 定义潜变量间的关系 ( 结构模型 ) 。 • plugins——Name Unobserved Variables

( 例如,残差 ) 。• 在潜变量间定义路径:单箭头表示因果关

系;双箭头表示双向关系(相关关系)。

Page 12: Amos Learning

c. 为潜变量建立残差项。• 预测另一个变量或一组变量的变量必须有

残差。• Add Unique Variable• 选择工具,点击潜变量建立潜变量的惟一

残差变量,再次点击潜变量能向右 45 度(顺时针)移动新残差变量,重复地单击潜变量直到找到合适的位置。

Page 13: Amos Learning

• 绘制模型后,通过选择 File—Save As 保存文件。

• 保存模型时, AMOS 在原始图表的相同目录下自动建立两个备份模型文件。原始图表文件扩展名为 .amw ;备份文件的扩展名分别为 .bk1 和 .bk2 。

Page 14: Amos Learning

3 、选择 AMOS 分析选项运行模型 • View ——Analysis Properties ——Output :

标准估计、复相关系数的平方、样本协方差矩阵、剩余残差协方差矩阵。

• View ——Analysis Properties —— Estimation

• 提示 : 如果数据库中的个案有缺失数据, AMOS需要估计平均值和截距,所以如果数据库中有包括在模型中的观测变量的缺失数据必须选择这个检查框。

• 因为本模型的数据库不包含缺省数据,目前不用关心平均值,不用考虑 Estimation

Page 15: Amos Learning

运行模型

• 关闭 Analysis Properties• 点击 Calculate Estimates

Page 16: Amos Learning

• 遇到的问题 _ 系统文件被破坏 ORZ—— 我当时遇到的问题,重装了电脑系统才解决。

Page 17: Amos Learning

解释 AMOS 输出结果

• View the output path diagram• R2 ☹(变量上)• 例如, Anomia67 的是 0.62• 标准化的回归系数 (路径上)• Move parameter value

Page 18: Amos Learning

评估整体拟合模型

• View——text output——Amos output——Notes for Model

Result (Default model)Minimum was achievedChi-square = 71.544Degrees of freedom = 6Probability level = .000

Page 19: Amos Learning

独立参数的显著性检验——未标准化回归系数

Estimate S.E. C.R. PLabel

Alienation1967 <--- SES -.110 .010 -11.045 ***

Alienation1971 <--- SES -.043 .010 -4.497 ***

Alienation1971 <--- Alienation1

967 .607 .051 11.890 ***

sei <--- SES 1.000

educatio <--- SES .192 .015 12.360 ***

anomia67 <--- Alienation1967 1.000

powles67 <--- Alienation1967 .979 .062 15.889 ***

anomia71 <--- Alienation1971 1.000

powles71 <--- Alienation1971 .922 .059 15.492 ***

Regression Weights: (Group number 1 - Default model)

Page 20: Amos Learning

违规估计 1 :标准化回归系数超过 0.95

Estimate

Alienation1967 <--- SES -.563

Alienation1971 <--- SES -.208

Alienation1971 <--- Alienation1967 .567

sei <--- SES .642

educatio <--- SES .841

anomia67 <--- Alienation1967 .775

powles67 <--- Alienation1967 .852

anomia71 <--- Alienation1971 .806

powles71 <--- Alienation1971 .832

Standardized Regression Weights: (Group number 1 - Default model)

Page 21: Amos Learning

违规估计 2

• 负的 S.E 存在

Estimate S.E. C.R. PLabel

SES 185.274 21.514 8.612 ***

D1 4.842 .468 10.354 ***

D2 4.084 .404 10.099 ***

e1 264.531 18.135 14.587 ***

e2 2.804 .507 5.529 ***

e3 4.729 .453 10.431 ***

e4 2.563 .403 6.357 ***

e5 4.396 .515 8.531 ***

e6 3.072 .434 7.074 ***

Variances: (Group number 1 - Default model)

Page 22: Amos Learning

正态性检验( 3.8 原则)• 线性的 IID :线性、正态、独立三个基本假设• 勾选 Tests for normality and outliers.

Page 23: Amos Learning

• 峰度、偏度的 3.8 原则• 多变量的 c.r 值的 2 原则

Page 24: Amos Learning

拟合度综合说明 ( p188 ,荣泰生)model fit summary

Page 25: Amos Learning

缺失值处理

• 方法 1 :Spss——tranform——replace missing values——series mean• 方法 2 : Amos—— 读入 Grant-x.spss——analysis——amos data inputation——number of completed dataset——impute——ok

Page 26: Amos Learning

Amos 对数据类型的要求

•可以处理连续变量(定距、定序)• 不可以处理名义变量(定类)

Page 27: Amos Learning

模型修正• Output——regression weight——modification

indices ( M.I. )• 方法:找出误差变量之间最大的项目,建立这两个变量的关联,

以使 chi-square减少最大。

Page 28: Amos Learning

探索最佳模型

• Analyze——specification search

Page 29: Amos Learning

《数字电视在中国大陆的采用:一个结构方程模型》韦 路 李贞芳

Page 30: Amos Learning
Page 31: Amos Learning

Reference

• Amos 的使用, word版本,统计之都,网络下载

• Amos7.0 users’ guide , p105 ,网络下载

• Amos 与研究方法