亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? regrescomp.m

?? 是隨機(jī)過(guò)程中時(shí)間序列分析作業(yè)
?? M
字號(hào):
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                                       %%  regrescomp.m                                         %%                                                       %%       P. Abry and D. Veitch                           %%                                                       %%   17/07/97                                            %% DV, Melb  15 May 2000                                 %% DV, Melb, 10 Sep 2004:  robustified j1,j2 choice      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%--- Routines used directly:% rzeta.m% psi.m% rsynthond1.m% ffteur.m%% regrescomp.m estimates alpha, cfC, C and cf using the weighted linear regression with the bias "modification".%          It fully implements the Joint estimator paper, and calculates%          confidence intervals and variances from expressions, not from data%%  Input:   regu:  number of vanishing moments (of the Daubechies wavelet).%           nj:   the vector[1..scalemax] of the actual number of coefficients averaged at octave j. (these%                  numbers are not powers of two, even if the length of the data is, because of the border%                  effects at each scale). %           muj:   the vector[1..scalemax] of the average of the squared wavelet coefficients%     scalemax  is NOT necessarily the largest octave such that there are still some coefficients left. In addition%             extra octaves are removed on the right before passing them to this routine, if the number of coefficients is%             equivalent to less than twice the "length" of the wavelet used.%               %            j1:   the lower limit of the scales chosen,  1<= j1 <= scalemax-1  %            j2:   the upper limit of the octaves chosen, 2<= j2 <= scalemax%            printout:  if = 1  then printout a log-log plot plus the regression line and +- 2*std(muj) around each point%           %  Output:  alphaest:   estimate of the spectral parameter  alpha%           cfCest:     estimate of the intermediate quantity  cfC%           cfest:      estimate of the second LRD parameter  cf = cfC / C%           Cest:       estimate of the wavelet dependent integral C(alpha) using the estimated alphaest%           Q:          the goodness of fit measure, the Chi2 based probability that the null hyp is true given the%                       observed data over the scale range  (j1,j2)%           vjj:       the coefficients for the intercept of the weighted linear fit, for use in the testing of%                       the safety of the scales used in the cfC calculation %%%        Covariance matrices for the weighted estimators, under the hypotheses of Gaussianity and complete decorrelation.%           Valpha:        Exact variance of alphaest  %           VcfC:          Estimator of exact variance of cfC   (biased, ~ square of cfC)%           CoValphacfC:   Estimator of exact covariance of (alphaest,cfCest)  (unbiased! linear fn of cfC)%           Vcf:           Estimator of approximate variance of cf                   %           CoValphacf:    Estimator of approximate covariance of (alphaest,cfest) %%        unsafe:       the number of scales which were found to not pass the test for the existence of the variance of cfC.%           yj:            The dependent variables of the regression%           varj:          The variances of yj%           aest:          The intercept of the linear regression, a-estimate % %   *** Note,  j   ranges over 1..scalemax    nj, muj, yj, varj  etc%              jj  ranges over j1..j2         njj,mjj,yjj,varjj  etc%%  function [alphaest,cfCest,cfest,Cest,Q,Valpha,VcfC,CoValphacfC,Vcf,CoValphacf,unsafe,yj,varj,aest]=regrescomp(regu, nj, muj,j1,j2,printout);%%-----------function [alphaest,cfCest,cfest,Cest,Q,Valpha,VcfC,CoValphacfC,Vcf,CoValphacf,unsafe,yj,varj,aest]=regrescomp(regu, nj, muj,j1,j2,printout);%%  Internal parametersfsize = 14;      % set font size (20 for papers)%--- Selection confidence interval type ICtype = 1;        % Gaussian onlyICtype = 2;        % Data based onlyICtype = 3;        % Both%--- Constants precis_zeta = 1e-4 ;precis_psi  = 1e-4 ;loge  = log2(exp(1)) ; %--- Variablesscalemax = length(muj);j2 = min(j2,scalemax);   % make sure j2 is not chosen too largeif (j1>=j2)    fprintf(' ** Regrescomp:  scale range given: (%d,%d) is only 1 wide! impossible to estimate\n',j1,j2);   alphaest=0; cfCest=0; cfest=0; Cest=0; Q=0;   Valpha=0; VcfC=0; CoValphacfC=0; Vcf=0; CoValphacf=0; unsafe=0; yj=0; varj=0; aest=0;   return;endjj = j1:1:j2;J = length(jj); njj  =  nj(jj);mujj = muj(jj);%--- Compute the bias correction for all octavesgj = psi(nj/2,precis_psi) * loge - log2(nj/2) ;% -- Calculate the random variables of the linear regression for all% octaves, then for  j1..j2%  muj%  gjyj = log2(muj) - gj ;yjj = yj(jj) ; %--- Compute la variance des yj = log(muj) - g(j)  for all octaves, then for  j1..j2varj = loge^2 * rzeta(fix(nj/2),precis_zeta) ;  varjj = varj(jj) ;%--- Fourier transform of the wavelet  (used in the calculation of Cest)nbvoies3=6;wsf=2;nbpoints2=16384;[approx,tapprox,napprox]=rsynthond1(regu,wsf,nbvoies3);[f1,f2]=ffteur(approx,nbpoints2,2^nbvoies3);fe=f2(2)-f2(1);fr=f2(1:nbpoints2/2);fr=-fliplr(fr);ft=f1(1:nbpoints2/2);ft= fliplr(ft);%--- Compute the coefficients for octaves  j1..j2S0 = sum(1./varjj) ;S1 = sum(jj./varjj) ;S2 = sum(jj.^2./varjj) ;wjj = (S0 * jj - S1) ./ varjj / (S0*S2-S1*S1) ; vjj = (S2 - S1 * jj) ./ varjj / (S0*S2-S1*S1) ;%%  Test la calculation des vjj et des wjj%sum(jj.*wjj)%sum(vjj)%sum(wjj)%sum(jj.*vjj)%   Select those octaves which are safe for the cfC calculation (those where the variance exists)%   Careful, these indices should only be applied to vectors which are already of the form jj = j1..j2jj_safe  = find( (njj+4*vjj)  > 0.02);      if length(jj)~=length(jj_safe)       fprintf('\n*** Regrescomp: range choice (j1,j2)=(%d,%d) not safe for cfC and cf, regression will have to be redone!).\n',j1,j2);      %fprintf('Estimation for alpha is reliable however.   Test on octaves gives: nj+4*vjj = \n\n');    njj+4*vjj;    unsafe = length(jj) - length(jj_safe);else    unsafe=0;end       %  diagnostics%jj%jj_safe%vjj%find( (njj+4*vjj) > 0.02)%  estimate  a, b=alpha, and C alphaest  = sum(wjj .* yjj ) ;aest      = sum(vjj .* yjj ) ;cfCest    = prod(mujj.^vjj ) ;Calpha = alphaest;if (alphaest<0)  %fprintf('**  alpha negative with (j1,j2)=(%d,%d), set to 0 for Cest calculation \n',j1,j2)  Calpha=0; endif (alphaest>1)  %fprintf('**  alpha > 1 with (j1,j2)=(%d,%d), set to 1 for Cest calculation \n',j1,j2)   Calpha=1;endCest      = 2*sum(fr.^(-Calpha)  .* (abs(ft)).^2)*fe ;        % use the wavelet shape calculation here%--- corrective multiplicative bias factor for cfC%pmu = exp( sum( gammaln(njj(jj_safe)/2)  +  vjj(jj_safe).*log(njj(jj_safe)/2)  -  gammaln(vjj(jj_safe) + njj(jj_safe)/2)  )) ;p = exp( sum( gammaln(njj(jj_safe)/2) + vjj(jj_safe).*log(njj(jj_safe)./(2.^(1-gj(jj_safe)))) - gammaln(vjj(jj_safe) + njj(jj_safe)/2) ));pmu = p * 2^(-sum(vjj.*gj(jj)));%  estimate  cfC and  cf.cfCest  = cfCest*pmu;cfest   = cfCest  / Cest ;%  Calculation of the theoretical Cov function of (alphahat,cfChat), and the estimate for (alphahat,cfhat)%  using the estimated values of the (alpha,cfC,cf) % ####   alphaValpha = sum(varjj.*wjj.*wjj);% #####  cfCVcfC = cfCest^2*(exp( sum( gammaln(2*vjj(jj_safe)+njj(jj_safe)/2)+gammaln(njj(jj_safe)/2)-2*gammaln(vjj(jj_safe)+njj(jj_safe)/2) ))-1);CoValphacfC  =  cfCest * loge * sum(wjj(jj_safe) .* ( psi(njj(jj_safe)/2+vjj(jj_safe),precis_psi)-psi(njj(jj_safe)/2,precis_psi)) ) ;% #####  cf%  cf1est = cfCest/C1(alphaest) = g(x,y) = x*h(y)  ( here x== cfC, y==alpha )%  Calculate partial derivatives of g(x,y), evaluated at (cfC,alpha) [in fact at (cfCest,alphaest) ]%  g'=[h,xh'],   g''=[0,   h' ]%                    [h'  xh'']pal = 2^alphaest;h   = ( 1 - alphaest )/( 2 - pal ) ;hd  = ( log(2)*pal*h -1 )/( 2 - pal ) ;hdd = log(2)*pal*( h*log(2) + 2*hd )/( 2 - pal ) ;gx = h ;gy = cfCest*hd  ;gxy = hd ;gyy = cfCest*hdd  ;%gx*gx*VcfC %2*gx*gy*CoValphacfC %gy*gy*Valpha % ***** Examine the size of the correction factor for  E(cfhat)%cf_biais = ( 2*gxy*CoValphacfC + gyy*Valpha )/2%cfest   = cfest + cf_biais;%cf_biais_relative = cf_biais/cfestVcf = gx*gx*VcfC + 2*gx*gy*CoValphacfC + gy*gy*Valpha ;CoValphacf = h*CoValphacfC + cfCest*hd*Valpha;%%%%--- Goodness of fit%   If at least 3 points, Apply a Chi-2 test , no level chosen, should be viewed as a function of j1if J>2  J2 = (J-2)/2 ;  X  = sum( ((yjj - alphaest  * jj - aest ).^2)./ varjj ) ;  Q  = 1  - gammainc(X/2,J2) ; %  alternate calculation taking the differences first then using the test statistic of A4   if  0     XX = diff(yjj);   % series of samples with the same mean (under H0)    for i = 1:J-1      % assume the yj are independent so can add variances      varXX(i) = varjj(i) + varjj(i+1);    end    S0XX = sum(1./varXX) ;    S1XX = sum(XX./varXX) ;    V = sum( ((XX - S1XX/S0XX).^2)./varXX );    Qtest = 1 -  gammainc(V/2, J2)  endelse  fprintf('\n***** Regrescomp: Cannot calculate Q, need at least 3 points.\n');  Q=0;end  %%    Plot des resultats if argument "printout" is trueif (printout)   %fprintf('n/2=nj(1)= %d, whereas the product of (nj^vj)/2 = %d \n', nj(1), floor(prod( (njj/2).^vjj )))   %fprintf('The corrective bias factor p = %6.3f \n\n',p)      % Calculate confidence intervals   seuil=1.9599;   % .975 quantile of standard Gaussian   CI(1,:) = yj-seuil*sqrt(varj);   % Gaussian CI's   CI(2,:) = yj+seuil*sqrt(varj);   % Determine extremes for plotting   mi = min(CI(1,:)) - 0.2;     ma = max(CI(2,:)) + 0.2;     figure(11);  clf   plot(yj)   %axis([j1-0.5 j2+0.5 mi ma])     % focus in on the octaves chosen   axis([0.8 scalemax+0.2 mi ma])     % show the confidence intervals to either side    hold   set(gca,'FontSize',fsize-2)   %plot(yj,'*')   %  Plot the vertical bars at each octave showing seuil* the standard deviation of the y(j)   for k=1:1:scalemax      plot([k k ], CI(:,k) ) ;   title(['Logscale Diagram,  N=',num2str(regu),'    [ (j_1,j_2)= (',num2str(j1),',', num2str(j2),        '),   \alpha-est = ',num2str(alphaest,3), ',    Q= ',num2str(Q),' ]'])   end     plot(jj,alphaest * jj + aest,'r')   xlabel('Octave j','FontSize',fsize)   %ylabel('y(j) = log2( muj ) - g(j) )')   ylabel('y_j ','Rotation',0,'FontSize',fsize)   % make it upright (doesn't always work!   grid on; hold offend

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线综合视频| 欧美激情一区二区三区全黄| 国产精品亚洲人在线观看| 亚洲男同1069视频| 精品久久久久久最新网址| 一本色道久久综合亚洲aⅴ蜜桃| 麻豆精品新av中文字幕| 亚洲日本一区二区| 久久精品无码一区二区三区| 欧美精品丝袜中出| 色哟哟一区二区| 国产a久久麻豆| 另类小说欧美激情| 三级成人在线视频| 亚洲老妇xxxxxx| 国产精品色婷婷久久58| 久久免费视频一区| 欧美一级片在线看| 精品视频免费看| 一本色道**综合亚洲精品蜜桃冫| 国产精品18久久久久久久久| 奇米四色…亚洲| 亚洲成av人片在www色猫咪| 一区二区在线观看视频| 国产精品久久久久久久第一福利| 精品日韩欧美在线| 亚洲色图视频网| 国产欧美1区2区3区| 久久综合99re88久久爱| 精品国产乱码久久久久久影片| 8x8x8国产精品| 欧美美女网站色| 欧美日韩成人激情| 欧美四级电影网| 欧美日韩中文字幕精品| 在线中文字幕不卡| 欧美在线综合视频| 欧美三日本三级三级在线播放| 91美女片黄在线观看91美女| 99精品黄色片免费大全| 99久久精品一区二区| 91免费观看视频| 色婷婷久久久久swag精品 | 国产精品麻豆网站| 国产精品视频一二三| 国产精品免费观看视频| 国产精品青草综合久久久久99| 中文字幕免费一区| 国产精品另类一区| 综合在线观看色| 亚洲影视在线观看| 午夜精品视频一区| 久草在线在线精品观看| 经典三级在线一区| 成人精品国产一区二区4080| 成人av动漫在线| 色婷婷av一区二区三区大白胸| 91国产丝袜在线播放| 欧美日韩高清在线| 精品国产一区二区国模嫣然| 久久久精品免费网站| 中文字幕中文在线不卡住| 亚洲天堂av一区| 性欧美大战久久久久久久久| 蜜桃视频在线观看一区二区| 国产乱人伦精品一区二区在线观看| 国产精品夜夜爽| 色噜噜狠狠一区二区三区果冻| 欧美日韩一区成人| 337p粉嫩大胆噜噜噜噜噜91av| 中国av一区二区三区| 一区二区欧美视频| 极品美女销魂一区二区三区| 成人午夜视频在线| 欧美综合在线视频| 日韩欧美国产1| 中文字幕国产精品一区二区| 亚洲一区二区免费视频| 国产一区二区三区在线观看免费 | 欧美伊人久久久久久久久影院| 91麻豆精品国产91久久久更新时间| 337p粉嫩大胆色噜噜噜噜亚洲| 亚洲日本电影在线| 日本欧美一区二区三区| 国产制服丝袜一区| 中文字幕高清一区| 亚洲一区二区三区三| 韩国视频一区二区| 欧美系列亚洲系列| 欧美经典一区二区| 日日噜噜夜夜狠狠视频欧美人| 国产精品自拍一区| 欧美体内she精高潮| 欧美激情在线观看视频免费| 亚洲成av人片在www色猫咪| 国产91在线观看丝袜| 欧美久久久久免费| 亚洲欧洲av一区二区三区久久| 日本强好片久久久久久aaa| av电影在线观看一区| 欧美大度的电影原声| 亚洲综合在线视频| 国产91对白在线观看九色| 欧美日韩一二区| 亚洲欧洲日产国产综合网| 精品亚洲国产成人av制服丝袜| 欧美影院一区二区| 国产精品婷婷午夜在线观看| 久久 天天综合| 69av一区二区三区| 亚洲午夜在线电影| 色综合天天综合网天天狠天天| 久久蜜桃一区二区| 青青草成人在线观看| 欧洲国内综合视频| 国产精品家庭影院| 国产不卡免费视频| 精品毛片乱码1区2区3区| 午夜一区二区三区在线观看| www.日韩av| 国产精品污污网站在线观看| 国内精品在线播放| 日韩欧美国产不卡| 久久精品免费看| 欧美精品 日韩| 亚洲成人免费看| 欧美午夜精品久久久| 一区二区三区成人在线视频| 91丨porny丨蝌蚪视频| 中文字幕不卡在线播放| 国产福利一区二区三区视频在线| 日韩一二三四区| 日韩电影一二三区| 欧美一区在线视频| 麻豆国产精品官网| 日韩一区二区三区四区| 奇米在线7777在线精品| 欧美一级精品在线| 久久精品免费看| 久久久欧美精品sm网站| 国产裸体歌舞团一区二区| 久久久久久久综合| 风间由美一区二区三区在线观看| 国产亚洲欧洲997久久综合| 国产曰批免费观看久久久| 久久免费午夜影院| 成人午夜视频在线观看| 亚洲视频一二三区| 91行情网站电视在线观看高清版| 亚洲欧美乱综合| 欧美网站大全在线观看| 爽好久久久欧美精品| 日韩欧美美女一区二区三区| 国产精品综合在线视频| 精品一区二区在线免费观看| 欧美成人r级一区二区三区| 韩国成人精品a∨在线观看| 国产午夜亚洲精品午夜鲁丝片 | 波多野结衣欧美| 亚洲女同一区二区| 91超碰这里只有精品国产| 久久99国产精品久久| 亚洲国产精品成人综合| 色婷婷av一区二区三区之一色屋| 亚洲午夜电影网| 亚洲国产欧美另类丝袜| 亚洲国产日韩精品| av午夜一区麻豆| 精品国产一区二区三区久久影院| 国产91精品免费| 一区二区三区四区在线播放 | 美女被吸乳得到大胸91| 久久综合色8888| 91免费版在线看| 蜜桃av噜噜一区| 国产精品高潮呻吟久久| 7878成人国产在线观看| 国产传媒欧美日韩成人| 亚洲精品成人悠悠色影视| 日韩欧美亚洲国产另类| 99久久免费视频.com| 丝袜诱惑亚洲看片| 国产精品色呦呦| 欧美一级精品大片| 99天天综合性| 免费看欧美女人艹b| 成人欧美一区二区三区视频网页| 欧美精三区欧美精三区| 成人看片黄a免费看在线| 亚洲chinese男男1069| 国产性天天综合网| 91精品国产综合久久久久久久久久| 国产成人免费在线视频| 日韩高清一级片| 综合电影一区二区三区| 久久久不卡影院| 欧美精品精品一区| 色妹子一区二区| 国产成人精品免费在线| 日本网站在线观看一区二区三区|