# portrand

Randomized portfolio risks, returns, and weights

## Syntax

## Description

`[`

returns the risks, rates of return, and weights of random portfolio configurations.
Portfolios are selected at random from a set of portfolios such that portfolio
weights are nonnegative and sum to 1. The sample mean and covariance of asset
returns are used to compute portfolio returns for each random portfolio.`PortRisk`

,`PortReturn`

,`PortWts`

] = portrand(`Asset`

)

**Note**

An alternative for portfolio optimization is to use the `Portfolio`

object for
mean-variance portfolio optimization. This object supports gross or net
portfolio returns as the return proxy, the variance of portfolio returns as
the risk proxy, and a portfolio set that is any combination of the specified
constraints to form a portfolio set. For information on the workflow when
using `Portfolio`

objects, see Portfolio Object Workflow.

## Input Arguments

## Output Arguments

## References

[1] Bodie, Kane, and Marcus.
*Investments.* Chapter 7.

## Version History

**Introduced before R2006a**