SAS PORTFOLIO ANALYSIS: RANDOM PORTFOLIOS FOR EVALUATING TRADING

Similar documents
Retirement Planning Options Annuities

FHWA Compliance Assessment Program (CAP) Guidance

Information Guide Booklet. Home Loans

Derivative Markets and Instruments

Statistical Analysis (1-way ANOVA)

GS Momentum Builder Multi-Asset 5 ER Index

How much life insurance do I need? Wrong question!

Calibration of Oxygen Bomb Calorimeters

Trends and Considerations in Currency Recycle Devices. What is a Currency Recycle Device? November 2003

Special Tax Notice Regarding 403(b) (TSA) Distributions

GS Momentum Builder Multi-Asset Class Index

FundingEdge. Guide to Business Cash Advance & Bank Statement Loan Programs

Using PayPal Website Payments Pro UK with ProductCart

By offering the Study Abroad Scholarship, we hope to make your study abroad experience much more affordable!

Succession Planning & Leadership Development: Your Utility s Bridge to the Future

Research Findings from the West Virginia Virtual School Spanish Program

STUDIO DESIGNER. Accounting 3 Participant

Times Table Activities: Multiplication

Rainwater Harvesting Incentive Program

Tips to Prepare for Quarter-End and Year-End

Gravesham Borough Council

Improved ADP and ACP Safe Harbor Plan Designs

THIRD PARTY PROCUREMENT PROCEDURES

Loan Repayment Planning Worksheet

A Critical Analysis of Counterparty Credit Risk and CVA in a Basel III World. Jon Gregory, Partner

A Walk on the Human Performance Side Part I

System Business Continuity Classification

STEP 1: Student Application Submission

Draft for consultation

Level 2 Training Module Course Guide

CDC UNIFIED PROCESS PRACTICES GUIDE

Kronos Workforce Timekeeper Frequently Asked Questions

SEC FLASH REPORT. June 28, 2011

March 2016 Group A Payment Issues: Missing Information-Loss Calculation letters ( MILC ) - deficiency resolutions: Outstanding appeals:

Access EEC s Web Applications... 2 View Messages from EEC... 3 Sign In as a Returning User... 3

Annuities and Senior Citizens

Merchant Management System. New User Guide CARDSAVE

Army DCIPS Employee Self-Report of Accomplishments Overview Revised July 2012

Fund Accounting Class II

CU Payroll Data Entry

ADMINISTRATION AND FINANCE POLICIES AND PROCEDURES TABLE OF CONTENTS

QAD Operations BI Metrics Demonstration Guide. May 2015 BI 3.11

How To Change The University'S Budget

NHPCO Guidelines for Using CAHPS Hospice Survey Results

From Beginner To Winner

We will record and prepare documents based off the information presented

Internal Audit Charter and operating standards

UNIVERSITY OF CALIFORNIA MERCED PERFORMANCE MANAGEMENT GUIDELINES

Data Warehouse Scope Recommendations

CONTENTS UNDERSTANDING PPACA. Implications of PPACA Relative to Student Athletes. Institution Level Discussion/Decisions.

SQL Perform Tools 5.10 Release Note

Student Academic Learning Services Page 1 of 7. Statistics: The Null and Alternate Hypotheses. A Student Academic Learning Services Guide

TOWARDS OF AN INFORMATION SERVICE TO EDUCATIONAL LEADERSHIPS: BUSINESS INTELLIGENCE AS ANALYTICAL ENGINE OF SERVICE

Standards and Procedures for Approved Master's Seminar Paper or Educational Project University of Wisconsin-Platteville Requirements

Spread Bet Terms: Deposit Accounts

How to put together a Workforce Development Fund (WDF) claim 2015/16

WHAT SHOULD I LOOK FOR WHEN I BUY HEALTH INSURANCE?

Cell Phone & Data Access Policy Frequently Asked Questions

Michigan Transfer Agreement (MTA) Frequently Asked Questions for College Personnel

NAVIPLAN PREMIUM LEARNING GUIDE. Analyze, compare, and present insurance scenarios

990 e-postcard FAQ. Is there a charge to file form 990-N (e-postcard)? No, the e-postcard system is completely free.

