- 阅读权限
- 255
- 威望
- 1 级
- 论坛币
- -7 个
- 通用积分
- 5.0487
- 学术水平
- 30 点
- 热心指数
- 66 点
- 信用等级
- 35 点
- 经验
- 45336 点
- 帖子
- 202
- 精华
- 0
- 在线时间
- 443 小时
- 注册时间
- 2010-5-10
- 最后登录
- 2014-7-22
讲师
还不是VIP/贵宾
- 威望
- 1 级
- 论坛币
 - -7 个
- 通用积分
- 5.0487
- 学术水平
- 30 点
- 热心指数
- 66 点
- 信用等级
- 35 点
- 经验
- 45336 点
- 帖子
- 202
- 精华
- 0
- 在线时间
- 443 小时
- 注册时间
- 2010-5-10
- 最后登录
- 2014-7-22
|
经管之家送您一份
应届毕业生专属福利!
求职就业群
感谢您参与论坛问题回答
经管之家送您两个论坛币!
+2 论坛币
-
- PROC IMPORT OUT=no3
- DATAFILE= 'C:\Documents and Settings\Administrator\桌面\新建 Microsoft Office Excel 97-2003 工作表.xls '
- DBMS=excel REPLACE;
- GETNAMES=yes;
- mixed=yes;
- rUN;
- data z;
- set no3;
- keep _COL5 _COL13 h year;
- h=substr(left(_COL5),9,4 );
- year=year(_COL13);
- label h='省市代号'
- year= '事故发生年';
- run;
- proc freq data=z;
- table h*year/nocum nocol nopercent norow chisq out=b;
- run;
复制代码CHISQ
| Requests chi-square tests and measures based on chi-square
|
NOCOL
| Suppresses display of column percentages
|
NOCUM
| Suppresses display of cumulative frequencies and percentages
|
NOROW
| Suppresses display of row percentages
|
OUT=
| Names an output data set to contain frequency counts
|
MISSING
| Treats missing values as nonmissing
|
LIST
| Displays two-way to n-way tables in list format
|
扫码加我 拉你入群
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
|
|
|