estimateAssetMoments
R2026bEstimate mean and covariance of asset returns from data
Description
estimates the mean and covariance of asset returns from data for a obj = estimateAssetMoments(obj,AssetReturns) object. For details on the workflow, see
Portfolio Object Workflow.Portfolio
estimates the mean and covariance of asset returns from data with additional
options specified by one or more name-value arguments. For example,
obj = estimateAssetMoments(___,Name=Value)estimateAssetMoments(obj,AssetReturns,Probabilities=p)
estimates the weighted mean and covariance using the probability weights in
p.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Algorithms
The estimateAssetMoments function estimates the mean and
covariance of asset returns using one of two methods, depending on whether you specify
the Probabilities name-value argument. In the following formulas,
n is the number of observations, and x and
y each represent the return series of an asset.
When you do not specify
Probabilities, the function estimates the mean and covariance using the standard sample estimators:Sample mean:
Unbiased sample covariance:
When you specify
Probabilitieswith probability vector p, the data and probabilities fully specify an empirical distribution. The function computes the mean and estimates the covariance using these formulas:Distributional mean:
Population covariance: