文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 教学研究 > 教学案例/设计 > Fama_French code
侵权投诉

Fama_French code

有关fama-french的程序代码

/*

*************************************************************************** */

/* ********* W R D S R E S E A R C H A P P L I C A T I O N S ************* */ /*

*************************************************************************** */

/* Program : fama_french_factors_replication.sas */

/* Authors : Luis Palacios (WRDS), PremalVora (Penn State) */ /* Date : 04/2009 */

/* Last modified : 08/2011 */

/* Description : Replicates Fama-French (1993) SMB & HML Factors */ /*

*************************************************************************** */

%letcomp=compq; %letcrsp=crspq; libnamemyh '~';

/************************ Part 1: Compustat ****************************/ /* CompustatXpressFeed Variables: */ /* AT = Total Assets */

/* PSTKL = Preferred Stock Liquidating Value */

/* TXDITC = Deferred Taxes and Investment Tax Credit */ /* PSTKRV = Preferred Stock Redemption Value */ /* CEQ = Common/Ordinary Equity - Total */

/* PSTK = Preferred/Preference Stock (Capital) - Total */

/* In calculating Book Equity, incorporate Preferred Stock (PS) values */ /* use the redemption value of PS, or the liquidation value */ /* or the par value (in that order) (FF,JFE, 1993, p. 8) */ /* USe Balance Sheet Deferred Taxes TXDITC if available */

/* Flag for number of years in Compustat (<2 likely backfilled data) */ %letvars = AT PSTKL TXDITC PSTKRV CEQ PSTK ; datacomp;

set&comp..funda

(keep= gvkeydatadate&varsindfmtdatafmtpopsrcconsol); bygvkeydatadate;

where indfmt='INDL'and datafmt='STD'and popsrc='D'and consol='C' and datadate>='01Jan1959'd;

/* Two years of accounting data before 1962 */ PS = coalesce(PSTKRV,PSTKL,PSTK,0); ifmissing(TXDITC) thenTXDITC = 0 ; BE = CEQ + TXDITC - PS ; ifBE<0 thenBE=.;

year= year(datadate);

labelBE='Book Value of Equity FYear t-1'; dropindfmtdatafmtpopsrcconsolps&vars; retaincount;

iffirst.gvkey thencount=1; elsecount = count+1; run;

/************************ Part 2: CRSP **********************************/ /* Create a CRSP Subsample with Monthly Stock and Event Variables */ /* This procedure creates a SAS dataset named "CRSP_M" */ /* Restrictions will be applied later */

/* Select variables from the CRSP monthly stock and event datasets */ %letmsevars=ticker ncusipshrcdexchcd;

%letmsfvars = prc ret retxshroutcfacprcfacshr;

第1页

你可能喜欢

热门文档

相关文档

  • Cable stay - French code

    cable colour code 3页 2下载券 Damping of Stay Cable ... 24页 免费 Fama_French code 13页 2下载券 French Cable Operators 暂无评价 1页 3下载券 ...

  • country_code_state_code_list

    country_code_state_code_list_英语考试_外语学习_教育专区。Citizenship & ...French Guiana French Polynesia Gabon Gambia, The Gaza Georgia Germany Ghana ...

  • Language_code

    Language_code_IT/计算机_专业资料。列举了各国语言名称的全称和网络通用代码。...French - France Gaelic - Ireland Galician - Spain Georgian - Georgia German...

  • Fama_and_French_1992_-2

    FAMA and KENNETH R. FRENCH (1992) JOURNAL OF FINANCE 47(2), 427-465 摘要: 结合?个简单的变?:规模、帐面对市价比,衡?市场 β、规模、财务杠 杆、...

  • 语码转换(code-switching)

    语码转换(code-switching)_英语学习_外语学习_教育专区。Sociolinguistics--Code...? ? Some cultures are more hybrid than others Chinese, French, Greek are...

  • CAPM和Fama-French模型的比较研究

    利用美国证券市场的有关数据,讨论了应用CAPM和Fama-French模型分析股票收益率时的一些问题,并对两个模型进行了比较分析.利用美国证券市场的有关数据,讨论了应用CAPM...

  • Fama French

    Fama French_经管营销_专业资料。Fama FrenchAgenda Advancing economics in business Fama–French: a challenge to the CAPM? The CAPM has become the '...

  • Code Page 的概念及其设置值

    857 Turkish 860 Portuguese 861 Icelandic 863 Canadian-French 865 Nordic 866 Russian 869 Modern Greek 什么是code page, 怎么修改windows cmd中的codepage ...

  • Fama_French三因子模型在中国A股房地产板块的实证研究

    i~ 月的月度数据计算出了 Fama- French 因子模型的三个因 子时间序列, 对它们进行描述性统计得表 1。由表 1 看出: ( 1) 市场组合的平均超额回报率为正( ...

  • Airport Code

    Airport Code_交通运输_工程科技_专业资料。全球国际机场代码一区(TC1):包括...FRENCH GUIANA BRAZIL BRAZIL BRAZIL BRAZIL BRAZIL BRAZIL ECUADOR ECUADOR PERU ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email