# Windham Portfolio Advisor Support

Knowledge base to support the Windham Portfolio Advisor, a portfolio optimization and risk management platform for strategic asset allocation.

![The Windham Portfolio Advisor®](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1JigLx3RI41vYcFtf%2F-MF1LPGHSzozEwX5rxZL%2FwpaSnapshot.png?alt=media\&token=00a518b9-a14e-490b-887a-a6dd4c0ce40f)

The Windham Portfolio Advisor® is a technology platform for efficient portfolio construction and sophisticated risk management. It has been developed for the most sophisticated institutional investors - including plan sponsors, endowments, foundations, investment managers, investment consultants, and brokerage firms to make informed asset allocation decisions. The intuitive workflow makes performing complex analyses quick and easy. The graphical and reporting capabilities allow you to communicate financial concepts effectively. Highlights of the software platform includes

### Capital Market Forecasting

* Develop capital market assumptions for return, risk, and correlations using multiple risk models
* Examine market behavior during periods of financial turbulence and quiescence

### Portfolio Construction

* Evaluate existing and proposed portfolios
* Perform parametric multi-goal optimizations
* Execute robust utility maximization with Full-Scale optimization

### Risk Management

* Evaluate probability of loss and value at risk over investment horizons
* Measure likelihoods of under performances relative to a policy portfolio or benchmark
* Estimate risk analytically or contrast results with empirical simulation methods
* Stress test portfolios under various market models

### Cash Flow Analysis

* Generate projections of future portfolio value
* Consider the effects of inflation and periodic contributions or withdrawals


# Installing the Windham Portfolio Advisor

The Windham Portfolio Advisor (WPA) is a complete portfolio optimization and risk management platform that integrates cutting edge research for institutions and managers.

## System Requirements

| Minimum                        | Recommended                                          |
| ------------------------------ | ---------------------------------------------------- |
| Microsoft Windows 7            | Microsoft Windows 10                                 |
| Any Intel or AMD x64 processor | Intel x64 processor with more than two logical cores |
| 1.5GB of HDD space             | 1.5GB SSD space                                      |
| 1GB RAM                        | 8GB or more                                          |
| No specific graphics card      | Hardware accelerated graphics supporting OpenGL 3.3  |

{% hint style="warning" %}
Please note that the desktop software does not support installations on shared or network drives.
{% endhint %}

## Downloads

{% hint style="info" %}
The current version of Windham Portfolio Advisor is 3.0.0.10430
{% endhint %}

### :gear: Install the prerequisites for the WPA

