MATLAB ヘルプ センター
Delete views from entropyViews object
entropyViews
Since R2026b
obj = deleteViews(obj,viewNames)
obj = deleteViews(obj,viewNames) removes the views specified by viewNames from the entropyViews object obj.
obj
viewNames
example
collapse all
Delete a view from an entropyViews object.
Create a multivariate empirical distribution, Data, of returns for three assets.
Data
rng(13) numScenarios = 100000; mu = [0.08 0.10 0.06]; sigma = [0.15 0.20 0.12]; corrMatrix = [1.0 0.6 0.3; 0.6 1.0 0.4; 0.3 0.4 1.0]; covMatrix = diag(sigma)*corrMatrix*diag(sigma); Data = mvnrnd(mu,covMatrix,numScenarios);
Create an entropyViews object and three views from the returns.
obj = entropyViews(Data,VariableNames=["SPX" "AAPL" "MSFT"]); obj = setMeanViews(obj,"SPX",">",0.1,ViewNames="BullishSPX"); obj = setMeanViews(obj,"AAPL","=",0.12,ViewNames="AAPLTarget"); obj = setVolatilityViews(obj,"MSFT","<",0.1,ViewNames="LowVolMSFT");
Delete the BullishSPX view.
BullishSPX
obj = deleteViews(obj,"BullishSPX")
obj = entropyViews with properties: DistributionData: [100000×3 double] PriorProbabilities: [100000×1 double] Views: ["AAPLTarget" "LowVolMSFT"] VariableNames: ["SPX" "AAPL" "MSFT"]
Entropy views object, specified as an entropyViews object.
Names of views, specified as a string vector.
Entropy views object, returned as an entropyViews object. Use the object functions to manage views and compute posterior probabilities.
Introduced in R2026b
Portfolio
setMeanViews
setVolatilityViews
posteriorProbabilities
showViews
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
ヨーロッパ
アジア太平洋地域
最寄りの営業オフィスへのお問い合わせ