统计达人的相关系数,显著性检验

来源:百度知道 编辑:UC知道 时间:2024/05/30 01:25:01
数学成绩x,语文成绩y,已知成绩总体不是正态分布,计算两门成绩之间的相关系数并做显著性检验.
x67 78 77 72 79 81 76 73 70
y70 84 76 77 81 84 77 70 75

相关系数:
r=(相关系数公式打不出来)=0.824737728
∑x=673
∑y=694
∑xy=52053
n=9
∑x^2=50493
∑y^2=53732
自由度:n-2=7
在附表3中查出相关系数临界值:r0.05=0.666
∵|r|>r0.05
∴y与x之间具有线性相关关系

VERSION 5.00
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3120
ClientLeft = 60
ClientTop = 420
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3120
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
Begin VB.CommandButton Command3
Caption = "退出"
Height = 465
Left = 3810
TabIndex = 10
Top = 2580
Width = 765
End
Begin VB.CommandButton Command2
Caption = "重填"
Height = 465
Left = 1620
TabIndex = 9
Top = 1770
Width = 765
End
Begin VB.CommandButton Command1
Caption = "计算"
Height = 465
Left = 2820
TabIndex = 8
Top = 1770