标题:syntax 编程哪里出现了错误?
只看楼主
feitianzhe
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2010-6-19
 问题点数:0 回复次数:1 
syntax 编程哪里出现了错误?
data list free
/Hc r1 r2 r3 N n1 n2 n3.
begin data
9.94 8.40 18.78 19.27 30 10 9 11
end data.
COMPUTE H = (12*((r1*n1)**2/n1 (r2*n2)**2/n2 (r3*n3)**2/n3))/N*(N 1))-3*(N 1).
compute C = H/Hc.
compute x12 = (r1-r2)**2/((N*(N 1)/12)*(1/n1 1/n2)*c).
compute x13 = (r1-r3)**2/((N*(N 1)/12)*(1/n1 1/n3)*c).
compute x23 = (r2-r3)**2/((N*(N 1)/12)*(1/n2 1/n3)*c).
compute p12 = 1-cdf.chisq(x12,2).
compute p13 = 1-cdf.chisq(x13,2).
compute p23 - 1-cdf.chisq(x23,2).
execute.
搜索更多相关主题的帖子: syntax 
2010-06-19 13:47
feitianzhe
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2010-6-19
得分:0 
运行后 ,提示为:
 



>Error # 4285 in column 20.  Text: NL
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 11.  Text: H
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 50.  Text: C
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 50.  Text: C
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 50.  Text: C
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 25.  Text: X12
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 25.  Text: X13
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.


>Error # 4285 in column 25.  Text: X23
>Incorrect variable name: either the name is more than 8 characters, or it
>is not defined by a previous command.
>This command not executed.
2010-06-19 14:20



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-310649-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.611940 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved