128
Measurement noise and portfolios Application of statistical physics methods in portfolio selection Imre Kondor Collegium Budapest and Eötvös University, Budapest, Hungary Institute for Theoretical Sciences, Notre Dame University and Argonne National Laboratory

Measurement noise and portfolios Application of statistical physics methods in portfolio selection

  • Upload
    lyneth

  • View
    72

  • Download
    0

Embed Size (px)

DESCRIPTION

Imre Kondor Collegium Budapest and Eötvös University, Budapest, Hungary Institute for Theoretical Sciences , Notre Dame University and Argonne National Laboratory collaboration, August 11 , 2005. - PowerPoint PPT Presentation

Citation preview

Page 1: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Measurement noise and portfoliosApplication of statistical physics methods in

portfolio selection

Imre KondorCollegium Budapest and EötvösUniversity, Budapest, Hungary

Institute for Theoretical Sciences, Notre Dame University and

Argonne National Laboratory collaboration, August 11, 2005

Page 2: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Contents• I. Preliminaries

the problem of noise, risk measures, noisy covariance matrices

• II. Random matricesSpectral properties of Wigner and Wishart

matrices• III. Filtering of normal portfolios

optimization vs. risk measurement, model-simulation approach, random-matrix-theory-based filtering

• IV. Beyond the stationary, Gaussian worldnon-stationary case, alternative risk measures (mean

absolute deviation, expected shortfall, worst loss), their sensitivity to noise, the feasibility problem

Page 3: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Coworkers

• Szilárd Pafka and Gábor Nagy (CIB Bank, Budapest), Marc Potters (Capital Fund Management, Paris)

• Richárd Karádi (Institute of Physics, Budapest University of Technology, now at Procter&Gamble)

• Balázs Janecskó, András Szepessy, Tünde Ujvárosi (Raiffeisen Bank, Budapest)

• István Varga-Haszonits (Eötvös University, Budapest)

Page 4: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

I. PRELIMINARIES

Page 5: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Preliminary considerations• Portfolio selection vs. risk measurement of a fixed

portfolio• Portfolio selection: a tradeoff between risk and reward• There is a more or less general agreement on what we

mean by reward in a finance context, but the status of risk measures is controversial

• For optimal portfolio selection we have to know what we want to optimize

• The chosen risk measure should respect some obvious mathematical requirements, must be stable, and easy to implement in practice

Page 6: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The problem of noise• Even if returns formed a clean, stationary stochastic

process, we only could observe finite time segments, therefore we never have sufficient information to completely reconstruct the underlying process. Our estimates will always be noisy.

• Mean returns are particularly hard to measure on the market with any precision

• Even if we disregard returns and go for the minimal risk portfolio, lack of sufficient information will introduce „noise”, i. e. error, into correlations and covariances, hence into our decision.

• The problem of noise is more severe for large portfolios (size N) and relatively short time series (length T) of observations, and different risk measures are sensitive to noise to a different degree.

• We have to know how the decision error depends on N and T for a given risk measure

Page 7: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Some elementary criteria on risk measures

• A risk measure is a quantitative characterization of our intuitive risk concept (fear of uncertainty and loss).

• Risk is related to the stochastic nature of returns. It is a functional of the pdf of returns.

• Any reasonable risk measure must satisfy:- convexity - invariance under addition of risk free asset- monotonicity and assigning zero risk to a zero position

• The appropriate choice may depend on the nature of data (e.g. on their asymptotics) and on the context (investment, risk management, benchmarking, tracking, regulation, capital allocation)

Page 8: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

A more elaborate set of risk measure axioms

• Coherent risk measures (P. Artzner, F. Delbaen, J.-M. Eber, D. Heath, Risk, 10, 33-49 (1997); Mathematical Finance,9, 203-228 (1999)): Required properties: monotonicity, subadditivity, positive homogeneity, and translational invariance. Subadditivity and homogeneity imply convexity. (Homogeneity is questionable for very large positions. Multiperiod risk measures?)

