MATLAB 도움말 센터
Display views for entropyViews object
entropyViews
Since R2026b
showViews(obj)
showViews(obj,viewNames)
showViews(obj) displays information about all views associated with the entropyViews object obj.
obj
example
showViews(obj,viewNames) displays information about the views specified by viewNames.
viewNames
collapse all
Display information about all views of 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");
Display information about all views.
View: BullishSPX Type: Mean Variable: SPX Constraint: Mean >= 0.1 Relation: GreaterThan View: AAPLTarget Type: Mean Variable: AAPL Constraint: Mean = 0.12 Relation: EqualTo View: LowVolMSFT Type: Volatility Variable: MSFT Constraint: Volatility <= 0.1 Relation: LessThan
Display information about one specific view of an entropyViews object.
Display information about the BullishSPX view.
BullishSPX
showViews(obj,"BullishSPX")
View: BullishSPX Type: Mean Variable: SPX Constraint: Mean >= 0.1 Relation: GreaterThan
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
deleteViews
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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의