Electronic Data Interchange (EDI) Requirements

Google Adwords Pay Per Click Checklist

CHECKING ACCOUNTS AND ATM TRANSACTIONS

Data Protection Act Data security breach management

What Does Specialty Own Occupation Really Mean?

SECTION J QUALITY ASSURANCE AND IMPROVEMENT PROGRAM

Volume of Snow and Water

FAQs. Therefore, the company submitting the application will be required to confirm that

PLANNING FOR QUALITY CARE AND INDEPENDENCE. Why you need to plan for long-term care assistance, and what funding options are available.

R o t h IRAs : How They W o r k and How to Use Them

How To Set Up A General Ledger In Korea

Health Care Reform Patient Protection Affordable Care Act (PPACA) Overview Key Principles

Using PayPal Website Payments Pro with ProductCart

Chicago Department of Finance. Tax Audit Process

FINANCE SCRUTINY SUB-COMMITTEE

USABILITY TESTING PLAN. Document Overview. Methodology

Backups and Backup Strategies

Transcription:

SAS Applicatin: develpment SAS PORTFOLIO ANALYSIS: RANDOM PORTFOLIOS FOR EVALUATING TRADING PAUWELS STEFAAN ECKERMAN EWOUT ABSTRACT Prtfli pprtunity distributins can prvide a statistical test that a trading strategy perfrms better than chance. Each run f the mutual fund manager is cmpared t a number f matching prtflis that have zer skill. With this SAS prgram we try t answer the questin: what if I had applied investment strategy X during the perid Y. By implementing a back test, applying an investment strategy t histrical financial infrmatin, we are able t assess the results f a mutual fund. The gal is t asses live prtflis and t allw infrmed decisins. If the market is efficient there shuld be n reliably way f beating the market. Instead the best bet wuld be t jin the market by fllwing an index r a buy and hld strategy. Key wrds: tracking hldings, matching prtflis, prtfli pprtunity distributins, randm prtflis, evaluating trading strategy, Mnte Carl simulatin, live prtflis, prtfli management, efficient market hypthesis INTRODUCTION The underlying idea is that f cmparing results f a randm managerial strategy with a real ne. Verifying if results btained by well infrmed managers are cnsistent with thse generated by unskilled nes. T define a minimum return level, under which results cannt be ascribed t management skill and, thus, cannt justify management fees. This back test applicatin develped at the University f Ghent is used fr practical implementatin. All currently available stcks are used t measure mutual fund perfrmance. The user f this prgram might request a back test f a prtfli F, with 30 stcks, fr the perid 2004 till 2011. This prgram allws us t create randm prtflis with value-weighted sampling. This means that the prbability f chsing a certain stck is prprtinate t the market capitalizatin f that particular stck. Preliminary versin 1.0 Page 1

SAS Applicatin: develpment The prtfli perfrmance is measured by cmparing the return f the target prtfli against the return f different randmly created matching prtflis. The matching prtfli is a prtfli sharing the same expsures but hlding different stcks. Breadth: hw many stcks are held lng and shrt? Risk: what are the betas f the individual stcks (and hence standard deviatin)? Directin: hw much is held lng, hw much is held shrt? Investment style: what apprach is used by the manager, different expsures t the market? Turnver: it is recmmended that the matching prtflis transact every mnth t reflect the real wrld. Fees: the ttal expense rati f the mutual fund? The user can cntrl the characteristics f the matching prtfli. SAS uses these inputs t randmly create 10.000 matching prtflis cnfrm the prtfli cnstructin fllwed by the real manager. HYPOTHESIS We test the ability f a fund t yield returns, net f the manager s reward that is significantly higher than that which culd be btained by a manager withut any specific skill. With this specific test we make a distinctin between skill and luck. Given a fund F, we fcus n evaluating the hypthesis system: H 0 : F shw skill H 1 : F des nt shw skill. A crrect statistical evaluatin f system requires a perfrmance measure r(f) and its distributin under H0. Testing this system, thus, cnsists f cmparing bserved perfrmance r(f) with distributin under the null hypthesis. The n-skill perfrmance distributin may be btained by cnsidering randm matching prtflis, i.e., thse cmpsed f randmly selected assets. Preliminary versin 1.0 Page 2

