当前位置:文档之家› spss单样本t检验操作步骤

spss单样本t检验操作步骤

s p s s单样本t检验操
作步骤
Document number:PBGCG-0857-BTDO-0089-PTT1998
spss单样本t检验Analyze----compare Means----one sample T test
输入方式
实验数据
12
12
1
2
1
2
3
4
5
6
4
9
5
直接输入数据
Sig= 差异显着
独立样本t检验(两组数据)
Analyze-----compare Means----Independent-samples T test 输入方式
试验分组实验数据
1 12
1 13
1 12
1 12
1
1
1
1
2
2
2
2
2
2
2
2
2
两组数据个数可以不同
成组数据t检验
Analyze----compare Means-----paired-samples T test
单因素方差分析
Analyze---compare means----one-way ANOVA(analyze of variance)
Factor (因素)1 1 1 1 1 2 2 2 2 2 2 3 3 3 3(分组)
Dependent List 试验数据
polynomial lines
contrast---polynomial---Degree---linear
post Hoc Multiple comparisons-----LSD(Duncan 邓肯检验) 先选方差齐性在结果中判断Sig值?<(差异显着)若不齐则进行数据转化。

数据输入
分组试验数据
1 12
1 13
1 13
1
1
2
2
2
2
2
2
3
3
3
3
3
3
4
4
4
4
4
4
双因素方差分析
Analyze-----General linear Model-----univariate
Dependent Variable(因变因素)因别的数字变化而变化
Fixed Factor (固定因素)
Random Factors(随机因素)
Model-----custom-----Build Term---Interaction(交互作用)----Main effects(主因素)
Contrast--- simple---first----change
Plot Hoc----LSD (Duncan)
Univariate Options----Homogeneity tests(方差齐性分析)
Display Means for (协方差使用)
钙镁增重
1 1
1 1
1 1
1 2
1 2
1 2
1 3
1 3
1 3
1 4
1 4
1 4
2
2
2
2
2
2
2
2
2
2
相关性分析
Anlyze---correlation----bivariate 输入格式
Pearson----皮尔逊检验
Two-tailed 双尾
Pearson correlation 相关系数= 表明相关性不大
Sig(2-tailed)双尾p值> 差异不显着
一般p> sig<时两组数据显着相关(不同专业可能要求不同)
回归分析
Anlyze----regression---curve estimation(曲线)
Dependent---因变量
Independent---自变量(独立—不依靠别的数据自己变化)Linear—直线型
Quadratic---二次型
Compound---复合函数
Growth—生长曲线
Logarithmic—对数函数
Cubic---三次函数
S---s型曲线
Exponential----指数函数
Inverse 倒数函数Power---幂函数Logistic 逻辑函数
直线在y轴上的截距不能是负值,因为到时候代入试验数据时会出现负值单变量协方差分析
Anlyze—General Linear Model—univariate
Model—custom 主变量与协变量分别以main effects选入
Contrast---simple---first 点击change
Option中选择分析变量放入display means for 然后选择compare main effects Display中选择homogeneity test(方差齐性分析)
Sig=> 方差齐性
初重表示选择的初始个体中的初重差异性大(<)Factor中的数据已经出去了差异显着的数据
LSD检验
Origin
A表示x自变量
B表示y因变量
Analysis---fitting---Nonlinear curve fit(ctrl+y)
Function selection—方程选择
Category 分类
Function方程
Code 方程一般表达式
Parameters 参数(当a为定值时在fixed中打钩然后填a值若无则可不填一般给初始值1)
若方程没有可自己设置
Category中选择user defined Function—new
写好后fit(参数形式一定要一样)。

相关主题