全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1640 2
2014-05-29
The following SAS program is submitted:
ods output Chisq(match_all) = Work.Pvalues (where = (statistic eq "Chi-squre"));
proc freq data = work.endpt;
      tables Endpt1 * Treat / chisq;
      tables Endpt2 * Treat / chisq;
run;
ods output close;

How many datasets are created and how many observations are in the datasets?
A. 1 data set named Pvalues and 1 observation
B. 1 data set named Pvalues and 2 observations
C. 2 data sets named Pvalues, Pvalues1 and each with 1 observation
D. 2 data sets named Pvalues1, Pvalues2 and each with 2 observation
答案是C.请教各位大大,为什么输出两个数据集,命名规则在哪个资料里可以找到呢?
二维码

扫码加我 拉你入群

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

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

全部回复
2014-8-2 11:09:09
俺同问
二维码

扫码加我 拉你入群

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

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

2014-8-2 12:37:16
match_all选项告诉sas将每一个输出对象单独各自存一张表,所以是2个数据集。数据集命名规则就是xx,xx1,……xx若用户没指定就用xx=data
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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