Professional Documents
Culture Documents
Portfolio Allocation
Portfolio Allocation
Author
Decisioneering, Inc.
Summary
An investor has $100,000 to invest in four assets. The source of uncertainty in this problem is the annual return of each
asset. The more conservative assets have relatively stable annual returns, while the least conservative asset has higher
volatility. The decision problem is to determine how much to invest in each asset to maximize the total expected annual
return while maintaining the risk at an acceptable level and keeping within the minimum and maximum limits for each
investment.
Note: This example is presented as the second tutorial in the Getting Started chapter in the OptQuest User Manual.The
tutorial provides more details than this description. Make sure not to confuse this example with the other portfolio
examples.
Discussion
Below is a list of the assets’ expected annual returns and the minimum and maximum amounts the investor is
comfortable allocating to each investment.
This model also includes one Crystal Ball forecast, shown in light blue. Forecasts are equations, or outputs, that you
want to analyze after a simulation. During a simulation, Crystal Ball saves the values in the forecast cells and displays
them in a Forecast Chart, which is a histogram of the simulated values. In this example, you want to analyze the Total
expected return of the portfolio. To view a forecast with Crystal Ball, highlight the cell and either select Define Forecast
from the Define menu or click on the Define Forecast button on the toolbar.
After you run a simulation, you will see the Total Expected Return forecast chart. What is the certainty that you will see
a return of $6,500 (your original forecast)? How likely are you to lose money on your portfolio?
Using Crystal Ball, cont.
When you run a simulation, Crystal Ball generates a random number for each assumption (based on how the
assumption has been defined) and places that new value in the cell. Excel then recalculates the model. You can test
this by selecting Single Step from the Run menu or clicking on the Single Step button on the toolbar.
After you run a simulation, you will see the Total Expected Return forecast chart. What is the certainty that you will see
a return of $6,500 (your original forecast)? How likely are you to lose money on your portfolio?
To view which of the assumptions had the greatest impact on the forecast, use the Sensitivity Chart. Which of the
annual returns causes the most variation in the Total Expected Return forecast? Was this obvious from the assumption
definitions?
Using OptQuest
Now that you have run at least one simulation, you can begin to address optimization using OptQuest. So far, you
have run simulations where you invested an equal amount in each fund. If you want to change the invested amounts,
you can switch them and run a new simulation. With more than two funds, however, this quickly becomes tedious. With
OptQuest, you can run through hundreds of strategies in far less time. In this model, you will use OptQuest to
determine how much to invest in each asset to maximize the total expected annual return while maintaining the risk at
an acceptable level and keeping within the minimum and maximum limits for each investment.
OptQuest requires decision variables, which are model variables over which you have control. In this model, you will
need to first define these decisions, which are the four investment amounts for the funds. To define a decision variable,
either select Define Decision from the Define menu or click on the Define Decision button on the Crystal Ball toolbar.
Use the amounts listed in the table in the Discussion section above, and set the Variable Type to Continuous. Once
defined, each decision variable is colored yellow and is marked by an Excel note (mouse over the cell to view the
note).
Start OptQuest from the CBTools menu. Once in OptQuest, use the File > Open option to open the Portfolio
Allocation.opt settings file in the Examples > OptQuest Files folder. Use the OptQuest Wizard, either from the toolbar
or from the Tools menu, to view the settings for the optimization. The problem has one constraint, one requirement,
and one objective: to maximize the mean Total Expected Return forecast. The constraint in this problem is your
budget, which is a maximum investment of $100,000. You do not want to optimize portfolios with budgets larger than
this amount, so you need to define a linear constraint that is as follows:
Money Market fund + Income fund + Growth and Income fund + Aggressive Growth fund <= 100000
You are also concerned about controlling the variability of the solution to minimize your risk. To
reduce the uncertainty of returns for the portfolio, while still attempting to maximize the expected return, you can set
requirement in the Define Objective window. Using Edit > Duplicate, you can create a second Total Expected Return
forecast as a requirement, where the standard deviation of the forecast must be below $8,000.
Run the optimization. For each optimization, OptQuest selects a new value within the defined range of the decision
variable (for example, $10,000) and runs a Crystal Ball simulation (for example, 2,000 trials). OptQuest then saves the
mean Total Expected Return value and checks to see if the resulting forecast complies with the risk requirement. If the
requirement is satisfied, the result is "feasible" and considered good. OptQuest ignores infeasible results. OptQuest
then runs another simulation on a new set of decision variables. OptQuest repeats this process, constantly searching
for the highest feasible mean Total Expected Return until it either works through every possible solution or reaches the
end of the set running time.
Using OptQuest, cont.
As OptQuest runs, it uses multiple metaheuristic methods and techniques to analyze past results and improve the
quality and speed of its process. You can watch OptQuest's progress through the Performance Graph, which shows a
flattened line as it converges to an optimal result.
What is the best allocation strategy that results in the highest mean total expected return? Once OptQuest is finished,
you can copy the optimal results back to your spreadsheet with the Copy To Excel option in the Edit menu. Your
spreadsheet now displays the optimal solution, and Crystal Ball displays the forecast chart for the simulation from the
best optimization. You can use OptQuest's Solution Analysis tool to review the other portfolio allocations that resulted
in high Total Expected Return values.
The tutorial in the Getting Started chapter in the OptQuest User Manual includes practice exercises for this model
using correlation, precision control, and a varying number of trials.
Step 1 = Include all the assumptions in the correlation matrix by moving all the assumptions from
the Available Assumptions field to the Selected Assumptions field
Step 2 = Location Of Matrix set to Create A Temporary Correlation Matrix On A New Worksheet,
Orientation set to Upper Triangular Matrix
After Step 2, the tool creates a temporary matrix in a new workbook. You can enter coefficients and click on the Load
The Matrix button to enter them into the defined assumption definitions.
More information on the Correlation Matrix tool is available in the Crystal Ball User Manual and on the Decisioneering
Web site (http://www.crystalball.com).
Additional Resources
If you have Crystal Ball installed, you can run a simulation on this model. If you do not have a copy of Crystal Ball, you
can download a free, seven-day evaluation version from the Decisioneering Web site:
http://www.crystalball.com/downloadform.html
For questions concerning this model or the Crystal Ball software, contact the closest office listed on our Web site
(http://www.crystalball.com) or send an email to sales@crystalball.com. If you have a technical problem with this
model, please contact our support Help Desk: helpdesk@crystalball.com.
is the annual return of each
onservative asset has higher
ze the total expected annual
d maximum limits for each
= 100000
To
ected return, you can set
nd Total Expected Return
00.
s from
heet,