nPoints=200
tailFraction=0.1
OBJ=cell(nStocks,1)
for i=1:nStocks
OBJ{i}=paretotails(residuals(:,i),tailFraction,1-tailFraction,'kernel')
end
??? Error using ==> paretotails.paretotails>init at 177
Error calling CDFFUN function '@(x)ksdensity(x,'function','cdf')'.
Error in ==> paretotails.paretotails>paretotails.paretotails at 77
[lo,up,X,F,pLower,pUpper,qLower,qUpper] = init(x,pLower,pUpper,cdfFunc);
Caused by:
Error using ==> mtimes
Inner matrix dimensions must agree.
请问大家这是什么原因