• Spectral measures (C. Acerbi, in Risk Measures for the 21st Century, ed. G. Szegö, Wiley, 2004): a special subset of coherent measures, with an explicit representation. They are parametrized by a spectral function that reflects the risk aversion of the investor.

Page 9: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Convexity

• Convexity is extremely important.• A non-convex risk measure

- penalizes diversification (without convexity risk can be reduced by splitting the portfolio in two or more parts)- does not allow risk to be correctly aggregated- cannot provide a basis for rational pricing of risk (the efficient set may not be not convex)- cannot serve as a basis for a consistent limit system

In short, a non-convex risk measure is really not a risk measure at all.

Page 10: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

A classical risk measure: the variance

When we use variance as a risk measure we assume that the underlying process is essentially multivariate normal or close to it.

Page 11: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

PortfoliosConsider a linear combination of returns

with weights : . The weights add up to unity: . The portfolio’s expectation value is: with variance:

where is the covariance matrix, the standard deviation of return , and the correlation matrix.

ir

iw1ii

w P i ii

w 2P i ij j

i j

w w

P i iir w r

i irijjiij C

ijC

Page 12: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Level surfaces of risk measured in variance

• The covariance matrix is positive definite. It follows that the level surfaces (iso-risk surfaces) of variance are (hyper)ellipsoids in the space of weights. The convex iso-risk surfaces reflect the fact that the variance is a convex measure.

• The principal axes are inversely proportional to the square root of the eigenvalues of the covariance matrix.

Small eigenvalues thus correspond to long axes.• The risk free asset would correspond to an infinite

axis, and the correspondig ellipsoid would be deformed into an elliptical cylinder.

Page 13: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The Markowitz problem• According to Markowitz’ classical theory

the tradeoff between risk and reward can be realized by minimizing the variance

over the weights, for a given expected return

and budget

2P i ij j

i j

w w

1ii

w

i ii

w

Page 14: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• Geometrically, this means that we have to blow up the risk ellipsoid until it touches the intersection of the two planes corresponding to the return and budget constraints, respectively. The point of tangency is the solution to the problem.

• As the solution is the point of tangency of a convex surface with a linear one, the solution is unique.

• There is a certain continuity or stability in the solution: A small miss-specification of the risk ellipsoid leads to a small shift in the solution.

Page 15: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• Covariance matrices corresponding to real markets tend to have mostly positive elements.

• A large, complicated matrix with nonzero average elements will have a large (Frobenius-Perron) eigenvalue, with the corresponding eigenvector having all positive components. This will be the direction of the shortest principal axis of the risk ellipsoid.

• Then the solution also will have all positive components. Fluctuations in the small eigenvalue sectors may have a relatively mild effect on the solution.

Page 16: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The minimal risk portfolio• Expected returns are hardly possible (on

efficient markets, impossible) to determine with any precision.

• In order to get rid of the uncertainties in the returns, we confine ourselves to considering the minimal risk portfolio only, that is, for the sake of simplicity, we drop the return constraint.

• Minimizing the variance of a portfolio without considering return does not, in general, make much sense. In some cases (index tracking, benchmarking), however, this is precisely what one has to do.

Page 17: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Benchmark tracking• The goal can be (e.g. in benchmark

tracking or index replication) to minimize the risk (e.g. standard deviation) relative to a benchmark

• Portfolio:• Benchmark:• „Relative portfolio”:

bx

pi ix w x

( )rp p b b b ri i i i i ix x x w x x w x x w x

Page 18: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• Therefore the relevant problems are of similar structure but with returns relative to the benchmark:

• For example, to minimize risk relative to the benchmark means minimizing the standard deviation of

with the usual budget contraint (no condition on expected returns!)

r bi ix x x

rp ri ix w x

Page 19: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The weights of the minimal risk portfolio• Analytically, the minimal variance portfolio

corresponds to the weights for whichis minimal, given .

The solution is: .

• Geometrically, the minimal risk portfolio is the point of tangency between the risk ellipsoid and the plane of he budget constraint.

