全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2341 5
2007-08-24
每次写道proc freq data=test;
var ----
run;
出来的结果都包括cumulative statistics.怎末才能不包括它呢?
谢谢
二维码

扫码加我 拉你入群

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

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

全部回复
2007-8-24 20:09:00

proc fre data=test noway;

二维码

扫码加我 拉你入群

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

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

2007-8-27 01:20:00

Under proc freq , no VAR syntax

Should be :

proc freq data=test;

table XXX/nocum ;

run;

Syntax

The following statements are available in PROC FREQ.

PROC FREQ < options > ;
BY variables ;
EXACT statistic-options < / computation-options > ;
OUTPUT < OUT=SAS-data-set > options ;
TABLES requests < / options > ;
TEST options ;
WEIGHT variable < / option > ;

The PROC FREQ statement is the only required statement for the FREQ procedure. If you specify the following statements, PROC FREQ produces a one-way frequency table for each variable in the most recently created data set.

 proc freq; run; 

The rest of this section gives detailed syntax information for the BY, EXACT, OUTPUT, TABLES, TEST, and WEIGHT statements in alphabetical order after the description of the PROC FREQ statement. Table 29.3 summarizes the basic functions of each statement.

Table 29.3: Summary of PROC FREQ Statements

Statement Description
BY calculates separate frequency or crosstabulation tables for each BY group.
EXACT requests exact tests for specified statistics.
OUTPUT creates an output data set that contains specified statistics.
TABLES specifies frequency or crosstabulation tables and requests tests and measures of association.
TEST requests asymptotic tests for measures of association and agreement.
WEIGHT identifies a variable with values that weight each observation.


PROC FREQ Statement

BY Statement

EXACT Statement

OUTPUT Statement

TABLES Statement

TEST Statement

WEIGHT Statement

二维码

扫码加我 拉你入群

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

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

2007-8-27 01:23:00
Please click 运行代码 to read my post.
二维码

扫码加我 拉你入群

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

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

2007-8-28 14:39:00
nocum
二维码

扫码加我 拉你入群

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

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

2007-8-28 14:42:00

在不断练习中学习

[此贴子已经被作者于2007-8-28 15:34:35编辑过]

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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