For new users, new workstations, and for clients who do not have [prerequisites ](https://wpahelp.windhamlabs.com/installation/prerequisites)installed, please follow the install order of the frameworks required for the WPA to run described in :

{% content-ref url="/pages/-MEdF7PBVyvB8ACBv29h" %}
[Installation Prerequisites](https://wpahelp.windhamlabs.com/installation/prerequisites)
{% endcontent-ref %}

Once that is complete, proceed with the core installation kit below.

### :gear: Core Installation Kit (without Prerequisites)

For clients who have prerequisite components installed, download the core kit:

{% embed url="<http://wpaupdates.windhamlabs.com/WPACoreInstaller.exe>" %}
Windham Portfolio Advisor Installer (prerequisites not included)
{% endembed %}


# Installation Prerequisites

To manually install the Windham Portfolio Advisor's prerequisite components, please download and run the following in order.

{% hint style="info" %}
These prerequisites are also packaged in the complete installation setup package. See [Installing the Windham Portfolio Advisor](https://wpahelp.windhamlabs.com/installation/installing-the-windham-portfolio-advisor#where-can-i-download-the-windham-portfolio-advisor)
{% endhint %}

{% tabs %}
{% tab title="64-bit WPA Prerequisites" %}
The following prerequisite components are for 64-bit operating systems required by the Windham Portfolio Advisor.

| Prerequisite Component                            | Download URL                                                                                |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| Microsoft .NET Framework 4.0                      | <https://www.microsoft.com/en-us/download/details.aspx?id=17851>                            |
| Microsoft .NET Framework 4.0 Client Profile       | <https://www.microsoft.com/en-us/download/details.aspx?id=24872>                            |
| Microsoft Visual C++ 2008 Redistributable Package | <https://files.windhamlabs.com/wpa/prerequisites/vcredist_x64(2008_30729_MCR).exe>          |
| Microsoft Visual C++ 2010 Redistributable Package | <https://files.windhamlabs.com/wpa/prerequisites/vcredist_x64(2010).exe>                    |
| MATLAB Compiler Runtime 8.0                       | <https://files.windhamlabs.com/wpa/prerequisites/mcr_signed/MCR_R2012b_win64_installer.zip> |
| {% endtab %}                                      |                                                                                             |
| {% endtabs %}                                     |                                                                                             |


# Installation FAQ

Workstation installation process can be complicated, this page will address some of the probable complications that may arise from the diverse set of environments across users.

## Can I install Windham Portfolio Advisor (WPA) on a Mac?

The Windham Portfolio Advisor is a Windows-based application. To run the WPA on your own Mac, you will need to set up a Windows virtual machine. The most common solution available is through [Parallels](https://wpahelp.windhamlabs.com/installation/www.parallels.com).

1. Install Parallels on your Mac computer
2. Install a licensed copy of Microsoft Windows on the Parallels localized virtual machine
3. Install the WPA

{% hint style="info" %}
Windham also offers hosted virtual machines with a WPA environment as a solution, additional terms and pricing may apply. Contact us for more information.
{% endhint %}

## Failed to initialize Matlab Compiler Runtime

The most common cause for this error is an incomplete (interrupted) installation of a prerequisite, the Matlab Compiler Runtime. Follow the instructions to [manually install the Matlab Compiler Runtime](https://wpahelp.windhamlabs.com/installation/prerequisites) and restart the WPA.


# License Key Management

To review and manage the Windham Portfolio Advisor's license information, see the Advanced tab on the main screen.

Select **Show License Information** on the Advanced tab in the main menu ribbon.

<figure><img src="https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEd8w0azNaE8v7NnoDC%2Fuploads%2FYpC4EVm7ix9G9zuxbz7v%2Fimage.png?alt=media&amp;token=4d53bd54-c6ea-44ef-9ff1-bb3e152eb7d7" alt=""><figcaption></figcaption></figure>

Click on **Show License Information**

<figure><img src="https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEd8w0azNaE8v7NnoDC%2Fuploads%2F9Z5ua9sBqqk4QMbZRhm8%2Fimage.png?alt=media&amp;token=2fbd54d0-371a-4976-bbb7-bdc71c974f21" alt=""><figcaption><p>License management screen</p></figcaption></figure>

Enter your **e-mail address** and click on **Request a license key**. Our team will process request and will e-mail authenticated requests.

{% hint style="info" %}
For organizations with stricter firewall rules, you will want to reach out via e-mail to our support team with your user id, computer id, and network id as shown on this license screen.
{% endhint %}


# Managing Custom Time Series

## Adding custom time series

Users can upload data not found in the Windham Time Series database via one of two methods.

(1) The **Time Series Utility** allows users to manage and add proprietary data (returns) for use in the WPA.

(2) The **Excel Add-in** allows users to upload custom data directly from within Microsoft Excel.&#x20;

![WPA Custom Time Series Excel Add-in](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEdSS1SS9-VD1ojb5ox%2F-MEdVJXKm_vGuBAVdIAW%2Fimage.png?alt=media\&token=c556ae72-d3cb-4cd4-957f-08dcf8dcfe06)

## How do WPA databases work?

The WPA uses XML flat files to persist database structures. This facilitates local storage and security management for end-users in accordance with their organizational security policies.

#### WPA's Main Database

The main database file is named tsdocument.xml and is typically found

```
<User's Documents Folder>\Windham Files\v3.0\Time Series\tsdocument.xml
```

{% hint style="danger" %}
The Windham-managed database file is named **tsdocument.xml**. Users should not attempt to edit or overwrite this file, take caution to save your custom database files using a different file name.
{% endhint %}

#### Custom Database

The custom Time Series databases are produced using the Time Series Utility or using the Excel Add-in which saves database as **.xml** files. The default file name for the custom database is

```
tsdocument-prop.xml
```

Users can also create and maintain custom databases in any location of their choosing and can select any filename for this database.

## Pointing to a Custom Time Series Data File

The WPA would need to be configured to the location of your custom time series XML database.&#x20;

![Specifying your custom managed time series database file](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MUG5TD3wefJ7GDeBtlp%2F-MUG5VgEE24ogv8HW5wv%2Fimage.png?alt=media\&token=ed982f54-5fd2-4256-af56-eeabd991300b)

1. Go to the Options screen within the File menu
2. Browse to the location of your custom time series file in the **Custom Time Series Location** field
3. Select your custom time series data file (\*.xml)
4. Save your selection and refresh the database


# Custom Time Series Excel Add-in

The Windham Software ships with an Excel Add-in that can be used to upload custom data to the software. This add-in requires a working copy of Microsoft Excel 2003 or later on your machine.

**Installation for Excel 2007**

1. Locate the following file:
2. Open Microsoft Excel 2007.
3. Select Excel Options from the Office Button in the upper left corner of the screen.
4. Select the Add-ins option.
5. After selecting “Add-ins,” hit “Go.”
6. Browse for and select: C:\Program Files\Windham Capital Management, LLC\WPA 3.0\WPA 30 Upload Data.xlam
7. Affirm any subsequent prompts related installing this add-in
8. Once the add-in is installed, you should see a “Windham” item in Excel’s Add-ins menu bar.

**Installation for Excel 2010 or later**

1. Open Microsoft Excel 2010 or later
2. Select File from the Ribbon in the upper left corner of the screen.
3. Select Options
4. After selecting “Add-ins,” hit “Go.”
5. Browse for and select: C:\Program Files\Windham Capital Management, LLC\WPA 3.0\WPA 30 Upload Data.xlam
6. Affirm any subsequent prompts related installing this add-in
7. Once the add-in is installed, you should see a “Windham” item in Excel’s “Add-ins” menu bar.

Once installed, use the “Load time series” menu item in Excel to create a new custom database. You may also refer to the built-in help menu item for an example on how to proceed with the process.


# Custom Time Series Utility

A guide for using the custom time series utility

The Time Series Utility (TS Utility), is a standard component of the Windham Portfolio Advisor (WPA), and can be used to load, prepare, and manage your proprietary time series data for use in the the WPA.

![](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0YEihXpGkQVAb7oUw%2Fimage.png?alt=media\&token=e9a775e8-799f-408d-a335-351efb71eb8b)

The Time Series Utility is a standalone application, in Windows 10, you can search for the app once you have installed the WPA. This supplemental application is utility-focused.

![](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0ZnUJtmn3tJuptyki%2Fimage.png?alt=media\&token=6664f83e-3cac-475c-aaac-684646735a9c)

### Creating a custom time series database

You can create and maintain as many custom databases as you'd like. Each database is saved as an XML data file.&#x20;

{% hint style="info" %}
Most users aggregate all their proprietary data into one database file and reference this (see [Managing Custom Time Series](https://wpahelp.windhamlabs.com/managing-custom-time-series#pointing-to-a-custom-time-series-data-file)) when using the WPA. Some teams choose to segment their proprietary data by context, managing and referencing multiple data files.
{% endhint %}

In the File menu, select New and specify a file name for your custom database to create a new database file (XML).

### Adding a new custom time series

Click "Add" to define a new time series instrument and fill in the corresponding attributes. These attributes are used to describe and organize your data.

| Attributes               | Description                                                                                                                                                   |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Data Provider**        | <p>Manual, this is simply a classifier tag</p><p><em>Yahoo Finance is no longer supported.</em></p>                                                           |
| **Data Provider Code**   | *Only applicable for Yahoo Finance API, no longer supported*                                                                                                  |
| **Series Name**          | <p>Unique name to describe your time series<br>e.g. S\&P 500 Manager A, or Hedge Fund X</p>                                                                   |
| **Asset Class**          | <p>Choose from an existing list of asset class classifiers or type in. <br>This is used by the WPA to filter or search when managing the instrument list.</p> |
| **Frequency**            | Data periodicity that you will be importing into the database.                                                                                                |
| **Denominated Currency** | Three-letter currency code following the [ISO4217 standard](https://en.wikipedia.org/wiki/ISO_4217).                                                          |
| **Series Short Name**    | Optional, unique string as a shorter descriptor of the time series                                                                                            |
| **Country**              | Optional, string to describe geographic relevance.                                                                                                            |

![Defining a new time series instrument](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0_Dos-8pMCFGQvLcA%2Fimage.png?alt=media\&token=549333b6-69c2-439e-a23d-da05373e20ce)

{% hint style="info" %}
Repeat this process for as many instruments as you need to load.
{% endhint %}

### Import Time Series Observations

Once you have defined your time series attributes, we can now import its values.

To illustrate the rest of the import process, let's consider two proprietary manager returns to load for use in the WPA. Suppose that we have these **daily** returns in an Excel workbook

![](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0eG0wqnYW3lybE68j%2Fimage.png?alt=media\&token=6a761871-4b72-403b-a10f-27477a7ccb59)

First, verify that the data periodicity specified in the utility matches the prospective import.

![](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0f4hlDY8mwXsV25sL%2Fimage.png?alt=media\&token=c67e2f63-f306-4d31-8e44-b6093fd73bd9)

#### Initialize Date Vector

Next, initialize the start date of the data in the Time Series Utility.

![Specify or initialize the start date](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0eoIZfj2wvWTCsscx%2Fimage.png?alt=media\&token=01cbccb5-01e9-4f52-8904-a4c41acfb809)

Hit the Go button, the workspace grid should now have a date vector that begins on January 2, 1998.

![Initializing the date vector](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0fY0z7YNJ_7s1XIXc%2Fimage.png?alt=media\&token=2100ed2b-f8ce-46be-91a3-933f6817e57a)

#### Copy and Paste Values

Go to the source of your proprietary data values, in this example - the Excel workbook with both manager's daily returns. We select the time series data values and copy (Ctrl + C).

![Copy the source values](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0fuRXNycU9Ss-ifuL%2Fimage.png?alt=media\&token=5801b132-852b-43c2-abd7-bb8485f5f2ff)

Return to the utility and select the origin cell for the values that corresponds to the origin location of the source values. Please note that the WPA works using time series returns, not prices or index values.

![Select the origin cell to paste the data into](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0gDay2XQXxZnBNogC%2Fimage.png?alt=media\&token=dbcfc04c-67e1-419d-addc-63da6833c662)

{% hint style="danger" %}
Do not include dates or the time series name in your copy-selection. \
Select and copy time series return values only.
{% endhint %}

Press the "Paste from Excel" button in the lower-left of the application to paste and format your values.

![Time series returns copied from Excel](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-Ma0GWg7IGUNiA3MjiSU%2F-Ma0h0fDzMksowIgfUxd%2Fimage.png?alt=media\&token=a2b25dff-f3e6-41fc-af61-7507057535c4)

Once done, press Finish and save your changes. The proprietary data will be processed and saved as an XML database ready for use in the WPA. \
\
Please see [Managing Custom Time Series](https://wpahelp.windhamlabs.com/managing-custom-time-series#pointing-to-a-custom-time-series-data-file) to learn how to have WPA reference this custom database file.


# Updating the Windham Time Series Database

How and where can we get the latest updates from Windham for the Windham-managed time series database in the WPA?

## Retrieving Time Series Updates From Our Servers

In the ribbon menu at the top of the application, select the Advanced tab

![WPA Advanced Ribbon Menu](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MExclr0UpJbrZfj8W_4%2F-MExeczeipvOYye0-iuv%2Fimage.png?alt=media\&token=568e785e-9674-49f7-9425-106c56f61258)

Click on the Update Time Series button and select "From Internet". You should see a dialog

![Update WPA Time Series from our servers](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MExclr0UpJbrZfj8W_4%2F-MExf7VD-UXSf6SubpXy%2Fimage.png?alt=media\&token=16b41178-5312-4cb9-931a-f06975d02931)

This dialog will provide you information of the Windham-managed database timestamp in use, and what is available on our servers. If the two time stamps are out of sync, click the "Update" button and follow the on-screen instructions.

## Retrieving Time Series Updates Manually From Our Servers

An alternative method to the automatic retrieval of the Windham-managed time series database updates, you may also choose or need to download and update the database file manually. This is typically useful if your organization is behind a restrictive firewall that prevents communication between our servers and the installed desktop application.

To manually obtain the latest time series database update file, download and save the database as a zipped-archive from

{% embed url="<https://timeseries.windhamlabs.com/V3.00/TimeSeriesIndex.html>" %}
Windham Time Series Database Update
{% endembed %}

In the ribbon menu at the top of the application, select the Advanced tab

![WPA Advanced Ribbon Menu](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MExclr0UpJbrZfj8W_4%2F-MExeczeipvOYye0-iuv%2Fimage.png?alt=media\&token=568e785e-9674-49f7-9425-106c56f61258)

Click on the Update Time Series button and select "From File". You should see a dialog

![Updated WPA Time Series from downloaded file](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MExiuq46p0GhyhzaBA-%2F-MExkQ4HA4DK0oX6FhS4%2Fimage.png?alt=media\&token=5060bcf9-fb5c-40f4-b028-b47e7c8f85a6)

In the Update File path control, browse to the location of the downloaded saved zipped-archive and select the zip-file. Click on Update and follow the on-screen instructions if applicable.


# Mixing Data Periodicities within a Case File

Is it possible to mix monthly and daily data within a specified case?

The software does not support the functionality of mixing data periodicities within an analysis (case file). Mixing data periodicities would require application-specific assumptions on interpolation and missing data, typically beyond the scope of generalized applications.&#x20;

If your analysis requires this, please [contact for us](https://forms.monday.com/forms/c14792072797e0cf95b7add5094283e1) for further consultation.


# Hedged and Unhedged Time Series

How do we obtain a hedged or unhedged time series of asset returns?

Asset class time series in the Windham-managed database are unhedged and denominated in USD by default, unless otherwise noted.

![Examples of hedged time series returns](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEy4WKRdKDjv1blVekS%2F-MEy58ahnb4VD1vM58rd%2Fimage.png?alt=media\&token=ef3b80bf-902a-47a3-b14a-8574402ddf01)

## Base Currency

The WPA has the option to specify the base (denominated) currency of the analysis for a case file.&#x20;

![Base currency specification in the WPA](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEy4WKRdKDjv1blVekS%2F-MEy5ep7NLnVuKJtRZ4x%2Fimage.png?alt=media\&token=f19d3c5e-5684-48d9-996d-58ac673d7b00)

If the selection of assets are denominated in the default USD currency, a change in the base currency using the drop down editor will convert all selected assets to the specified base currency using the internal time series of spot rates.


# Overlays

What are overlay instruments?

Instruments flagged as **Overlay** in the *Define Portfolios* screen are not included when calculating the sum of weights constraint during optimization.&#x20;

![Classifying instruments as Overlays](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyZPgSimmZv1jhKUPA%2F-MEyZmTDIZhOIv5CfUxn%2Fimage.png?alt=media\&token=161c1e23-2871-4430-ac92-2da4dd035bad)

Some examples of overlay instruments are options, futures, swaps, and other derivative risk management instruments. We assume that these instruments do not require capital unlike instruments in the cash markets.


# Annualizing Volatility and Return

The WPA accounts that discrete returns are log-normally distributed.

Since discrete returns are log-normally distributed, the logarithms of one plus the discrete returns (continuous returns) are normally distributed. We can account for this property and its effects on compounding when annualizing estimates, please see

{% file src="/files/-MEyDQ9ege2MUVSrLuP9" %}
Annualizing Volatility and Return
{% endfile %}


# Correlation

Correlation measures the degree and direction of the co-movement between two assets.

A positive correlation indicates that the two assets tend to move in a similar direction, whereas a negative correlation indicates that they tend to move in opposite directions. A correlation of zero indicates that the returns of the two assets are uncorrelated.


# Covariance

The covariance matrix describes the magnitude of the variability in the assets' returns including direction and degree.

The covariance of two assets is the standard deviations of the two assets multiplied by their correlation coefficient.

Combinations of assets with low covariance to other assets will result in portfolios with lower levels of portfolio risk. Combinations of assets with high covariance to other assets will result in portfolios with higher levels of portfolio risk.


# Exponential Risk

Exponentially Weighted Moving Average (EWMA)

Exponential risk is calculated using the exponentially weighted moving average (EWMA). Exponential risk has two main benefits over the equally weighted risk model (Historical Risk)

1. Recent time series observations carry a higher weight (importance) relative to observations in the past. This allows exponentially weighted risk estimates (covariance) to react faster to recent shocks in markets.<br>
2. Risk estimates in this model have a shorter memory following a shock. The risk estimates decline smoothly and rapidly as the significance of shock observations decreases through time. In contrast, shocks observed by the equally weighted historical risk model will increase risk estimates for the full observation period and will cause an abrupt shift when they fall out of the observation window.

### Decay Factor

The decay-factor, $$\lambda$$ , is a parameter that controls how quickly the significance of older observations is reduced. The $$n^{th}$$ observation is weighted by $$\lambda^n$$. The decay factor ranges from 0 to 1, where 1 will equivalent to the same weighting as the equally weighted model (historical risk).

### Half-life

The half-life describes the time it takes for the weight on time series observations to fall to one-half of the weight assigned to the most recent observation. Half-life is a function of the decay-factor and can be solved by

$$
\text{half-life}=\frac{log(\frac{1}{2})}{log(\lambda)}
$$

For example, to calculate the half-life of the standard deviation of monthly returns with a decay-factor of 0.97, we calculate the log of 1/2 divided by the log of 0.97. The half-life for this example is 22.76 months.


# Quiet and Turbulent Risk

A risk model for statistically partitioning returns into regimes.

These risk regime methodologies draw on user defined parameters and Windham’s proprietary turbulence methodology to partition historical returns into distinct samples that are characteristic of turbulent and quiet periods.

Turbulent periods are identified by statistically unusual asset movements within a specified date range.  These periods are usually marked by large asset movements (volatility) and/or unusual changes in correlations (e.g. when non-correlated assets become correlated).

The Windham Portfolio Advisor uses a multivariate vector distance to isolate periods in which returns are unusual either in their magnitude or in their interaction with each other. For example, a period may qualify as unusual because two assets whose returns are typically positively correlated generate returns that move in the opposite direction.

These periods with unusual returns represent statistical outliers, and they are typically associated with turbulent markets. We create a sub-sample of these outliers and estimate volatilities and correlations from these turbulent sub-samples. We also estimate volatilities and correlations from the remaining returns, which we associate with quiet markets.

To identify outliers, one must also identify a tolerance boundary that divides inliers from outliers, or the turbulence threshold. In the software, the turbulence threshold is a user defined metric. For more information, see “Setting the Turbulence Threshold.”

Clients can then choose to work with either the turbulent or quiet subsample exclusively, or with a blend of the two. For more information on setting parameters for the quiet-turbulent blend model, see “Setting the Turbulent Blend Probability.”&#x20;

Risk regime analysis has several uses. By evaluating exposure to loss during turbulent conditions, investors can stress test portfolios and construct portfolios that are more resilient to turbulent markets. These methodologies also allow investors to shift the risk profiles of their portfolios depending on their views regarding the likelihood of turbulent or quiet market conditions.

### Turbulent Threshold

The turbulent threshold specifies the percentage of periods that will be classified as outliers, under a multivariate Gaussian assumption. We convert this threshold using the chi-squared inverse function.

For example, if a user selects a threshold of 20% and is working with a multivariate normal sample, the 20% most statistically unusual periods will be classified as turbulent. The remaining 80% of the periods will be classified as quiet. This parameter applies to quiet, turbulent, and quiet-turbulent blend methodologies.

### Blend Probability

The turbulent blend probability allows clients to select the weight that will be given to the turbulent subsample. This is useful if a client believes that turbulent periods will be more prevalent in the future or wants to construct a portfolio more resilient to market turbulence.&#x20;

For example, if a client selects 40% for the blend probability, then the turbulent subsample will be weighted at 40%, relative to a 60% weighting for the quiet subsample. If the turbulent threshold for this analysis is set at 20%, then a subsample consisting of the top 20% of unusual returns will be given a 40% weighting.

## FAQ

### Identifying Turbulent Periods

> *How can I identify periods that are marked as turbulent after exporting the turbulence index data (time series) from the Windham Software into Excel?*

First, determine the turbulent threshold value by calculating the chi-squared score using the following equation in Excel:&#x20;

```
=CHIINV(probability, number of assets)
```

The probability parameter is the same value as specified as the Turbulent Threshold in the risk estimation screen of the Windham Software. The number of assets is equivalent to the number of instruments selected in the Windham Software case file.

The turbulence index values that are strictly greater than the calculated chi-squared score are marked as turbulent periods. Once these turbulent periods are identified, the partitioned subsample is used for estimating standard deviation and correlation.

### Missing Data

> I am running an analysis using eight asset classes dating back to January 1999 with monthly data. One of the asset classes dates back to January 2006. I am using Maximum Likelihood Estimation (MLE) option on the estimation screens. When I look at “Quiet-Turbulent Regime” tab, the chart only shows data from 2006 to the present.
>
> How can I make sure the software takes into account the whole period from January 1999 to the present when considering the quiet/turbulent regime?

The turbulence index can only be calculated for overlapping data series. MLE only provides a statistical approximation of the cumulative historical return, risk, and correlations. It will NOT create or populate missing data points (which would be required to identify turbulent periods).

To calculate the turbulent index for the full intended period, it is recommended to remove the asset class with the short history (i.e. 2006 - present asset class). For more robust results, you can also replace the most recent asset with a similar proxy that has a longer history.

## Endmatter

### Research paper

The following published research article in the Financial Analyst Journal describes portfolio construction using risk regime in detail.

{% file src="/files/-MEyIpn4wAKOI2VhapkI" %}
Optimal Portfolios in Good Times and Bad
{% endfile %}

### Video

This video introduces a method to partition historical returns into those that are associated with quiet periods and those that reflect market turbulence.

{% embed url="<https://windhamcapital.wistia.com/medias/ti6fqxaqxf>" %}
Risk Regimes
{% endembed %}


# Series Filter

A conditional model for estimating expected risk and correlations.

The Series Filter model partitions the full historical asset sample conditioned on the time series properties of a single reference asset within the portfolio.&#x20;

![Series Filter Model Parameters](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyBdovA9EwdpX8wFns%2F-MEyCEwuPPf8Fu4aZqQi%2Fimage.png?alt=media\&token=ff7e4e0b-e7e5-4cc6-b2cc-be2da28388cd)

For example, a client can use this risk model to test the hypothesis that the correlation between an asset pair increases when the S\&P 500 has a negative return.

The investor must first specify which asset is the reference asset.  Second, the investor must specify the threshold, or filter, to apply. The WPA allows users to specify filters in return or standard deviation units.

Using the model parameters, the WPA estimates risk and correlations based on the sub-sample of asset returns.


# Views (Risk and Correlation)

The WPA allows the user to input custom views for expected risk and correlations.

The users may enter up to five different sets of views in the grid. To select a set of expected risk and correlation (covariance) model for analysis, click on the column heading to highlight the column.

![Expected Risk Views](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEy8gZEd-nXfEmPZEHH%2F-MEyAQJ6fgSoUs03pS3y%2Fimage.png?alt=media\&token=5fe4a8e6-2af7-4735-91e2-268b2ecc34e5)

The user will be able to initialize a custom view by copying from the historical full-sample estimates.

![Context menu for interaction with Expected Risk Views](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEy8gZEd-nXfEmPZEHH%2F-MEyAYujBOAPU1TCqpgM%2Fimage.png?alt=media\&token=20f35cb3-aeb0-4425-84d8-afb6fd4df98d)

When specifying views for risk, it is also essential to carefully consider the specification of correlation coefficients. If a correlation matrix is not positive semi-definite, WPA can either correct to the nearest positive semi-definite matrix or re-initialize the respective view estimates to the historical correlation matrix.

![Matrix positive semi-definite verification](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEy8gZEd-nXfEmPZEHH%2F-MEyBEka8Zr2RhWZzlKK%2Fimage.png?alt=media\&token=3fa48918-787f-4593-95b5-4d4ea098ec70)


# Historical Returns

Equally-weighted historical average expected return model

The Historical Return model uses historical data from the selected time series returns to estimate expected return. The return for a given time series is calculated in [annualized discrete terms](https://wpahelp.windhamlabs.com/expected-risk/annualizing-volatility-and-return).&#x20;

### Missing Data

To account for missing or incomplete data, select “Use Maximum Likelihood Estimators.”

![Historical estimation options](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyM-J7QW-XolxfY2kG%2F-MEyN0uTEvYfqJrHS1Fe%2Fimage.png?alt=media\&token=7b641884-7d64-48d0-93b4-1661e2eec6d0)


# Equilibrium Returns

Using the Capital Asset Pricing Model for estimating returns

Equilibrium returns are estimated using the Capital Asset Pricing Model (CAPM). CAPM assumes that an asset’s return in excess of the risk-free rate is proportional to the asset’s sensitivity to the non-diversifiable risk of the market (this sensitivity is also referred to as Beta).

The CAPM postulates that systematic risk cannot be removed through diversification; however, idiosyncratic risk is diversifiable. Therefore, when markets are in equilibrium, investors are only compensated for systematic risk and should seek to remove all idiosyncratic risk through diversification.

The expected return of an asset is a function of that asset’s sensitivity to the market portfolio, the expected return of the market portfolio, and the expected return of a risk-free asset. Global diversified asset class indices are typically used as a proxy for the market portfolio. The WPA provides the option to use the [Windham-defined Global Market Portfolio](#the-windham-global-market-portfolio) or a user-specified market portfolio.&#x20;

The equilibrium return is calculated as the risk-free rate plus the beta of a given asset multiplied by the overall risk premium of the equity market. Users can specify market assumptions and the risk-free rate in the Parameters box on the Return Estimation screen or in the market assumptions field of the Home tab (Summary Ribbon).

### Beta

Beta is the measure of security price volatility relative to a market portfolio, i.e. the component of an asset’s risk that cannot be diversified away. As a proxy, the WPA defaults to using the [Windham-defined Global Market Portfolio](#the-windham-global-market-portfolio) as a starting point, however, users may also specify their own market portfolio composition. Beta is then calculated using regression analysis. A beta greater than one means the return of an asset will be more volatile than the market portfolio, while a beta of less than one means it will be less volatile.

## The Windham Global Market Portfolio

We suggest using a global market capitalization weighted portfolio. The following are estimates of a market cap weighted portfolio of stock, bonds, and commodities used in the WPA.

| Asset Class                    | Weights |
| ------------------------------ | :-----: |
| U.S. stocks                    |  34.7%  |
| Foreign stocks (developed)     |  13.6%  |
| Emerging markets stocks        |   6.0%  |
| Global bonds                   |  43.4%  |
| Global real estate (developed) |   1.1%  |
| Commodities                    |   1.3%  |

{% hint style="info" %}
These market weights were updated on January 31, 2025.
{% endhint %}

Windham Labs' capitalization weighted global market portfolio is our view on a proxy for the global equilibrium allocation of investable risky assets. To create this portfolio, we first identify seven asset classes: U.S. stocks, foreign stocks (Non-U.S. developed markets), emerging markets stocks, global bonds, global real estate (developed markets), and commodities. We then used the sources below to value each of these asset classes:

* For **stocks**, we used the market capitalization for MSCI USA, MSCI World ex-US, and MSCI Emerging Markets.
* For **bond** markets, we use Bloomberg Barclays Global Aggregate (Hedged) Index.
* For **global real estate**, we use FTSE NAREIT Global.
* For **commodities**, we refer to [Zdoeswijk, Lam, Swinkles 2017](https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2978509) and use their global market portfolio value, the commodity allocation, and the Bloomberg Commodity Index total return to extrapolate data since 2017 (base year).
* To avoid overlapping data, we do not treat **hedge funds** as an asset class.
* We exclude **private equity** considering its relative small size to global equities and lack of direct access.


# Implied Returns

A reverse-optimization expected return model

Given a set of portfolio weights and a covariance matrix there is a set of expected returns, we term “implied returns,” which deem the portfolio weights optimal.

This can help investors understand the implicit assumptions of maintaining their current portfolio weights.&#x20;

An investor may choose to re-balance their portfolio if the implied returns are substantially different from the asset returns that could be realistically expected in the forthcoming period.


# Black-Litterman

A Bayesian equilibrium expected return model

Black-Litterman returns combine the market equilibrium return expectation (CAPM) with the investor’s unique market views. The investor’s views for a given asset can be either absolute or relative to another asset. The Black-Litterman model is designed as a means of constructing a sensible set of expected returns that is consistent with the equilibrium framework.

## The Model

The model assumes that there are two sources of information on expected returns, the investors views  $$(Q,\Omega)$$, and market equilibrium $$(E\[r]\_{\text{equilibrium}},\Sigma)$$ . The following figure describes how Black-Litterman combines the distribution of views and market equilibrium to form a posterior view, or its expected returns.

![The Black-Litterman Model](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MSTP0l1p_TXw5tg9xN8%2F-MSTPXKGqr-tNBkvYlM_%2Fimage.png?alt=media\&token=0c712e95-68d6-4951-9532-7ca82c1a66d5)

The prior equilibrium is assumed to be Gaussian with a mean of $$E\[r]\_{\text{equilibrium}}$$ and a (co)variance of $$\tau \times \Sigma$$ . In WPA 3.0, we assume that $$\tau =1$$ , this free-parameter is a measure of investor's confidence in the prior. The covariance matrix of the prior is specified in WPA's risk screen as the active risk and correlation model.

## Views and Confidence

The systematic framework of the Black-Litterman model allows investors to specify both relative views and absolute (idiosyncratic) views on an assets return.

### Adding Views

To manage your views for the Black-Litterman model, click on the Views and Confidence button on the parameters panel.

![Manage your views](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MSTP0l1p_TXw5tg9xN8%2F-MSTY7UzyDfI_lJGRVrw%2Fimage.png?alt=media\&token=475da091-573a-43a6-940f-a7e24b4a119a)

To add a new view (absolute or relative), follow the on-screen instruction and right-click to add a view. This will create a new column for you to specify your new view.

![Right-click to add a New View](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MSTP0l1p_TXw5tg9xN8%2F-MSTXwSOxILMaZBcxWXq%2Fimage.png?alt=media\&token=391dcc93-85d2-487b-92ef-233c07279092)

### Absolute Views&#x20;

An absolute view is  an idiosyncratic view for a particular asset. For example, an investor may have a view that domestic bonds will return 7% over the next year with 99% confidence. You can specify when using the Black-Litterman return model in the Views and Confidence dialog

![Example of specifying an absolute view](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MSTP0l1p_TXw5tg9xN8%2F-MSTXOw_iMTQyJhqDLh8%2Fimage.png?alt=media\&token=80a615c9-88a2-4faa-8757-47eac3dd0cce)

The qualifyer **long** and **short** are used to indicate +1 or -1 in an indicator matrix that corresponds to the mathematics as described by the model.&#x20;

$$
\begin{align}
P &= \[0, 0,0, 1, 0, 0, 0] \\
Q&=0.07
\end{align}
$$

For absolute views, you will want to flag the asset that your value specification would apply to with the **long** marker; i.e. select long for the corresponding asset to apply your expected return view value and confidence, and none for other assets.

In the example above, we are only specifying one absolute view corresponding to U.S. bonds (4th asset) producing a non-zero element in $$P$$ .

### Relative Views

Relative views specifies comparative description of an investors outlook for an asset (or group of assets). For example, let's suppose that the investor considers that U.S. stocks will outperform Non-U.S. stocks over the next year by 20% with 75% confidence.

In the WPA, we would configure this by adding a new view (observe the second column below)

![Specifying a Relative View](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MSTakg1R4f2peroUjx5%2F-MSTalLxarCR-1N_ECbZ%2Fimage.png?alt=media\&token=bcfcc908-d2ba-4624-bd1b-fbc3c4cd662f)

The long/short markers are use to indicate the direction of the relative view, i.e. U.S. stocks will outperform relative to Non U.S. stocks.

$$
\begin{align}
P &= \[1, -1, 0, 0, 0, 0, 0] \\
Q&=0.20 \\
\end{align}
$$

### Multiple Views

You can specify as many combination of views as there are number of assets in your case file. The Black-Litterman model will reconcile your combination and specification of views as described by its mathematical model.

### Confidence

The WPA solves for the implied covariance from the confidence specified for each view using the Gaussian probability density function.


# Blend

Blending different expected return models

The WPA provides the option to blend any two expected return models. Users must select Blend Type One and Blend Type Two from the drop down menus in the parameters box.

![Blend Model Parameters](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyT8wxbyKxi_x-9Awv%2F-MEyTQeI4UOxkFS4Nk4A%2Fimage.png?alt=media\&token=bb6b749d-0220-47ac-825c-9d08c2a900a4)

When the Blend column is selected, a Confidence column appears to the left of this column.

![Confidence levels for the Blend Model](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyT8wxbyKxi_x-9Awv%2F-MEyTYn2OXmKWtDZ6YwG%2Fimage.png?alt=media\&token=3296ac50-df83-45cb-ae98-f0c9368b885a)

This confidence level applies to the estimation type which is selected in Blend Type One. For example, if Blend Type One is historical and the Confidence level is 60%, the historical returns will be given a 60% weighting in the blend calculation.

{% hint style="info" %}
Blending two estimation types can help users to develop more throughout estimations by balancing out the pros and cons of different estimation methods.
{% endhint %}


# Estimating Future Value: Arithmetic or Geometric

Why do we use the arithmetic average to estimate expected return (assuming we believe in the historical sample as a good estimator)

We should compound at the arithmetic average if we wish to estimate an investment’s expected value (return). We should compound at the geometric average when we wish to estimate the likelihood that an investment will exceed or fall below a target value.

Consider an investment that has an equal chance of increasing by 25% and decreasing by 5%. There is an equal chance that a dollar invested will grow to $1.25 or decline to $0.94 after one period. The expected value after one period is $1.10 which is equal to (1+arithmetic average of the two possible returns). Subsequently, there are four equally likely outcomes at the end of two periods. See the following diagram for the possible paths of $1.00 investment.

![Binomial Tree of Investment Paths](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyTytichXDsd5W6wy9%2F-MEyUiGKLw7S1qiQy-ZZ%2FbinomialTree.png?alt=media\&token=1530b0cb-0e2d-4199-98dc-4a5ca603efac)

The expected value at the end of the second period is equal to $1.21 which is the probability-weighted outcome.This also corresponds precisely to the quantity (1+arithmetic average of 10%)². If we calculate the geometric average for this example and compound it forward for two periods, we arrive at a terminal value of $1.1875, which does not equal to the expected value.

The expected value assumes that there is an equal chance of experiencing any of the possible paths. A path of high returns raises the expected value over multiple periods more than a path of equal-magnitude low returns lowers it. This disproportionate effect is the result of compounding.


# Multi-goal Optimization

Parametric optimization models in the WPA

## Parametric Utilities

Parametric optimization is a tool which investors can use to construct a portfolio that maximizes expected returns based on absolute and (or) relative risk. We have four optimization objectives that are specific to an investor’s concern with absolute or relative performance.

Mean-variance (MV) optimization is a portfolio construction technique that identifies combinations of assets that offer the highest expected return for a given level of risk. It assumes the investor is indifferent to a portfolio’s tracking error against a benchmark. This is the framework that Harry Markowitz introduced.

Mean-tracking error (MTE) optimization is a portfolio construction technique that identifies combinations of assets that offer the highest expected return for a given tracking error. It assumes that the investor is indifferent to a portfolio’s total volatility.

Mean-variance-tracking error (MVTE) optimization is a portfolio construction technique that maximizes expected return while minimizing variance and tracking error against a benchmark. It is useful to investors who are concerned with controlling both absolute and relative risk.

## Theoretical Foundations

The theoretical foundation of our analysis is based on portfolio theory, which was introduced in 1952 by Harry Markowitz. His innovation, which is sometimes called mean-variance optimization, requires estimates of expected returns, standard deviations, and correlations. With this information, we combine assets efficiently so that for a particular level of expected return the efficiently combined assets offer the lowest level of expected risk, usually measured as standard deviation or its squared value, variance. A continuum of these portfolios plotted in dimensions of expected return and standard deviation is called the efficient frontier. We identify portfolios along the efficient frontier by maximizing a measure of investor satisfaction defined by the following quantity

$$
U\_{MV}(w) = \mu' w - \lambda w' \Sigma w
$$

Some investors also care about relative risk; that is, performance relative to a benchmark. Relative risk is measured as tracking error. Just as standard deviation measures dispersion around an average value, tracking error also measures dispersion, but instead around a benchmark’s returns. It is the standard deviation of relative returns. In this case we identify efficient portfolios by substituting tracking error aversion for risk aversion and tracking error for standard deviation, as shown

$$
U\_{MTE}(w) = \mu' w - \lambda\_{TE} (w-b)' \Sigma (w-b)
$$

In many situations, investors care about both absolute and relative performance. They typically deal with concern about relative performance by employing ad hoc constraints to mean-variance optimization in order to prevent the solutions from deviating too far from the benchmark. We address this dual focus more rigorously by augmenting the definition of investor satisfaction to include both measures of risk explicitly

$$
U\_{MVTE}(w) = \mu' w - \lambda w' \Sigma w - \lambda\_{TE} (w-b)' \Sigma (w-b)
$$

This approach produces an efficient surface in three dimensions - expected return, standard deviation, and tracking error. The efficient surface is bounded on the upper left by the traditional mean-variance efficient frontier. The right boundary of the efficient surface is the mean-tracking error efficient frontier. It comprises portfolios that offer the highest expected return for varying levels of tracking error. The lower boundary of the efficient surface represents combinations of the minimum risk portfolio and the benchmark portfolio.

![The Efficient Surface](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyUxB4RWz0hbaVYoYq%2F-MEyX91iHuR9ZcLsrOaq%2Fefficient%20surface.JPG?alt=media\&token=d7d71535-72c9-49b9-8f9d-c6910e253f97)

The multi-goal optimization approach typically yields an expected result that is superior to constrained mean-variance optimization.

* For a given expected return, it typically produces a portfolio with a lower standard deviation and less tracking error
* For a given standard deviation, it typically produces a portfolio with a higher expected return and less tracking error
* For a given tracking error, it typically produces a portfolio with a higher expected return and a lower standard deviation


# Transaction Costs and Turnover Controls

How to minimize turnover from the current portfolio when constructing an optimal allocation

The Windham Portfolio Advisor allows the specification of a transaction cost vector across all instruments defined in the portfolio. To disregard turnover control, transaction costs are set to zero. This would be the same as constructing and transitioning into the optimal portfolio from an all-cash position.

![Specifying transaction costs](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEyZy4wpA95HvUmoVMH%2F-MEy_vlFYWv9ppLvU5Pk%2Fimage.png?alt=media\&token=248cac25-86f5-4d86-9913-b00b58147a10)

To control turnover from the current portfolio allocations, populate the transaction cost column in the Constraints screen by reviewing the Min Max Bounds tab.


# Risk Aversion

What is the risk aversion parameter?

Risk aversion specifies how many units of expected return we are willing to forfeit in order to decrease risk (variance) by one unit. A higher risk aversion would suggest a conservative investor and would tilt the optimal portfolio away from highly volatile assets.


# Full-Scale Optimization

When higher moments matter

> &#x20;“Full-scale optimization relies on sophisticated search algorithms to identify the optimal portfolio given any set of return distributions and based on any description of investor preferences" [(Adler and Kritzman 2007)](https://link.springer.com/article/10.1057/palgrave.jam.2250042).”

Rather than using summary statistics such as mean, variance, and correlation, full-scale optimization utilizes the full sample of returns based on plausible utility functions. Mean-variance optimization assumes either that returns are normally distributed or that investors have quadratic utility. However, asset returns are not exactly normally distributed in practice, and investors are rarely as averse to upside deviations as downside or prefer less wealth to more wealth.

While both approaches to optimization suffer from estimation error, mean variance optimization also incurs approximation error [(Adler and Kritzman 2007)](http://www.palgrave-journals.com/jam/journal/v7/n5/pdf/2250042a.pdf). While full-scale optimization returns the in-sample optimal portfolio, parametric optimization returns an approximate in-sample optimal portfolio.

Historical returns are used to generate data for full-scale optimization. However, to incorporate an investor’s views regarding expected returns, we adjust the means of the data accordingly. We assume the historical experience for risk since we want to preserve and account for higher moments.

We include three common expected utility functions for Full-Scale optimization:

### Power Utility

![Log Wealth Utility Function](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEzAjBPdK8dwrgmIp0B%2F-MF11je-Wl8VH4NdqIzv%2Fimage.png?alt=media\&token=d433dace-ca37-44d9-90e5-ceb2431a1276)

The most common utility function used is the power utility function. Power utility functions assume a preference for upside deviations and have positive slopes, which reflects a preference for increasing wealth. These utility functions assume that investors prefer to preserve the same percentage allocation to risky assets as their wealth changes.

The power utility function is similar to mean-variance (MV) optimization as it approximates the log-wealth utility by using a quadratic function. Power utility functions are always upward sloping in contrast to the quadratic function which has a turning point.

### Bilinear Utility (Kinked)

![Bilinear Utility Function](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEzAjBPdK8dwrgmIp0B%2F-MF11zVj4sSZYm0BV2KE%2Fimage.png?alt=media\&token=57dfc046-ccc5-4af3-afa6-a662d7a997c0)

An investor might want to maintain a minimum standard of living, or need to maintain a wealth so as not to breach an agreement on a loan. A kinked utility function describes this preference, where it changes abruptly at a specified wealth or return level. This utility function penalizes solutions that breach a given threshold. It is defined by a log-wealth function above the threshold and by a steeper linear function below the threshold return.

### S-Shaped Utility

![S-Shaped Value Function](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MEzAjBPdK8dwrgmIp0B%2F-MF127ocB2m0jlnEGKgX%2Fimage.png?alt=media\&token=be88208f-d6be-4a98-be53-6247257ff0ec)

If an investor must choose between certain gain and an uncertain outcome with a higher expected value he will often choose certain gain. If it is a choice between a certain loss and an uncertain outcome with a lower expected value he will often choose the uncertain outcome. This behavior is captured by an S-shaped value function ([Kahnemann and Tversky 1979](https://www.jstor.org/stable/1914185?seq=1)), where investors are risk-seeking below a certain threshold, and risk-averse above it.

### Video

The following video describes what is Full-Scale Optimization in the Windham Portfolio Advisor

{% embed url="<https://windhamcapital.wistia.com/medias/jrosy6d24e>" %}
Full-scale Optimization
{% endembed %}

&#x20;


# Simulation Methods

Empirical methods for risk management and wealth analysis

![Simulation Configuration Options](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF18p8u5_pgNy0G-S34%2F-MF1BEy7mHBhMRbMylee%2Fimage.png?alt=media\&token=560b26bb-e5ff-4f60-8891-a3d0f472a9c3)

## Monte-Carlo Simulation

The most commonly used simulation method, Monte-Carlo simulation, is a multi-variate normal model to simulate asset returns using the specified return and risk estimation models.

While the number of possible future scenarios (paths) can be controlled by the user, typically the default value of 5,000 is sufficient to generate reasonably stable results without exhausting computer memory (RAM).

The returns of each asset are simulated for each period within the investment time horizon. Using the simulated asset returns, portfolio weights, and an annual rebalancing interval, we derive the portfolio return and level of portfolio wealth. We use this simulated set of empirical data to evaluate risk statistics and wealth analysis.

## Bootstrap Simulation

Bootstrapping is procedure by which new samples are generated from an original dataset by randomly selecting independent cross-sectional observations from the dataset. Bootstrap simulation offers the advantage of using actual empirical experience to simulate future scenarios capturing non-normal characteristics such as fat-tails. Whereas Monte-Carlo allows various specification of risk and return models, the Bootstrap method assumes that the historical risk model prevails.

## Block Bootstrap Simulation

Block Bootstrapping preserves the serial dependence properties of the data by sampling contiguous blocks of cross-sectional returns with replacement (as opposed to independent cross-sectional returns) from the empirical dataset.


# Value at Risk

Value at Risk (VaR) is a method of assessing risk that estimates the worst expected loss over an investment horizon at a given confidence level.

Value at risk uses the expected distribution of returns in order to estimate potential loss. We estimate value at risk from a portfolio’s expected return and standard deviation under the assumption that the portfolio’s returns are log-normally distributed.

Absolute value at risk estimates the dollar value of underperformance of an investor’s portfolio and is a function of the portfolio’s return and risk. Relative value at risk estimates the dollar value of underperformance to a benchmark and is a function of excess return and risk (tracking error).

{% hint style="info" %}
Since Value at Risk is a measure of capital loss, a negative value describes a gain.
{% endhint %}

![Value at Risk for a Model Moderate Portfolio](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1CL31IJg6oaIUGfWJ%2F-MF1CVXO_Vf4K21MuhET%2Fimage.png?alt=media\&token=ff4f7c80-7971-42d2-8a2b-2a14be0ad436)

### Within-Horizon Value at Risk

Asset returns vary throughout an investment time-horizon. Conventional value at risk only estimates total loss only at the end of an investment horizon without accounting for losses throughout the investment horizon. An investor may be very adverse to losses breaching a particular threshold and would therefore be interested in knowing the probability of breaching a certain level of loss at any moment during the horizon.

To estimate within-horizon variability, we use a statistic called “first-passage time probability”, which estimates the probability that an investment will breach a loss within a finite time-horizon. This method estimates the first time a particular path will breach the threshold. Multiple breaches of the threshold are considered only as a single breach.

Within-Horizon Value at Risk gives the worst outcome at a chosen probability from the beginning to any point in time during an investment horizon. There is no closed form (analytic) solution, the Windham Portfolio Advisor uses a numerical approach to solve for this statistic.

## Tail Risk (Conditional Value at Risk)

Value at Risk (VaR) is a forward looking estimate of the amount of money a portfolio could lose over a specified time horizon at a given probability.  Where VaR falls short is its inability to provide insight about how much the portfolio could lose beyond that threshold. The Windham Portfolio Advisor includes a tail risk measure, Conditional Value at Risk, to provide insight into this shortfall.

Conditional Value at Risk (CVaR) is the average loss beyond VaR in the tail.  It is the weighted average of the VaR estimate and the expected losses beyond VaR, it is not a measure of the most extreme loss.  A CVaR estimate will always be more extreme than a VaR estimate.


# Probability of Loss

Probability of loss is used to determine the likelihood of a specified loss or gain over an investment horizon. Instead of evaluating the monetary loss or gain at a given confidence, an investor determines the probability that a specified monetary loss or gain will occur.

Probability of loss uses the expected distribution of returns in order to estimate potential loss. We estimate probability of loss from a portfolio’s expected return and standard deviation under the assumption that the portfolio’s returns are log-normally distributed.

Absolute probability of loss estimates the likelihood of an investor’s portfolio incurring a specified absolute loss. Relative probability of loss estimates the likelihood of under performing the benchmark by a given amount.

![Likelihoods of Loss for a Model Moderate Portfolio](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1D1jE-UWT8e27cBrX%2F-MF1DTHpLzmpjiK8VaOb%2Fimage.png?alt=media\&token=740ae4c0-8f9d-4dc4-b5df-3352fec36e63)

### Within-Horizon Probability of Loss

Asset returns vary throughout an investment time-horizon. Conventional probability of loss only estimates total loss at the end of an investment horizon without accounting for an asset’s losses from the investment inception to end. The conventional approach to risk measurement ignores intolerable losses that might occur throughout an investment period. An investor therefore would be interested in knowing the probability of a certain level of loss at any given moment during the horizon.

![Investment Paths](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1D1jE-UWT8e27cBrX%2F-MF1ERD1h7QZYIDyRPjn%2FwithinHorizonTime.png?alt=media\&token=b6ea91b3-5846-4f2a-9e83-a0d694c9608f)

Each line in the illustration above represents a possible path of an investment of $100 through four periods. The horizontal line at 90% represents the loss threshold of 10%. Only one of the five paths breaches this threshold at the end of the horizon. Thus, the likelihood of a 10% loss,  , is 20%. If instead we consider any point within the time-horizon, four of the five paths breach the investment time-horizon. The likelihood of a 10% loss is 80%.

To estimate within-horizon variability, we use a statistic called “first-passage time probability, “which estimates the probability that the asset will breach the value at risk threshold, L, within a finite time-horizon ([Kritzman and Rich 2002](https://www.jstor.org/stable/4480395?seq=1)).

The likelihood of an end-of-horizon loss diminishes with time; the likelihood of a within-horizon loss never diminishes as a function of the length of the horizon (It increases at a decreasing rate but never decreases). Only the first breach in the threshold is counted; once a path crosses the threshold line it counts toward the probability of the investment breaching the threshold within the time-horizon.


# Risk Budgets

Asset class level risk management

Risk budgets are individual value at risk assignments of assets in an investor’s portfolio measured in isolation from the remaining assets. The total portfolio value at risk is apportioned to its various constituents; this allows an investor to associate a loss measure or threshold with an asset or asset class.&#x20;

For example, the portfolio manager of a pension fund may estimate risk allocations using this methodology to impose a loss threshold mandate on investment managers across each asset class in the fund. If an asset class manager breaches the threshold at the end of the horizon, the portfolio manager may choose to review the asset class exposure. These mandates may be viewed as a part of the fund’s risk control policies.

![Risk Budgets in the Windham Portfolio Advisor](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1LYRieO2Mh9uKMy3E%2F-MF1MkVkr2yfRZP5SK6w%2Fimage.png?alt=media\&token=b3c9667f-bbee-4805-b78b-ebd0192e127f)

### Individual Value at Risk

An intuitive response to the described concept may be to divide the portfolio’s total value at risk proportionally into its constituents. However, since value at risk is a function of standard deviation which is not additive, we cannot dis-aggregate value at risk as such. Instead, we isolate each portfolio component and measure its value at risk and associate it with its dollar value allocation. These risk budget assignments are displayed under the **Asset** column in the risk budgets screen.

### Marginal Value at Risk

The individual value at risk estimates the exposure to loss of the various portfolio components, but it does not necessarily provide insight to the sources of the total portfolio’s exposure to loss. To understand how a portfolio’s component contributes to its total risk, we measure the sensitivity of a portfolio’s value at risk to a small change in the portfolio’s exposure to each component. This methodology is also known as calculating the marginal value at risk among many texts (Jorion 2001).

Marginal value at risk is a function of a portfolio’s total risk and therefore accounts for portfolio diversification and correlation effects that individual risk budgets do not. Two portfolios may have the same individual value at risk for an identical asset class with similar dollar values assigned, but not necessarily the same marginal risk attribution in the context of their respective investment portfolios.

We calculate marginal value at risk using the partial derivative o the portfolio's total value at risk with respect to each component weight and display it under the **% of Portfolio** column in the WPA.

{% hint style="info" %}
For these risk budget measures, the Windham Portfolio Advisor also provides insights to the [within-horizon](https://wpahelp.windhamlabs.com/exposure-to-loss/value-at-risk#within-horizon-value-at-risk) analysis across all instruments.
{% endhint %}


# Value at Risk Sensitivities

Asset class exposure impact on capital at risk

Values at risk sensitivities (or incremental value at risk) are similar to the marginal risk attribution as described in Risk Budgets. While a marginal risk budget measures the change in total value at risk attributed to an increased exposure in a portfolio component, incremental value at risk measures the impact of a reallocation across all asset exposures.&#x20;

In practice, a portfolio manager with a 60% allocation in equities and a 40% allocation in fixed income may wish to evaluate a scenario where 5% of equity funds are reallocated to fixed income. The manager may then review the resultant change in total value at risk as part of a risk sensitivity analysis process. A negative change indicates that the reallocation is risk-reducing relative to the current allocation. A positive change indicates that the reallocation increases risk relative to the current allocation.

![Incremental Value at Risk](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1O2CpKVxTKwRDIXnB%2F-MF1OFmivv8bhX_kbqSm%2Fimage.png?alt=media\&token=340baef3-aea4-4d6e-b909-9c8bad66f76b)

For each asset’s increment iteration, we reevaluate the portfolio’s value at risk measure against the initial portfolio value at risk.

![Value at Risk Sensitivity in the Windham Portfolio Advisor](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1OeXD1CnTKrhA7rob%2F-MF1OqUhmrR-HnCFl9fq%2Fimage.png?alt=media\&token=ed11acde-1b50-4715-b0bf-7d803031fff6)

{% hint style="info" %}
For these risk budget measures, the Windham Portfolio Advisor also provides insights to the [within-horizon](https://wpahelp.windhamlabs.com/exposure-to-loss/value-at-risk#within-horizon-value-at-risk) analysis across all instruments.
{% endhint %}


# Windham Factors

Time series definitions for Windham's set of factors

The Windham Portfolio Advisor includes a number of factor time series for analysis. All factors are denominated in local currency and do not have embedded currency risk. The U.S. investor's currency risk is captured by the WCM Dollar factor, representing the USD against a basket of trade-weighted currencies.

| Windham Factor              | Time Series Construction                                                                      |
| --------------------------- | --------------------------------------------------------------------------------------------- |
| WCM Global Equity           | MSCI AC World (unhedged)                                                                      |
| WCM US Equity               | MSCI USA minus MSCI AC World (unhedged)                                                       |
| WCM Europe Equity           | MSCI Europe (unhedged) minus MSCI AC World (unhedged)                                         |
| WCM Asia Equity             | MSCI Asia (unhedged) minus MSCI AC World (unhedged)                                           |
| WCM Emerging Markets Equity | MSCI Emerging Markets minus MSCI AC World (unhedged)                                          |
| WCM Value-Growth            | MSCI US Prime Market Value minus MSCI US Prime Market Growth                                  |
| WCM Small-Large             | MSCI US Small Cap 1750 minus MSCI US Large Cap 300                                            |
| WCM US Bonds                | Bloomberg Barclays US Aggregate Bonds                                                         |
| WCM Term Structure          | Bloomberg Barclays Treasury Long minus Bloomberg Barclays Treasury Short                      |
| WCM Credit                  | Bloomberg Barclays US Aggregate Long Credit (BAA) minus Bloomberg Barclays US Government Long |
| WCM High Yield              | Merill Lynch US High Yield Master II minus Barclays US Aggregate Long Credit (BAA)            |
| WCM Inflation               | US CPI All Urban (Seasonally-Adjusted)                                                        |
| WCM Inflation Surprise      | US Cleveland Fed Reserve 1Year Inflation Expectations minus WCM Inflation                     |
| WCM Dollar                  | US Dollar Trade-Weighted Exchange Index                                                       |
| WCM Volatility              | CBOE SPX Volatility VIX                                                                       |
| WCM Commodities             | GSCI Commodity Total Return                                                                   |

{% hint style="info" %}
Additional factors can be added as a custom time series. To load custom factors, specify “Factor” as the Asset Class type. Please see also [Managing Custom Time Series](https://wpahelp.windhamlabs.com/managing-custom-time-series#adding-custom-time-series).
{% endhint %}


# Factor Analysis

Regression and time series attribution models in the Windham Portfolio Advisor

Factor analysis is a powerful technique that can identify and measure common sources of risk and return for managers, asset classes, and portfolios. Each factor represents an underlying exposure to the market. Factor analysis goes beyond the asset allocation to identify the underlying exposures to specific sources of risk and return. Factor analysis can be used in a variety of applications including

* Explaining differences in returns across a universe of financial assets
* Forecasting the expected value of asset returns
* Explaining systematic variations and co-movements in returns
* Stress testing asset class returns
* Evaluating managers' exposure to risk factors

![Factor Analysis Parameters](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF1R71ITxr99kxu5tzc%2F-MF1SyG1sEV0l68cjqRB%2Fimage.png?alt=media\&token=97408c92-5f1c-4f57-b7cc-fae4f1adf754)

## Regression Models

Regression can be used to describe the relationship between an investment vehicle and a risk factor or group of factors. The Windham Portfolio Advisor allows for the use of Single, Multi, and Stepwise regression analysis to identify the factor sensitivities of a portfolio.

### Single Factor Model

The single factor Capital Asset Pricing Model (CAPM) is an early example of a single-factor regression model. CAPM specifies that an asset’s expected return in excess of the risk free rate is proportional to the asset’s sensitivity to systematic risk (non-diversifiable risk of the market). The sensitivity term is commonly referred to as beta (or factor loading). A single-factor model assesses the return sensitivity of each vehicle against an individual factor, and repeats the exercise for each factor. The single-factor regression provides the best descriptor of the exposure of the manager to a specific risk factor in isolation.

### Multi-Factor Model

The multi-factor regression uses a set of factors instead of just one to explain the risk and return of a vehicle. Variation in the dependent variable can often be better explained by the variation in a number of independent variables. A multi-factor model identifies the sensitivity of a vehicle’s return against a set of factors. The beta term in a multi-factor model represents the sensitivity of a vehicle to a factor assuming the other factors remain static. The $$R^2$$ value indicates how well the variance is explained by the set of factors. A value of 100% indicates that the variance is entirely explained by the multi-factor model.

### Stepwise Multi-Factor Model

Stepwise regression is an objective variable screening procedure for adding and removing factors from a multi-factor regression based on their statistical significance. The process starts with a single-factor model and then adds additional factors until identifying a model with the highest explanatory power from the available factors. If a factor does not have sufficient explanatory power then it is removed from the model. Stepwise regression is a useful tool for identifying which factors to include when building a factor model and for modeling all the factors simultaneously. The $$R^2$$ value indicates how well the variance is explained by the set of factors. A value of 100% indicates that the variance is entirely explained by the stepwise-factor model.

## Analysis Types

The Windham Portfolio Advisor provides three approaches to review risk factors across portfolios.

### Factor Loadings

Factor loadings (sensitivities) show us the sensitivity of an investment vehicle to each factor.  The regression coefficients are also known as factor loadings.

The $$R^2$$ value indicates how well the variance is explained by the set of factors.  A value of 100% indicates that the variance is entirely explained by the multi-factor model.  The Windham Portfolio Advisor also shows measures of statistical significance (t-statistic) for the factor loadings. A t-statistic value above 2 or below -2 suggests that the factor is statistically significant.

### Risk Decomposition

The Windham Portfolio Advisor separates the variance of each time series into that which can be explained by beta exposures to the factors and that which cannot be explained by the factor model (residual). The “Residual” is the percentage of variance not explained by the multi-factor model. We calculate the risk decomposition from the weighted averages of the managers’ multi-factor loadings and the factors’ standard deviations and correlations.

### Return Decomposition

The software separates the return of each time series into that which can be explained by beta exposures to the factors and returns that cannot be explained by factor exposures (intercept).&#x20;


# Cash Flow Rules

The Windham Portfolio Advisor currently allows for eight types of cash flow rule specification. There is no limit to the number of rules within an analysis.

#### Fixed Nominal Dollar

Allows the anlayst to implement a fixed nominal dollar contribution (or disbursement) over a time horizon at a specified periodicity.

#### Fixed Real Dollar

Allows the analyst to implement a fixed inflation-adjusted dollar contribution (or disbursement) over a time horizon at a specified periodicity.

#### Constant Growth Nominal Dollar

Allows the analyst to implement a contribution (or disbursement) over a time horizon that would be a function of a specified growth rate.

#### Constant Growth Real Dollar

Allows the analyst to implement an inflation-adjusted contribution (or disbursement) over a time horizon that would be a function of a specified growth rate.

#### Constant Index Surplus

Allows the analyst to implement a nominal dollar contribution (or disbursement) indexed against a selected time series instrument over a time horizon at a given cash flow periodicity.

#### Constant Index Surplus Percentage

Allows the analyst to implement a nominal dollar contribution (or disbursement) indexed against a selected time series instrument with an offset surprlus parameter over a time horizon at a given cash flow periodicity.

#### Percent of Portfolio

Allows the analyst to implement dollar contribution (or disbursement) indexed as a percentage of the simulated portfolio value at a given cash flow periodicity. This cash flow rule is typically used by endowments and plans.

#### Smoothed Percent of Portfolio Value

Allows the analyst to implement dollar contribution (or disbursement) indexed as a percentage of the simulated portfolio value over a specified trailing moving average window, with given a cash flow periodicity. This cash flow rule is typically used by endowments and plans.<br>

{% hint style="info" %}
The Windham Labs team can help you generalize and add bespoke cash flow rules that are not defined above for the software platform. Please contact us for this additional service.
{% endhint %}


# Distribution of Wealth

Simulated cash flow analysis for wealth distributions

![Wealth Distribution Analysis](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF17KUl9KggH6HFk2cJ%2F-MF17swCcBho_vUNb6IV%2Fimage.png?alt=media\&token=ed912beb-1d9d-47d9-91c5-0242535e15e2)

Wealth distribution displays the expected value of a portfolio at the specified target time horizon with varying degrees of confidence between 5% and 95%. The Windham Portfolio Advisors allows the analyst to review the simulation results with tables of cash flow schedules, distribution data, and defined rules.


# Target Wealth Probability

An empirical approach to evaluating cash flow goals

![Probability of Achieving Target Wealth](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MF18ItNWo11zFbXZrrq%2F-MF18ch6uWorc7-qilov%2Fimage.png?alt=media\&token=c04dd651-8f9b-42fb-a29e-e4f1eb705822)

Target wealth probability illustrates the probability of achieving a specified target wealth over a given horizon. By selecting the target wealth probability data tab at the bottom of the application, the analyst can also review the probability table at various intervals over the investment horizon.


# Effective Tax Rates

Using tax rates on asset classes in the Windham Portfolio Advisor

The Windham Portfolio Advisor provides a module to help estimate effective tax rates across asset classes. The program allows the analyst to include their own proprietary estimates of effective tax rates.

![Two Methods of Tax Rate Inputs](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MHGoS0jaUKf9itBJBjk%2F-MHGu85xaGq1n9ITeMB8%2Fimage.png?alt=media\&token=8247de25-6cf2-4b69-81cc-911f78146056)

Taxable investors should use after-tax returns and risks as inputs to a Markowitz portfolio construction analysis \[Wilcox et. al. 2006]. Tax-advantaged accounts, such as pension plans and other retirement accounts, may be treated as different asset classes.

## Effective Tax Rate Worksheet

![Effective Tax Rate Worksheet](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MHGoS0jaUKf9itBJBjk%2F-MHGu-wuYwAjWYPLBIJ2%2Fimage.png?alt=media\&token=a67302cf-7f0f-4f2e-a4bc-e1deb91cc28d)

$$
\tau\_n=(O\_n \times \Phi\_n)+(O\_n \times \psi\_n)+(Q \times \delta\_n) + (\gamma \times \upsilon\_n)
$$

The worksheet in the Windham Portfolio Advisor calculates the effective tax rates$$\tau\_n$$ for each asset $$n$$, as a function of ordinary income $$O$$, federal tax rates $$\Phi$$, state tax rates $$\psi$$, qualified dividends tax rates $$Q$$,  qualified dividends $$\delta$$, the long-term capital gains tax rate $$\gamma$$, and unrealized capital gains $$\upsilon$$.

## Estimated Effective Tax Rates

The estimated effective tax rates selection allow the analyst to specify proprietary estimates of effective tax rates across asset classes by editing the grid column, or by importing a vector of numbers from the clipboard / Excel.

![Specify your own tax rates](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MHGzNsj9tNjXfIeXdbi%2F-MHGzn3MKIY2iQADTZjl%2Fimage.png?alt=media\&token=4fbf11b3-fc46-4d63-9906-8cf8c936ada7)

## How Are Tax Rates Applied?

The effective tax rates are applied to expected risk and return estimates across asset classes as specified by the user. To use after-tax estimates, check the *After-Tax Estimate*s in the global ribbon bar.

![Applying tax estimates to asset classes](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MHH--RqvWcxXVtH0A0s%2F-MHH-qbVn2hW2KAQi7tK%2Fimage.png?alt=media\&token=d5d7dd46-4045-43c1-8dab-81a6d0b885c4)

Effective tax rates specified on the *Define Taxes* screen are applied to the expected returns $$E\[R]$$ and risk $$E\[\sigma]$$ of each asset class by discounting its pre-tax estimates:

$$
E\[\hat{R}]\_n=(1-\tau\_n) E\[R]\_n
$$

$$
E\[\hat{\sigma}]\_n=(1-\tau\_n) E\[\sigma]\_n
$$

Subsequently, the after-tax estimates of expected return and risk for each asset class are used for portfolio construction, summarizing portfolio statistics, estimating exposure to loss, and as simulation inputs for risk management and cash flow analysis.

For a practical application on taxes in asset allocation, please see

{% embed url="<https://insights.windhamlabs.com/insights/asset-allocation-in-taxable-portfolios>" %}
Application of Effective Tax Rates in Asset Allocation
{% endembed %}

## References

Wilcox, J., Horvitz, J., and diBartolomeo, D. (2006). *Investment Management for Taxable Private Investors*. The Research Foundation of CFA Institute.


# Shadow Assets, Shadow Liabilities, and Illiquidity

Learn how to construct a portfolio to account for illiquidity in the Windham Portfolio Advisor.

Investors rely on liquidity to implement strategic asset allocation decisions, rebalancing decisions, and other portfolio construction processes to meet demands for cash, etc.

To account for the impact of liquidity, investors should attach a shadow asset to liquid asset classes and a shadow liability to illiquid asset classes in a portfolio. This modeling approach enables investors to use liquidity to increase a portfolio's expected utility while accounting that illiquidity subverts from preserving a portfolio's expected utility.

These shadow allocations allow investors to address illiquidity within a single, [unified framework](https://doi.org/10.3905/jpm.2013.39.2.019) of expected return and risk.

{% embed url="<https://doi.org/10.3905/jpm.2013.39.2.019>" %}
Journal of Portfolio Management, Vol. 39, No. 2
{% endembed %}

In the Windham Portfolio Advisor, we can structure the use of shadow assets and shadow liabilities similar to how we would think about overlays.

## Adding a Shadow Asset and Shadow Liability Instrument

Once you have selected the core asset classes in your portfolio, you can add proxy instruments to represent a Shadow Asset and Shadow Liability. In our example, we simply pick two unused cash instruments as proxies for these shadow instruments.

![Adding shadow asset and shadow liability instruments](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtFALgy-_z0Gpcpz7i%2F-MZtGfz7M2QQUYk6a7Oi%2Fimage.png?alt=media\&token=09872a85-12bd-4d9f-90b6-05fb76f3061e)

{% hint style="info" %}
Use any instrument in our database to proxy shadow instruments. Their time series data become irrelevant as typically in these analyses, we would be using views to document expected returns, risk, and correlation. Underlying data of the shadow proxies are irrelevant.
{% endhint %}

Once these proxies are added, customize their display name to notate on screen that they would serve as placeholders (proxies) for a shadow asset and a shadow liability in the portfolio.

#### Classify shadow instruments as Overlay

Next, we would need to define the shadow asset and shadow liability instruments as an *Overlay* in the Define Portfolios screen. Unlike assets, overlay instruments do not require funding (think of forward or futures) so the optimizer does not consider this as part of the sum of weights constraint.

![](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtHmycZQfvspchBqfp%2F-MZtIx2041QRr1AhefJH%2Fimage.png?alt=media\&token=8ee2a723-e125-4be6-be7a-c94889467938)

## Expected Return, Risk, and Correlations

In the risk and return screen of the WPA, enter your estimates of expected return and risk for the shadow asset and shadow liability as views. We can assume that correlation coefficients for the shadow asset and shadow liability are zero.

For the known asset classes, you can use one of our models to copy estimates over into the views column or import your own!

## Using Optimization Constraints to Define the Framework

We would have to define groups and constraints to describe the mathematical relationships between asset classes, the shadow asset, and the shadow liability.

### Define Groups

In the Constraints screen, we will need to define a few groups to reflect the analytical framework.

![Start by defining groups in the Constraints screen](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtFALgy-_z0Gpcpz7i%2F-MZtFmtYxbpaS3rg1cbV%2Fimage.png?alt=media\&token=38beca14-0807-49a9-808b-849177fcd1f9)

We would need to define the following groups

| Group              | Constituents                                                                                                                                  |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Liquid Assets      | <p>U.S. Equities, Foreign Developed Market Equities, Emerging Market Equities, <br>Treasury Bonds, U.S. Corporate Bonds, and Commodities.</p> |
| Illiquid Assets    | Real Estate                                                                                                                                   |
| Shadow Asset       | Shadow Asset                                                                                                                                  |
| Shadow Liability   | Shadow Liability                                                                                                                              |
| Shadow Instruments | Shadow Asset, and Shadow Liability                                                                                                            |

Defining a group is as simple as following the wizard steps on the Constraints screen. For example, to define a group of Liquid Assets

1. Select *Manage a group of assets*
2. In the *Define a group* text input bar, enter a group name: Liquid Assets
3. Select the new group in the list, and :heavy\_check\_mark:check the corresponding instruments on the right panel that would be a part of that group.

![Defining the necessary groups](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtKn3KmwwFLxko4yBz%2F-MZtM87xZ83ztlttDt2y%2Fimage.png?alt=media\&token=a499d9fe-71a4-4d54-81b7-b9f15971be9b)

You can repeat this exercise for the groups outlined in the table above.

### Setting up the Constraints

Next, we will need to define a few constraints to set up the shadow liquidity framework. We would need to specify the following&#x20;

$$
\begin{aligned}
\text{Allocation to Liquid Assets}&=\text{Allocation to Shadow Asset} \\
\text{Allocation to Illiquid Assets}&=\text{Allocation to Shadow Liability}
\end{aligned}
$$

These relationships are defined as constraints in an optimization framework. The constraint equations above can be specified by creating group ratio constraints and following the on-screen fields. You can repeat this for illiquid assets after adding the first liquid assets relationships.

![Example of creating the relevant group ratio constraint](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtP0RdzsNRMdZ4LPGu%2F-MZtPPFuhP7FjYD0D-D-%2Fimage.png?alt=media\&token=5e15d305-a39c-41bf-8ef1-ab7b072d5b53)

Finally, we would need to specify that the allocation to the shadow asset and shadow liability must equal to the funding level of the portfolio. Assuming that we are working with a fully-funded long-only portfolio (allocations sum to 100%), we would need to specify the following relationship

$$
\text{Allocation to Shadow Asset}=1.00 - \text{Shadow Liability}
$$

Or, to put it simply, Shadow Instruments = 100%. Specify this using a group constraint for the group Shadow Instruments as defined earlier.

Our collection of constraints to reflect these relationships would look like

![Summary of constraints for modeling liquidity](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtP0RdzsNRMdZ4LPGu%2F-MZtQZEF0ZjPOSkZTpVP%2Fimage.png?alt=media\&token=1aaece26-42b9-48f8-b850-fbc6b0112e8f)

## Optimize

Now, we are ready to optimize! Head over the Parametric Optimization screen and construct your portfolio. The outcomes of the optimizations would now account for liquidity.

![Optimal Allocations accounting for Liquidity](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEd8w0azNaE8v7NnoDC%2F-MZtJc7QD2M_WqkD2v4G%2F-MZtKZc24dGErGiogn67%2Fimage.png?alt=media\&token=b6ac7164-98b1-4e5f-995a-170fe08ac8be)

## Further Reading

A good point of departure for understanding how to account for illiquidity and modeling the expected return and risk of shadow assets and liabilities, please refer to the following sources literature:

1. W. Kinlaw, M. Kritzman, D. Turkington. 2017. "Illiquidity," in A Practitioner's Guide to Asset Allocation, Wiley Finance.
2. W. Kinlaw, M. Kritzman, D. Turkington. 2013. "Liquidity and Portfolio Choice: A Unified Approach, " Journal of Portfolio Management, Vol. 39, No. 2
3. A. Lo, C. Petrov, and M. Wierzbicki. 2003. "It's 11pm - Do You Know Where Your Liquidity Is? The Mean-Variance Liquidity Frontier," Journal of Investment Management, Vol. 1, No. 1.
4. P.A. Samuelson. 1998. "Summing Up on Business Cycles: Opening Address," in Beyond Shocks: What Causes Business Cycles. Federal Reserve Bank of Boston.


# Asset-liability Optimization

Learn how to think about asset-liability matching analysis in portfolio construction.

Investors who manage portfolio assets from a surplus perspective often use asset-liability optimization. This framework is simply a variation of the theoretical foundations used in asset-only optimization.&#x20;

We consider a fund's liabilities as an embedded short position with a weight of -100%, which corresponds to a funding ratio of 1. Therefore, all optimal portfolios are derived in terms of its surplus efficiency. Unless the liabilities are independent of each of the assets in the portfolio, the asset weights that form the portfolios along the efficient frontier net of liabilities will differ from those that we obtain when we ignore liabilities. This fact, precludes us from approaching portfolio optimization sequentially.

In the Windham Portfolio Advisor, we can set up a case file to perform asset-liability optimization intuitively.

## Adding a Liability Instrument

Suppose we have a portfolio of U.S. stocks and U.S. bonds. Add the fund's proxy for the liability instrument, in this example we will use U.S. inflation-linked Treasuries as our liability instrument.

{% hint style="info" %}
You can extend the framework to include more than one liability instrument, in this example we consider a single instrument.
{% endhint %}

![Illustrative example](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEd8w0azNaE8v7NnoDC%2Fuploads%2FQgsNU4t4WCMH4NRdw3aN%2Fimage.png?alt=media\&token=2388c1c8-459c-422d-9c9a-e40104874cd1)

#### Classify liability instruments as Overlay

Next, we would need to define the liability instrument as an *Overlay* in the Define Portfolios screen. Unlike assets, overlay instruments are not considered by the optimizer when enforcing the sum of weights portfolio constraint.

![Set your liability instrument as an Overlay.](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEd8w0azNaE8v7NnoDC%2Fuploads%2FepSy658XQOBpkRNxIsnm%2Fimage.png?alt=media\&token=8f5da980-cee4-4907-a2b7-7fa9a21bfaee)

## Expected Return, Risk, and Correlations

Select and configure your return and risk models on the respective screens in the WPA.

## Using Optimization Constraints to Define the Asset-Liability Framework

To modify an asset-only optimization framework to include liabilities, we would need to add the liabilities instrument as a negative asset. In this example for a fully-funded plan, we specify the lower and upper bound constraints for the optimizer to -100% as shown below in the Constraints screen.

![Set liability instrument(s) as a negative fixed allocation.](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEd8w0azNaE8v7NnoDC%2Fuploads%2FjC1DjVufT7n5VxnDagsr%2Fimage.png?alt=media\&token=15c6b3ad-6856-4351-a8d8-507be6c16724)

{% hint style="info" %}
If a fund is underfunded by 5%, then we would specify the embedded short position with a weight of -105% instead; or if a fund is overfunded by 5%, then specify the embedded short position with a weight of -95%.
{% endhint %}

Other constraints and elements of the optimization set up would be similar to that of an asset-only exercise.&#x20;

## Optimize

Now, we are ready to optimize. Head over the Parametric Optimization screen and construct your portfolio. The outcomes of the optimizations would now account for the liability instrument (or portfolio).

![Asset-liability optimal portfolio.](https://2662147689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEd8w0azNaE8v7NnoDC%2Fuploads%2FZYPvDXcWHYSBadV9NaQP%2Fimage.png?alt=media\&token=94d34ecb-2d7b-498e-b901-dbc8a5b22d44)

Results in subsequent exposure to loss and risk budget screens now describes its analytics as a surplus of liabilities.