2P i ij j

i j

w w

1ii

w 1

*1

ijji

jkj k

w

Page 20: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Empirical covariance matrices• The covariance matrix has to be determined from

measurements on the market. From the returns observed at time t we get the estimator:

• For a portfolio of N assets the covariance matrix has O(N²) elements. The time series of length T for N assets contain NT data. In order for the measurement be precise, we need N <<T. Bank portfolios may contain hundreds of assets, and it is hardly meaningful to use time series longer than 4 years (T~1000). Therefore, N/T << 1 rarely holds in practice. As a result, there will be a lot of noise in the estimate, and the error will scale in N/T.

(1) 1

1

T

ij it jtTt

y y

Page 21: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Fighting the curse of dimensions• Economists have been struggling with this problem for

ages. Since the root of the problem is lack of sufficient information, the remedy is to inject external info into the estimate. This means imposing some structure on σ. This introduces bias, but beneficial effect of noise reduction may compensate for this.

• Examples:- single-index models (β’s) All these help to- multi-index models various degrees.- grouping by sectors Most studies are based- principal component analysis on empirical data- Baysian shrinkage estimators, etc.

Page 22: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

An intriguing observation• L.Laloux, P. Cizeau, J.-P. Bouchaud, M. Potters,

PRL 83 1467 (1999) and Risk 12 No.3, 69 (1999)and V. Plerou, P. Gopikrishnan, B. Rosenow, L.A.N. Amaral, H.E. Stanley, PRL 83 1471 (1999)noted that there is such a huge amount of noise in empirical covariance matrices that it may be enough to make them useless.

• A paradox: Covariance matrices are in widespread use and banks still survive ?!

Page 23: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Laloux et al. 1999

The spectrum of the covariance matrix obtained from the timeseries of S&P 500with N=406, T=1308, i.e. N/T= 0.31, compared with that of a completely random matrix (solid curve). Only about 6% of the eigenvalues lie beyond the random band.

Page 24: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Remarks on the paradox• The number of junk eigenvalues may not

necessarily be a proper measure of the effect of noise: The small eigenvalues and their eigenvectors fluctuate a lot, indeed, but perhaps they have a relatively minor effect on the optimal portfolio, whereas the large eigenvalues and their eigenvectors are fairly stable.

• The investigated portfolio was too large compared with the length of the time series.

• Working with real, empirical data, it is hard to distinguish the effect of insufficient information from other parasitic effects, like nonstationarity.

Page 25: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

A historical remark• Random matrices first appeared in a finance context

in G. Galluccio, J.-P. Bouchaud, M. Potters, Physica A 259 449 (1998). In this paper they show that the optimization of a margin account (where, due to the obligatory deposit proportional to the absolute value of the positions, a nonlinear constraint replaces the budget constraint) is equivalent to finding the ground state configuration of what is called a spin glass in statistical physics. This task is known to be NP-complete, with an exponentially large number of solutions.

• Problems of a similar structure would appear if one wanted to optimize the capital requirement of a bond portfolio under the rules stipulated by the Capital Adequacy Directive of the EU (see below)

Page 26: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

A filtering procedure suggested by RMT• The appearence of random matrices in the context of

portfolio selection triggered a lot of activity, mainly among physicists. Laloux et al. and Plerou et al. proposed a filtering method based on random matrix theory (RMT) subsequently. This has been further developed and refined by many workers.

• The proposed filtering consists basically in discarding as pure noise that part of the spectrum that falls below the upper edge of the random spectrum. Information is carried only by the eigenvalues and their eigenvectors above this edge. Optimization should be carried out by projecting onto the subspace of large eigenvalues, and replacing the small ones by a constant chosen so as to preserve the trace. This would then drastically reduce the effective dimensionality of the problem.

Page 27: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• Interpretation of the large eigenvalues: The largest one is the „market”, the other big eigenvalues correspond to the main industrial sectors.

• The method can be regarded as a systematic version of principal component analysis, with an objective criterion on the number of principal components.