SAS Applicatin: develpment DATA A. CREATING THE SOURCE FILE The surce file is btained frm DataStream (all stcks frm the S&P500). We cllect daily and mnthly stck data (daily and mnthly prices and returns). Annual accunting and specific stck (sectr) data are als btained. Daily stck data Specific stck data Surce file fr matching prtfli Table 1: SAS data file t create matching prtflis /*Calculatin f daily returns creating the surce file/ Data surce_file Set raw_file... Preliminary versin 1.0 Page 3

SAS Applicatin: develpment B. CREATING A BACK TEST Once the data file has been created in SAS, matching prtflis can be defines using user defined parameters: Structural parameters (prtfli attributes) Data range (2004 - ): testing perid Number f prtflis (# > 1000) Refilling frequency (replacing a stck) Prtfli criteria (expsure f the real fund) Breadth: hw many stcks are held lng and shrt? Risk: what are the betas f the individual stcks (and hence standard deviatin)? Diversificatin: Number f stcks (range frm 20 t 100 stcks) Weightings fr each security Between 0 and 20% Directin: hw much is held lng, hw much is held shrt? Investment style: what apprach is used by the manager, different expsures t the market? Typically this might be Class (equities, Bnds, Cash, Freign Prperty) Sectr (resurces, financials, ) Size (large, mid r small cap) Style (Value, grwth r cre) Turnver: it is recmmended that the matching prtflis transact every mnth t reflect the real wrld (rebalancing frequency) Transactin csts: setting up the transactin csts Fees: the ttal expense rati f the mutual fund? Surce file fr matching prtfli Prtfli criteria X 1,X 2,X 3 Matching prtfli file Analysis Preliminary versin 1.0 Page 4

SAS Applicatin: develpment PROGRAMMING TASKS: CREATING MATCHING PORTFOLIOS We will intrduce a number f prgramming steps t create the matching prtfli file frm the surce database. Measuring perfrmance is based n thse matching prtflis. By default, all available stcks are cnsidered t be included. The universe f stcks can be filtered by adding ne r mre criteria defined by the user. Multiple prtflis are created are created by putting securities int baskets. We can fr example set the sectr expsure t nn financial. All financial stcks are thus excluded t be set int the basket. 1. Fr the start date create percentiles fr the prtfli criteria a. At start date (sectr expsure, risk, ) b. At refill date 2. At the start date, randmly draw stcks fr each prtfli frm qualifying stcks a. During the creatin f a back test, securities within a matching prtfli are randmly selected (accrding t the sectr expsure, riskiness, ) i. Generating a randm number fr each stck_id 3. Track daily/weekly/mnthly cumulative return f each stck in the prtfli a. Track the stck b. Track the prtfli (hlding perid return) 4. Turnver: sell/buy stcks accrding t the turnver set in the parameters 5. Stcks stp trading; reallcate the residual value t the rest f the prtfli 6. At the refill date a. We can chse between tw prcesses i. Keep all stcks that are still eligible (buy and hld) ii. Randmly select replacements fr all stcks n lnger eligible b. We can randmly select stcks that have t be replaced i. Defining the turnver f the fund 7. At the during/end f each evaluatin perid a. Lk at the randmly prtfli distributin (Net asset value =NAV) b. Calculate the p-value i. Cmbining k statistically independent p-values c. Let V be the prtin f randm prtflis which led t a perfrmance greater than that f the fund. It is intuitive that, the higher V is, the mre we are inclined t cnclude fr the n-skill hypthesis d. Fr each given time t, if F >α, the null hypthesis is accepted at the (1 α) cnfidence level. Alternatively, we can cnsider return level rt(f α) crrespnding t the (1 α) th quantile f the distributin f rt(fi): it represents the best perfrmance that can be reached, at the (1 α) cnfidence level, withut skill. Rt(F α) can als be viewed as the minimum perfrmance level that a skilled manager shuld reach. Preliminary versin 1.0 Page 5

SAS Applicatin: develpment PROBLEMS WE HAVE ENCOUNTERED IN THE PAPERS: This might be interesting t deal with these issues when implementatin takes place in SAS. Hw t accunt fr the degree f risk inherent in varius prtflis One might cnclude that higher perfrmance is nly due t a higher risk Ex pst cmparisn: if the percentage with risk level lwer than r equal t that f the bserved fund is very high, then the cmparisn may be cnsidered fair. Adjusting perfrmance with a penalty cnnected t the risk level Setting up the randm prtfli Hw t make a randm prtfli? Accunting fr risk Standard deviatin Semi-variance 1% Value-at-risk The prcedure t knw the F manager s investment universe Implied by the benchmark declared in the fund prspectus: the assumptin that the investment universe f the manager is knwn, whereas in practice this piece f infrmatin may nt be knwn t the analyst. Eliminate lucky versus unlucky situatins The number f M prtflis shuld be high (Mnte carl situatin shuld be set t high >1000) The number f stck in the prtfli Nt t lw, in rder t have a differentiated prtfli (k > 30 t 40) Imitating the fund manager? Weights f the assets Equally weighted assets? (t be preferred in initial phase, simplest t implement) w j = (1/k, j) Randmly selected? w j = randm Cmpsitin f the prtflis? Updated peridically: reinvesting in new stcks randmly with accrdance t style) Transactin csts (hw much?) Turnver (hw t implement this?) The prblem is hw t evaluate the prcedure nt nly in a given time interval, but als with respect t several perids, fr example defining the starting time but nt the final time Difficult t achieve a well defined cnfidence level because the fund return mre ften ut- r underperfrms Rt(F1 α) nly in sme perids. Daily P-value (PVt): Percentage f Outperfrmance (POt) Quantile Tracking Errr Quantile Tracking Errr Vlatilty The main statistical limitatin is that when the fund is evaluated cnsidering several time intervals, the level f the test can n lnger be cntrlled. Stck selectin Hw t define the set f stcks? Defining market capitalizatin (number f shares X prices) Preliminary versin 1.0 Page 6

SAS Applicatin: develpment Creating randm prtflis Randmly weighted prtflis N restrictin n stck cmpsitin N individual asset was allwed t amunt t mre than 5% f the ttal value f the prtfli at creatin Until weights equal t ne Prprtinally weighted randm prtflis The average number f stcks in each prtfli was set t the same average as that f the real funds The maximum weight f any individual asset was set at 10%. The dds f selecting each stck were the same, but nce selected the amunt invested in each asset was prprtinal t the market capitalizatin f that asset Risk free asset represented by the 1-mnth T-bill was included. The prtflis fllw a buy and hld strategy Simulate randmly pick stcks during the investment hrizn? The ability t trade during the perfrmance evaluatin perid Measure perfrmance f a prtfli? Sharpe rati Perid average return, R The infrmatin rati (IR) Risk adjusted prfitability index, PI Investment style cnsideratins: Implied by the self impsed cnstraints that the managers were facing the cannt hld all prtflis Randmly weighted prtflis are nt useful?!? Mre small cap funds; if we randmly select we culd have an verexpsure t utperfrming small stcks in ur randmly generated prtfli versus the real prtfli (nt a fair cmparisn?!?) Equally (prprtinally) weighted prtflis With r withut management fees? Lking at the TER? Hw t set the vlatility f the randmly generated funds? Ex pst (use nly these prtflis that have the same risk?) Ex ante (hw t implement? Using ptimizers?) D nt accunt fr this and use the Sharpe rati? Testing the persistency Spearman rank crrelatin t define persistency Is the fund perfrming better than the randmly generated prtflis in every time perid (mnthly/quarterly/yearly?) Lking at the level f diversificatin Herfindahl index identify sub-perids in which the strategy f a fund manager wrked well r prly p values per day Stuffer s methd t cmbine p values Implementing a vlatility cnstraint T prvide a faired assessment Cntrl chart p values Pltting multiple p values (every day) - p values ver time Highlighting when the fund des well Cmbined p values Randmly selecting stcks Culd we assign mre chance t select high market cap stcks? Preliminary versin 1.0 Page 7