全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1150 5
2013-05-05
今天刚晚学的sas 各种不会啊有道题是X服从三元正态分布,求h0:u=u0=(4,50,10) h1:u不等于u0
下面是我写的坑爹程序~运行不出结果的!!!!!
DATA homeword;
INPUT num $ x1 x2 x3;
a=(x1-4);
a2=x2-50;
a3=x3-10;
CARDS;
libname <fgd1>/*fgd1是我用分析家弄的数据表,有20组观察值 如附图*/
;
run;
proc means mean std  stderr  t  prt;
VAR a1 a2 a3;
run;


fgd1


现在各种纠结啊  求大神修改
我不会写程序


求各路大神不要视而不见    就此谢过啦
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-5-5 23:25:40
求教求教求教求教
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-5 23:25:43
求教求教求教求教
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-6 00:06:14
In case of multivariate normal distribution of dimension n, the squared Mahalanobis distance is subject to a chi-squared distribution with n degrees of freedom.
So one approach here is:
(1) calculate the mean vector X and covariance matrix C
(2) calculate (u0-X)'*C^-1*(u0-X) and compare it against the critical value X^2(alpha, 3).
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-6 12:15:07
邓贵大 发表于 2013-5-6 00:06
In case of multivariate normal distribution of dimension n, the squared Mahalanobis distance is subj ...
不会写
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-6 21:57:48
proc discrim  manova pool=test;
run;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群