• In order to better understand this novel filtering method, we have to recall a few results from Random Matrix Theory (RMT)

Page 28: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

II. RANDOM MATRICES

Page 29: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Origins of random matrix theory (RMT)• Wigner, Dyson 1950’s• Originally meant to describe (to a zeroth approximation)

the spectral properties of heavy atomic nuclei - on the grounds that something that is sufficiently complex is almost random- fits into the picture of a complex system, as one with a large number of degrees of freedom, without symmetries, hence irreducible, quasi random. - markets, by the way, are considered stochastic for similar reasons

• Later found applications in a wide range of problems, from quantum gravity through quantum chaos, mesoscopics, random systems, etc. etc.

Page 30: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

RMT

• Has developed into a rich field with a huge set of results for the spectral properties of various classes of random matrices

• They can be thought of as a set of „central limit theorems” for matrices

Page 31: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Wigner semi-circle law

• Mij symmetrical NxN matrix with i.i.d. elements (the distribution has 0 mean and finite second moment)

• k: eigenvalues of

• The density of eigenvalues k (normed by N) goes to the Wigner semi-circle for N→∞ with prob. 1:

, , otherwise

2 22

1( ) 42

x x

| | 2x

( ) 0x

NM ji ,

Page 32: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Remarks on the semi-circle law

• Can be proved by the method of moments (as done originally by Wigner) or by the resolvent method (Marchenko and Pastur and countless others)

• Holds also for slightly dependent or non-homogeneous entries (e.g. for the association matrix in networks theory)

• The convergence is fast (believed to be of ~1/N, but proved only at a lower rate), especially what concerns the support

Page 33: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Wishart matrices – random sample covariance matrices

• Let Aij NxT matrix with i.i.d. elements (0 mean and finite second moment)

• σ =1/T AA’ where A’ is the transpose• Wishart or Marchenko-Pastur spectrum

(eigenvalue distribution):

where( )( )

( )2

min maxTN

2

1 Nmax min T

Page 34: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Remarks• The theorem also holds when E{A} is of finite

rank• The assumption that the entries are identically

distributed is not necessary• If T < N the distribution is the same with and extra

point of mass 1 – T/N at the origin• If T = N the Marchenko-Pastur law is the squared

Wigner semi-circle• The proof extends to slightly dependent and

inhomogeneous entries• The convergence is fast, believed to be of ~1/N ,

but proved only at a lower rate

Page 35: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=100

T/N=2

Page 36: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=200

T/N=2

Page 37: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=500

T/N=2

Page 38: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000

T/N=2

Page 39: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Evolution of the distribution with T/N, with N = 1000 fixed

Page 40: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The quadratic limit N=1000

T/N=1

Page 41: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000

T/N=1.2

Page 42: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000

T/N=2

Page 43: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000

T/N=3

Page 44: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000

T/N=5

Page 45: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000

T/N=10

Page 46: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Scalar product of the eigenvectors belonging to the j eigenvalue of the matrices for different samples.

Page 47: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Eigenvector components

The same applies as in the Wigner case: the eigenvectors in the bulk are random, the one outside is delocalized

Page 48: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Distribution of the eigenvector components, if no dominant eigenvalue exists.

Page 49: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=100T/N=2Rho=0.1

Market model

Underlying distribution is Wishart

Page 50: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=200T/N=2

Page 51: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=500T/N=2

Page 52: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

N=1000T/N=2

Page 53: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Scalar product of the eigenvectors belonging to the largest eigenvalue of the matrix. The larger the first eigenvalue, the closer the scalar products to 1.

Page 54: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

III. FILTERING OF NORMAL PORTFOLIOS

Page 55: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Some key points

Laloux et al. and Plerou et al. demonstrate the effect of noise on the spectrum of the correlation matrix C. This is not directly relevant for the risk in the portfolio. We wanted to study the effect of noise on a measure of risk.

Page 56: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Optimization vs. risk management

• There is a fundamental difference between the two kinds of uses of the covariance matrix σ for optimization resp. risk measurement.

