| 所在主题: | |
| 文件名: faultline.zip | |
| 资料下载链接地址: https://bbs.pinggu.org/a-1570634.html | |
| 附件大小: | |
|
下载了一个SAS的代码,在运用中需要进行简单的修改,但是我应该如何理解教程里的这句话呢??各位大神求指教!! All user inputs are specified in the fileC:\Faultline\FL_Code\FL_Code_parameters.txt. Here you can specify which dataset to use,and what variables to use for the faultline calculations, what to name theoutput files, etc.以下是文档 C:\Faultline\FL_Code\FL_Code_parameters.txt.的内容 */ /* Specify a Working Directory for SAS dataset files*/ LIBNAME FLDSets 'C:\FaultLine\FL_SASDataSets'; LIBNAME FLCode 'C:\FaultLine\FL_Code'; LIBNAME FLOut 'C:\FaultLine\FL_Output'; /* List all the variables in the raw data file /* (no commas between variable names, semicolon at end of list)*/ %let list_of_all_variables = group member gender1 gender2 race1 race2 race3age educ tenure function1 function2 function3 function4; /* List all the variables you want to use int he faultline calculations */ /* (no commas between variable names, semicolon at end of list)*/ %let list_of_faultline_variables = age gender1 gender2 race1 race2 tenure; /* Specify the number of groups in the file (gnum= number of groups) */ %let gnum=4; /* Specify the group identifier variable */ %let group_id_variable= group; /* File where Raw data is found /* (first line is assumed to be column headers, data starts reading in in row 2) */ %let rawdatafile='C:\Faultline\FL_Data\FL_testdata.csv'; /* File where rescaling factors are listed /*(Rescaling factors for the variables in list_of_faultline_variables) */ /*(first line is assumed to be column headers, data starts reading in in row 2) */ /*(Rescaling factors, r, are of the form: newdata=rawdata*r */ /* so if you want newdata=rawdata/10, use r=1/10=.10 */ %let rescalingfile='C:\Faultline\FL_Data\FL_testrescaling.txt'; /* File for output of faultline scores and distances */ %let resultfile='C:\Faultline\FL_Output\FL_testoutput.txt'; /* File for output of rawdata (to verify that SAS read it in correctly) */ %let rawdatafile_out='c:\Faultline\FL_Output\FL_rawdata_out.txt'; /* File for output of the rescaling factors (to verify that SAS read it in correctly) */ %let rescalingfile_out='c:\Faultline\FL_Output\FL_rescaling_out.txt'; |
|
熟悉论坛请点击新手指南
|
|
| 下载说明 | |
|
1、论坛支持迅雷和网际快车等p2p多线程软件下载,请在上面选择下载通道单击右健下载即可。 2、论坛会定期自动批量更新下载地址,所以请不要浪费时间盗链论坛资源,盗链地址会很快失效。 3、本站为非盈利性质的学术交流网站,鼓励和保护原创作品,拒绝未经版权人许可的上传行为。本站如接到版权人发出的合格侵权通知,将积极的采取必要措施;同时,本站也将在技术手段和能力范围内,履行版权保护的注意义务。 (如有侵权,欢迎举报) |
|
京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明