xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

資源簡介

以最優的窗寬做核密度估計,誤差小,比matlab自帶程序精確。

資源截圖

代碼片段和文件信息

%%
%[...]?=?copulafit(...‘alpha‘alpha,求copula參數95%置信區間內的值
[paramhatparamci]?=?copulafit(‘Frank‘[U2(:)?V2(:)])?;
CF=copulacdf(‘Frank‘[U2(:)?V2(:)]-0.0643);
%%
%copula繪圖
%原始
load?stockreturns
x?=?stocks(:1);
y?=?stocks(:2);
scatterhist(xy)
%轉化為均一函數
u=?ksdensity(xx‘function‘‘cdf‘);
v?=?ksdensity(yy‘function‘‘cdf‘);
scatterhist(uv)
xlabel(‘u‘)
ylabel(‘v‘)
%Fit?a?t?copula:
[Rhonu]?=?copulafit(‘t‘[u?v]‘Method‘‘ApproximateML‘);

r?=?copularnd(‘t‘Rhonu1000);
u1?=?r(:1);
v1?=?r(:2);

scatterhist(u1v1)
xlabel(‘u‘)
ylabel(‘v‘)
set(get(gca‘children‘)‘marker‘‘.‘)

%Transform?the?random?sample?back?to?the?original?scale?of?the?data:
x1?=?ksdensity(xu1‘function‘‘icdf‘);
y1?=?ksdensity(yv1‘function‘‘icdf‘);

scatterhist(x1y1)
set(get(gca‘children‘)‘marker‘‘.‘)



?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????857??2014-07-31?15:46??核函數求窗寬\KSDENSITY.m

?????目錄??????????0??2014-08-03?16:23??核函數求窗寬

-----------?---------??----------?-----??----

??????????????????857????????????????????2


評論

共有 條評論