• Do people use σ for portfolio selection?- Goldman&Sachs technical document- tracking portfolios, benchmarking, shrinkage- hidden in softwares

Page 57: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Optimization

• When σ is used for optimization, we need a lot more information, because we are comparing different portfolios.

• To get optimal portfolio, we need to invert σ, and as it has small eigenvalues, error gets amplified.

Page 58: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Risk measurement – management - regulatory capital calculation

Assessing risk in a given portfolio – no need to invert σ – the problem of measurement error is much less serious

Page 59: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

A measure of the effect of noise

Assume we know the true covariance matrix andthe noisy one . Then a natural, though not unique,measure of the impact of noise is

where w* are the optimal weights corresponding to and , respectively.

)0(σ)1(σ

ijjiji

ijjiji

ww

wwq )*0()0()*0(

)*1()0()*1(

20

)0(σ )1(σ

Page 60: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

We will mostly use simulated data

The rationale behind this is that in order to be able to compare the efficiency of filtering methods (and later also the sensitivity of risk measures to noise) we better get rid of other sources of uncertainty, like non-stationarity. This can be achieved by using artificial data where we have total control over the underlying stochastic process

Page 61: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The model-simulation approach

• Our strategy is to choose various model covariance matrices and generate long simulated time series by them. Then we cut out segments of length T from these time series, as if observing them on the market, and try to reconstruct the covariance matrices from them. We optimize a portfolio both with the „true” and with the „observed” covariance matrix and determine the measure .0q

)0(σ

Page 62: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The models are chosen to mimic at least some of the characteristic features of real markets. Four simple models of slightly increasing complexity will be considered

Page 63: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Model 1: the unit matrix

Spectrum

λ = 1, N-fold degenerate Noise will split thisinto band

1

0C =

Page 64: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Model 2: single-index

Singlet: λ1=1+ρ(N-1) ~ O(N)

eigenvector: (1,1,1,…)

λ2 = 1- ρ ~ O(1)(N-1) – fold degenerate

ρ1

Page 65: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The economic content of the single-index model

return market return with standard deviation σ

The covariance matrix implied by the above:

The assumed structure reduces # of parameters to N.If nothing depends on i then this is just the caricature Model 2.

iMiii rr

0

0

,0

i

Mi

ji

r

ji

22iijMjiij

Page 66: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Model 3: market + sectors

This structure has also been studied by economists

1

1

0)(~)()1(1 10111 NONNN

)(~)1(1 110112 NONN singlet

1

1NN - fold degenerate

)1(~1 13 O

1NNN - fold degenerate

Page 67: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Model 4: Semi-empirical

Suppose we have very long time series (T’) for many assets (N’).

Choose N < N’ time series randomly and derive Cº from these data. Generate time series of length T << T’ from Cº.

The error due to T is much larger than that due to T’.

Page 68: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

How to generate time series?

Given independent standard normalGiven Define L (real, lower triangular) matrix such that

(Cholesky)

Get:

„Empirical” covariance matrix will be different from . For fixed N, and T → ,

itx

TLL)0(σ

)0(σ

j

jtijit xLy

)0()1( σσ )0(σ

Page 69: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

We look for the minimal risk portfolio for both the true and the empirical covariances and determine the measure

ijjiji

ijjiji

ww

wwq )*0()0()*0(

)*1()0()*1(

20

Page 70: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

We get numerically for Model 1 the following scaling result

Page 71: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

This confirms the expected scaling in N/T. The corresponding analytic result

can easily be derived for Model 1. It is valid within O(1/N) corrections also for more general models.

TN

q

1

10

Page 72: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The same in a risk measurement context

Given fixed wi’s. Choose to generate data. Measure from finite T time series.

Calculate

It can be shown that , for

)0(σ)1(σ

)0(

)1(

0

q

TOq 110 T

Page 73: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

FilteringSingle-index filter:Spectral decomposition of correlation matrix:

to be chosen so as to preserve trace

N

k

kj

kiji

marketij

k

kj

kikij

vvvvC

vvC

2

111

NNTrC 11

Page 74: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Random matrix filter

where to be chosen to preserve trace again

and - the upper edge of the random band.

K

k

N

Kk

kj

ki

kj

kik

randij vvvvC

1 1

1max KK

2

max 1

TN

Page 75: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Covariance estimates

after filtering we get

and

Silarly for the other models. We compare results on the following figures

T

tjtit

histij yy

T 1

1

marketijji

marketij C )( rand

ijjirand

ij C

histiii

ji

histij

ijC

)(

Page 76: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Results for the one factor model

Page 77: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Results for the market + sectors model

Page 78: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Results for the semi-empirical model

Page 79: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Comments on the efficiency of filtering techniques

• Results depend on the model used for Cº.• Market model: still scales with T/N, singular at

T/N=1 much improved (filtering

technique matches structure), can go even below T=N.

• Market + sectors: strong dependence on parametersRMT filtering outperforms the other two

• Semi-empirical: data are scattered, RMT wins in most cases

histq0

marketq0

Page 80: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• Filtering is very powerful in supressing noise, particularly when it matches the underlying structure.

• Is there information buried in the random band?With T increasing more and more eigenvalues crawl out from below the upper random band edge.

• How to dig out information buried in the random band?Promising steps by various groups (Z. Burda, A. Görlich, A. Jarosz and J. Jurkiewicz, Jagellonian University, Cracow; Th. Guhr, Lund University; P. Repetowicz, P. Richmond and S. Hutzler, Trinity College, Dublin; G. Papp, Sz. Pafka, M.A. Nowak, and I.K., Budapest and Cracow, etc.)

Page 81: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

IV. BEYOND THE STATIONARY GAUSSIAN

WORLD

Page 82: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• Real-life time series are neither stationary (volatility clustering, changing economic or legal environment, etc.), nor Gaussian (fat tails)

• For long-tailed distributions the variance is not an appropriate risk measure (even when it exists): minimizing the variance may actually increase rather than decrease risk.

Page 83: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

One step towards reality: Non-stationary case

• Volatility clustering →ARCH, GARCH, integrated GARCH→EWMA (Exponentially Weighted Moving Averages) in RiskMetrics

t – actual timeT – window; for T large enough can be neglectedα – attenuation factor ( Teff ~ -1/log α), the rate of forgetting

1

0,,1

1 T

kktjkti

kTij rr

T

Page 84: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• RiskMetrics: αoptimal = 0.94memory of a few months, total weight of

data preceding the last 75 days is < 1%.• Because of the short effective time cutoff,

filtering is even more important than before. Carol Alexander applied standard principal component analysis.

• RMT helps choosing the number of principal components in an objective manner.

• For the application of RMT we need the upper edge of the random band for exponentially weighted random matrices

Page 85: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Exponentially weighted Wishart matrices

0

)1(k

jkikk

ij xx

1,0, 2 ikikik xxiidx

constNthatsoN )1(,01,

Page 86: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Sz. Pafka, M. Potters, and I.K.: submitted to Quantitative Finance, e-print: cond-mat/0402573

Density of eigenvalues:

where v is the solution to:

)1()(

N

0)1()sin(loglog)tan(

N

Page 87: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Spectra of exponentially weighted and standard Wishart matrices

Page 88: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• The RMT filtering wins again – better than plain EWMA and better than plain MA.

• There is an optimal α (too long memory will include nonstationary effects, too short memory looses data).The optimal α (for N= 100) is 0.996 >>RiskMetrics α.

Page 89: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Out of sample standard deviation as function of the attenuation factor with and without filtering. RMT filtering suggests an optimal attenuation

much closer to 1 than in RiskMetrics

Page 90: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Alternative risk measures

Page 91: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Risk measures in practice: VaR

• VaR (Value at Risk) is a high (95%, or 99%) quantile, a threshold beyond which a given fraction (5% or 1%) of the statistical weight resides.

• Its merits (relative to the Greeks, e.g.):- universal: can be applied to any portfolio- probabilistic content: associated to the distribution- expressed in money

• Wide spread across the whole industry and regulation. Has been promoted from a diagnostic tool to a decision tool.

• Its lack of convexity promted search for coherence

Page 92: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Risk measures implied by regulation

• Banks are required to set aside capital as a cushion against risk

• Minimal capital requirements are fixed by international regulation (Basel I and II, Capital Adequacy Directive of the EEC) – the magic 8%

• Standard model vs. internal models• Capital charges assigned to various positions in

the standard model purport to cover the risk in those positions, therefore, they must be regarded as some kind of implied risk measures

• These measures are trying to mimic variance by piecewise linear approximants. They are quite arbitrary, sometimes concave and unstable

Page 93: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

An example: Specific risk of bonds

CAD, Annex I, §14:

The capital requirement of the specific risk (due to issuer) of bonds is

n

iii x A

1

Iso-risk surface of the specific risk of bonds

Page 94: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Another example: Foreign exchange

i

ixG

According to Annex III, §1, (CAD 1993, Official Journal of the European Communities, L14, 1-26) the capital requirement is given as

in terms of the gross

and the net position

0020080

21 ,K.NGmax.F

The iso-risk surface of the foreign exchange portfolio

,

.

,

i

ixN

Page 95: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Mean absolute deviation (MAD)

ij ij t iiitj

ttjitijiji wx

Twxx

Twww

211

t i

iitabs wxT1

instead of:

Some methodologies (e.g. Algorithmics) use the mean absolute deviation rather than the standard deviation to characterize the fluctuation of portfolios. The objective function to minimize is then:

The iso-risk surfaces of MAD are polyhedra again.

Page 96: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Effect of noise on absolute deviation-optimized portfolios

t i

iitmeasured wxTiw1min

N

wq i

i

abs 1

2'

We generate artificial time series (say iid normal), determine the true abs. deviation and compare it to the „measured” one:

We get:

Page 97: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Noise sensitivity of MAD• The result scales in T/N (same as with the variance).

The optimal portfolio – other things being equal - is more risky than in the variance-based optimization.

• Geometrical interpretation: The level surfaces of the variance are ellipsoids.The optimal portfolio is found as the point where this risk-ellipsoid first touches the plane corresponding to the budget constraint. In the absolute deviation case the ellipsoid is replaced by a polyhedron, and the solution occurs at one of its corners. A small error in the specification of the polyhedron makes the solution jump to another corner, thereby increasing the fluctuation in the portfolio.

Page 98: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 99: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Filtering for MAD (??)

The absolute deviation-optimized portfolios can be filtered, by associating a covariance matrix with the time series, then filtering this matrix (by RMT, say), and generating a new time series via this reduced matrix. This (admittedly fortuitous) procedure significantly reduces the noise in the absolute deviation.

Note that this risk measure can be used in the case of non-Gaussian portfolios as well.

Page 100: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Expected shortfall (ES) optimizationES is the mean loss beyond a high threshold defined in

probability (not in money). For continuous pdf’s it is the same as the conditional expectation beyond the VaR quantile. ES is coherent (in the sense of Artzner et al.) and as such it is strongly promoted by a group of academics. In addition, Uryasev and Rockefellar have shown that its optimizaton can be reduced to linear programming for which extremely fast algorithms exist.

ES-optimized portfolios tend to be much noisier than either of the previous ones. One reason is the instability related to the (piecewise) linear risk measure, the other is that a high quantile sacrifices most of the data.

In addition, ES optimization is not always feasible!

Page 101: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Before turning to the discussion of the feasibility problem, let us compare the noise sensitivity of the following risk measures: standard deviation, absolute deviation and expected shortfall (the latter at 95%). For the sake of comparison we use the same (Gaussian) input data of length T for each, determine the minimal risk portfolio under these risk measures and compare the error due to noise.

Page 102: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The next slides show

• plots of wi (porfolio weights) as a function of i• display of q0 (ratio of risk of optimal portfolio

determined from time series information vs full information)

• results show that the effect of estimation noise can be significant and more „advanced” risk measures pose a higher demand for input information (in a portfolio optimization context)

Page 103: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 104: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 105: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 106: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 107: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

• the suboptimality (q0) scales in T/N (for large N and T):

Page 108: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Risk measures in risk measurement (as opposed to portfolio optimization)• In the context of risk measurement of given (fixed)

portfolios, the estimation error is much smaller, it scales usually as independently of N !

• The next slides show the histogram of measured risk/true risk for different risk measures (T=500,1000). The mean is 1 and the estimation error is usually within 5-10%, i.e. negligible if compared to the portfolio optimization context

1( )T

O

Page 109: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 110: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 111: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

The feasibility problem

• For T < N, there is no solution to the portfolio optimization problem under any of the risk measures considered here.

For T > N, there always is a solution under the variance and MAD, even if it is bad for T not large enough. In contrast, under ES (and WL to be considered later), there may or may not be a solution for T > N, depending on the sample. The probability of the existence of a solution goes to 1 only for T/N going to infinity.

• The problem does not appear if short selling is banned

Page 112: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Probability of the existence of an optimum under CVaR.F is the standard normal distribution. Note the scaling in N/√T.

Feasibility of optimization under ES

Page 113: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

A pessimistic risk measure: worst loss• In order to better understand the feasibility problem,

select the worst return in time and minimize this over the weights:

subject to • This risk measure is coherent, one of Acerbi’s spectral

measures.• For T < N there is no solution• The existence of a solution for T > N is a probabilistic

issue again, depending on the time series sample

iiti xw

twi

maxmin 1i

iw

Page 114: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Why is the existence of an optimum a random event?

• To get a feeling, consider N=T=2.• The two planes

intersect the plane of the budget constraint in two straight lines. If one of these is decreasing, the other is increasing with , then there is a solution, if both increase or decrease, there is not. It is easy to see that for elliptical distributions the probability of there being a solution is ½.

xwfxwf

ii

i

ii

i

2

2

12

1

2

11

w1

Page 115: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Probability of the feasibility of the minimax problem

• For T>N the probability of a solution (for an elliptical underlying pdf) is

(The problem is isomorphic to some problems in operations research and random geometry.)

• For N and T large, p goes over into the error function and scales in N/√T.

• For T→ infinity, p →1.

1

11

11

2T

NkT k

Tp

Page 116: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Probability of the existence of a solution under maximum loss.F is the standard normal distribution. Scaling is in N/√T again.

Page 117: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 118: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 119: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 120: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 121: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 122: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 123: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 124: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 125: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 126: Measurement noise and portfolios Application of statistical physics methods in portfolio selection
Page 127: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Concluding remarks• Due to the large number of assets in typical bank portfolios and the

limited amount of data, noise is an all pervasive problem in portfolio theory.

• It can be efficiently filtered by a variety of techniques from portfolios optimized under variance.

• RMT is (one of) the latest of these filtering or dimensional reduction techniques. It is quite competitive with existing alternatives already, shows enhanced performance when applied in conjunction with extra information about the structure of the market, and holds great promise for resolving the spectrum under the upper edge of the random band.

• Unfortunately, variance is not an adequate risk measure for fat-tailed pdf’s.

• Piecewise linear risk measures show instability (jumps) in a noisy environment.

• Risk measures focusing on the far tails show additional sensitivity to noise, due to loss of data.

• The two coherent measures we have studied display large sample-to-sample fluctuations and feasibility problems under noise. This may cast a shade of doubt on their applications.

Page 128: Measurement noise and portfolios Application of statistical physics methods in portfolio selection

Some references

• Physica A 299, 305-310 (2001) • European Physical Journal B 27, 277-280

(2002)• Physica A 319, 487-494 (2003)• Physica A 343, 623-634 (2004) • submitted to Quantitative Finance, e-print:

cond-mat/0402573