结果:找到“SAS code”相关内容155个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
sas code 如何转换季度数据为月度数据
4 个回复 - 3609 次查看
中国证监会上给的财务数据库是季度的,我需要每一个月的数据。比如在我的EXCLE中,公司firm 10, 提供了199512月的TA,但是我要199511和199510,我希望是199511和199510没有数据的等于有数据的199512. 同样,199601到 ...
2014-10-8 07:24 - zongtaoliu2054 - SAS专版
求助文献里提到的SAS code
5 个回复 - 1196 次查看
我按照文献里的提示到 www.aricnews.net 去找分析多分类变量间的相加交互作用的
SAS code,但是没找到。想发邮件给作者,但是通讯作者邮箱的域名已经失效。求助各位帮我找找这个代码,谢谢!
2018-3-17 13:48 - 海金沙127 - 数据求助
SAS9.4(Unicode)出现乱码
2 个回复 - 5246 次查看
SAS 9.4(中文简体)下写的macro程序,保存为aaa.sas
在
SAS9.4(Uni
code)中打开出现中文乱码
运行后也出现如下中文乱码
在
SAS 9.4(中文简体)打开aaa.sas,复制到
SAS9.4(Uni
code)再运行就 ...
2022-4-28 08:57 - dxystata - SAS专版
事件研究[sas code]
3 个回复 - 6418 次查看
分享一个关于盈余公告事件的
SAS code:利用国泰安数据, Follow Dellavigna, S., & Pollet, J. M. (2009) 方法。
这里完成了事件研究数据处理的工作,并计算的相关变量。但是并没有做之后的回归,回归分析我是在S ...
2017-8-16 03:48 - deem - SAS专版
SAS 因encoding,transcode 问题无法读入外部数据
11 个回复 - 15535 次查看
问题:
导入外部文件不成功,
SAS提供以下错误说明:
"
An error occured executing the workspace job ''program'. Integration technologies failed to submit the
code.[error] Failed to
trans
code data fr ...
2015-3-25 03:16 - melody21 - SAS专版
SAS写CODE遇到的问题
7 个回复 - 2182 次查看
比如在输入数据的时候输入5位数字,前两位数字代表省,后三位代表城市。例如:‘01001’ 表示广东省广州市 ‘01002’表示广东省深圳市 ‘02001’表示广西省南宁市 ‘02002’表示广西省桂林市。输入时输入5位数字 ...
2018-11-30 15:27 - 海绵海地 - SAS专版
关于sas Unicode的排序问题
2 个回复 - 2543 次查看
在sas Uni
code里如果想按照变量的首字母排序该怎么操作呢。。。好像和普通的sas不大一样,用proc sort排出来的好像是领一套标准,求大神指导
2018-3-19 14:00 - 进击的小瓶盖 - SAS专版
将Excel中公式变为sas code
1 个回复 - 1103 次查看
将Excel中公式变为sas
code ,感谢帮忙
=6371004*ACOS(1-(POWER((SIN((90-C2)*PI()/180)*COS(B2*PI()/180)-SIN((90-C3)*PI()/180)*COS(B3*PI()/180)),2)+POWER((SIN((90-C2)*PI()/180)*SIN(B2*PI()/180)-SIN((90- ...
2018-3-7 15:21 - 滞点 - SAS专版
output后面的SAS code不起作用?
2 个回复 - 868 次查看
发现一个很有趣的问题,
程序(1):
data a;
x=1;
output;
x=2;
output;
x=3;
output;
if x=2 then y=0;
run;
程序(2):
data a;
x=1;
output;
x=2;
output;
x=3;
output;
run;
da ...
2016-7-11 16:32 - Ilovestat - SAS专版
一段SAS code求解,多谢多谢!
4 个回复 - 1489 次查看
利用
SAS在program中计算Term_Unit的时候,想用SQL写出来,就写出了如下的
code:
proc sql;
create table term_unit_sql as
select business_section,subscription_year,subscription_number,vehicle_number,
subs ...
2016-2-2 05:54 - Amandanannn - SAS专版
Replicate SAS Code using HLM?
0 个回复 - 1830 次查看
Using PROC MIXED, I've tried to replicate the examples presented in the 1st Edition's multivariate chapter, but I feel like I must be specifying the model incorrectly. I've tried a few different speci ...
2014-3-26 00:55 - Nicolle - HLM专版
请教SAS中重新Code一个变量!
6 个回复 - 1245 次查看
如果我有个数据是这样的格式:
ID V1
1 3
1 3
2 4
2 5
3 5
我要重新建立一个变量,要求是对于同一个ID,如果V1的值是一样的,那么这个新变量的一个值是1,其他的是0;同一个ID如果V1的值 ...
2015-1-24 22:17 - calsunny - SAS专版
SAS 求助-写出code者赠予50个论坛币,谢谢大家!
7 个回复 - 1171 次查看
求助
SAS 编程:
如何将多个重复的observation合并成一个observation? 最终结果return为下:
ID Rev1 Rev2 Rev3 Rev4
001 4 5 Null 10
002 19 20 Null 35
003 Null 45 ...
2014-12-18 12:58 - cchen59 - SAS专版
A list of books with SAS codes 2
5 个回复 - 4073 次查看
A55809 SEP97 Univariate and Multivariate General http://ftp.sas.com/samples/A55809
Linear Models: Theory and Applications
using
SAS Software
A55697 DEC97 The Next Step: Integrating the Software ...
2009-11-10 15:33 - eugeniayao - SAS专版
求助帮忙解读一段SAS codes
6 个回复 - 2491 次查看
SAS Base 考试题 50题中的第21题里的
SAS programs是:
data work.AreaCodes;
Phonenumber =3125551212;
Code='('!!substr(Phonenumber, 1, 3)!!')''
run;
里面的Code='('!!substr(Phonenum ...
2014-9-14 13:00 - fankaiqing - SAS专版
SAS code中一个小问题
1 个回复 - 983 次查看
有一些类别变量,我用0 1 2数字表示不同的变量值,在编数据集的时候,是否需要在变量名后面加个$呢?
加个$表示这是类别变量,但是这些变量我都用数字表示了它原本的水平,可否不加$处理?
2014-6-10 11:31 - monstercalo - SAS专版
SAS code求助!
1 个回复 - 1664 次查看
%macro seedgen(n);
data pseudo(drop=i seed);
seed=1;
do i=1 to &n;
call rannor(seed,x);
output;
end;
proc univariate noprint data=pseudo;
var x;
output out=test normal=w probt=p;
run;
%mend ...
2014-6-5 13:48 - HENINGWHU - SAS专版
A list of books with SAS codes 1
4 个回复 - 2839 次查看
A56008 JAN92
SAS/ETS(R) Software: Applications http://ftp.sas.com/samples/A6008
Guide 1, Version 6, First Edition
A59170 APR94 P-253, User-written Methods and http://ftp.sas.com/samples/A59170
B5 ...
2009-11-10 15:32 - eugeniayao - SAS专版
SAS CODE問題
0 个回复 - 652 次查看
如何使用
SAS CODE, 將科別欄位轉變成種類欄位
科別有資料則為種類=1, 否則為種類=0
感謝
一資料列表如下---把科別資料轉成種類
ID 科別 種類
1 A 1
2 A ...
2013-12-5 15:18 - CMVWU - 爱问频道