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

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

?? dhropt.m

?? 動(dòng)態(tài)時(shí)間序列分析工具包.包括有ARMA,harmonic model,kalman filter等方法
?? M
字號(hào):
function [bl,alpha,opts,amp,separ] = dhropt(y,P,IRWharm,nar,nvr,alpha,nvr0,alpha0,opts,ALG,output,t,Interv)
% DHROPT  Hyper-parameter estimation for DHR
%
% [nvr,alpha,opts,amp,parse]=dhropt(y,P,TVP,meth,nvrc,alphac,nvr0,alpha0,opts,ALG,tab,tf,Int)
%                                   1 2  3   4    5     6     7     8     9   10  11  12 13
%
% y: Time series (*)
% P: Periodic components; set P(1)=0 to include a trend (*)
% TVP: Model type for each TVP (0-RW/AR(1), 1-IRW/SRW, 2-Trigonommetric) (0)
%        (for LLT use RW and IRW trends simultaneously)
% meth: Estimation method (24)
%         meth>0: Frequency domain optimisation based on the AR(meth) spectrum
%         meth<0: ML in time domain with abs(meth) used as the order of the AR 
%                 spectrum to estimate initial conditions for hyper-parameters
%         meth='f#': Sum of squares of the #-steps-ahead forecasting errors with
%                    initial conditions from the frequency domain using AR(24)
%         meth='f# n': As above but specifying AR(n) to estimate initial conditions
% nvrc: Constraints for each NVR (-2)
%     -2: Free estimation
%     -1: Constrained estimation (all parameters with nvrc=-1 are equal)
%    >=0: NVR constrained to this value (it is not estimated)
% alphac: Constraints for each alpha (-2, -1, or >=0 as for nvrc) (1)
% nvr0: Initial NVR hyper-parameters (0)
% alpha0: Initial alpha hyper-parameters (1)
% opts: Optimisation options, see help for OPTIMSET (Matlab R14) or FOPTIONS
% ALG: Optimisation algorithm: 0=fmins, 1=fminu, 2=leastsq (not ML) (2)
% tab: Display: 0=none, 1=tabulate results, 2=update window and frequency plot (2)
% tf: User supplied frequency information (1032)
%       scalar: Number of subdivisions of frequency axes
%       vector: Frequency axis (between 0-0.5)
%       matrix (nx2): Frequency axis (1st column) and AR spectrum amplitude
% Int: Vector of variance intervention points (0)
%
% nvr: Estimated NVR hyper-parameters
% alpha: Estimated alpha hyper-parameters
% opts: Returned optimisation options. Type 'help foptions' for details
% amp: Spectra [t, amp, ampm], e.g. use semilogy(t, amp, t, ampm)
%        t: Frequency axis at which the spectra are evaluated
%        amp: Empirical spectrum
%        ampm: Fitted model spectrum
% parse: Standard Error of hyper-parameters (omit to reduce computation time)
%
% Example: dhr(y, [0 12./(1:6)], [1 0], 24, -2, [-2 1])
%   optimise for a SRW trend, together with 6 periodic components
%   (12 and harmonics) each modelled with a RW (alpha fixed at 1)
%
% See also DHR, FCAST, STAND, FOPTIONS, FMINS

% Copyright (c) 2006 by CRES, Lancaster University, United Kingdom
% Authors : Peter Young, Wlodek Tych, Diego Pedregal, James Taylor

% The time series vector y (column) and associated m periodic 
% components P are specified by the user. Set the first element of 
% P to include a trend. For example, [0 12] implies a trend and a 
% seasonal component for monthly data. The function 
% automatically handles missing values in y. In fact, y may be 
% appended with additional NaNs to forecast or backcast beyond 
% the original series. The remaining input arguments are optional.
% 
% TVP is a vector specifying the model associated with each 
% regression parameter, listed in the same order as the elements of 
% P. Choices include a RW/AR(1) model by default (0) or a 
% IRW/SRW model (1). The 4th input argument meth selects the 
% estimation method, where the default frequency domain 
% optimisation based on the AR(24) spectrum may be replaced by 
% an AR(meth) spectrum by specifying a positive scalar. A 
% negative scalar implies Maximum Likelihood in time domain, 
% with -meth used as the order of the AR spectrum to estimate the 
% initial conditions. Finally, specifying 'f#' computes the sum of 
% squares of the #-step-ahead forecasting errors, with the initial 
% conditions obtained from a frequency domain optimisation using 
% the AR(24) spectrum, or 'f# n' to specify the AR(n) spectrum.
% 
% nvrc defines the constraints for each NVR, where -2 implies 
% free estimation, -1 constrained estimation (all parameters with 
% nvrc = -1 are equal) and >=0 implies the associated NVR is 
% constrained to this value (it is not estimated). alphac defines 
% similar constraints for each alpha parameter (-2, -1, or >=0 as for 
% nvrc). Initial NVR and alpha hyper-parameters may be specified 
% using nvr0 and  alpha0 respectively. For example, to optimise 
% for a RW or IRW model, ensure alphac and alpha0 are unity 
% (the default). To optimise component 'i' for a SRW, set the i'th 
% element of TVP to unity and alphac(i) to -2, -1, or fixed at 
% 0<alphac<1. This normally produces an improved fit to the 
% spectrum, but computation time is longer.
% 
% Optimisation options may be set using opt (type help foptions 
% for details), while ALG specifies the optimisation algorithm: 
% fmins (0), fminu (1) or leastsq (2). Here, ALG selects between 
% the more efficient gradient search methods of fminu (see help 
% fminu) and the more robust (especially for discontinuous 
% problems) direct search methods of fmins (see help fmins).
% 
% When meth = 'f#' there is the additional option of using leastsq 
% (see help leastsq). Note that if ALG = 2 and meth = 'ml', then 
% an error occurs, since leastsq cannot be used in the Maximum 
% Likelihood case. The Optimisation Toolbox for MATLAB(r) is 
% required to use fminu or leastsq.
% 
% To set the display options, if tab = 1 or 2, then the final results 
% are displayed in tabular form. Additionally, if tab = 2, a window 
% appears during optimisation showing the latest value of the 
% Likelihood Function or the Sum-of-Squares for the #-step-ahead 
% forecasting errors. When ALG = 0 (fmins) and tab = 2, a 'stop 
% button' will appear below the update window: click to terminate 
% the optimisation and return the current estimates.
% 
% For frequency domain optimisation, tf may be a scalar or a 
% vector. When scalar it refers to the number of points in which 
% the frequency axis should be divided (default value is 1032). 
% Alternatively, a vector would be considered as the frequency 
% axis itself, normalised between 0 and 0.5 (corresponding to 
% periods from inf to 2). Alternatively, a matrix specifies the 
% frequency axis (1st column) and AR spectrum amplitude 
% directly.
% 
% Finally, Int allows for sharp (discontinuous) local changes in the 
% parameters at the user supplied intervention points. These need 
% to be defined either manually or by some detection method for 
% sharp local changes. Here, Int should take the same dimensions 
% as y, with positive values indicating variance intervention 
% required. Note that this option does not influence the NVR 
% estimates when meth>0 (the default option).
% If the lengths of TVP, nvrc, alphac, nvr0, alpha0 or P0 or x0 
% are less than m, then they are automatically expanded to the 
% correct dimensions by using the final element of the specified 
% input vector. For example, if z has 3 columns but TVP is 
% defined as [1 0], then TVP is automatically expanded to [1 0 0]. 
% Similarly, a scalar P0 implies an identity matrix scaled by this 
% value.
% 
% The function returns vectors of NVR and   hyperparameters, 
% nvr and alpha respectively. opts provides confirmation of the 
% options utilised, together with the number of function 
% evaluations etc. (type help foptions for details). For the case of 
% AR(1) or SRW models, alpha less than unity specifies the 
% additional parameter, while the default value of unity implies a 
% RW or IRW model. amp returns the spectra used in the 
% optmisation in the form [t, am, ampm], where t  is the 
% frequency axis at which the spectra are evaluated, am is the 
% empirical spectrum and ampm is the fitted model spectrum. The 
% associated spectrum can be graphed with e.g. semilogy(t, amp, 
% t, ampm).
% 
% Finally, parse are the standard errors of the NVR and alpha (if 
% optimised) hyper-parameters. However, computation time can 
% sometimes be greatly reduced if this 4th output argument is 
% omitted from the function call.

if nargin==0
  disp(' ')
  disp(' DHROPT  Hyper-parameter estimation for DHR')
  disp(' ')
  disp(' [nvr,alpha,opts,amp,parse]=dhropt(y,P,TVP,meth,nvrc,alphac,nvr0,alpha0,opts,ALG,tab,tf,Int)')
  disp(' ')
  return
end

if nargin<1, y=[]; end
if nargin<2, P=[]; end
if nargin<3, IRWharm=[]; end
if nargin<4, nar=[]; end
if nargin<5, nvr=[]; end
if nargin<6, alpha=[]; end
if nargin<7, nvr0=[]; end
if nargin<8, alpha0=[]; end
if nargin<9, opts=[]; end
if nargin<10, ALG=[]; end
if nargin<11, output=[]; end
if nargin<12, t=[]; end
if nargin<13, Interv=[]; end

if nargout>4
  [bl,alpha,opts,amp,separ]=dhropt0(y,P,IRWharm,nar,nvr,alpha,nvr0,alpha0,opts,ALG,output,t,Interv);
else
  [bl,alpha,opts,amp]=dhropt0(y,P,IRWharm,nar,nvr,alpha,nvr0,alpha0,opts,ALG,output,t,Interv);
end

% end of m-file

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品综合一区二区三区| 国产精品亚洲一区二区三区在线| 日韩欧美一区在线观看| 顶级嫩模精品视频在线看| 亚洲成人精品在线观看| 国产欧美一区二区三区鸳鸯浴| 欧美日韩一区二区三区在线| 国产成都精品91一区二区三| 日本系列欧美系列| 亚洲一二三专区| 亚洲视频在线一区观看| 国产色产综合产在线视频| 日韩一区二区三区av| 欧美视频中文字幕| 91在线视频观看| 成人激情文学综合网| 激情综合色播激情啊| 奇米色777欧美一区二区| 亚洲黄色性网站| 日本一区二区在线不卡| 久久影院午夜片一区| 91精品国产色综合久久| 欧美日韩在线观看一区二区| 91在线国内视频| 国产成人av在线影院| 久久精品国产成人一区二区三区| 亚洲一本大道在线| 一区二区三区免费在线观看| 国产精品成人免费精品自在线观看 | 欧美精品高清视频| 欧美亚洲综合一区| 欧美在线免费观看视频| 91国偷自产一区二区三区观看| 成人网在线免费视频| 国产精品自拍毛片| 国产专区综合网| 国内精品伊人久久久久av一坑| 麻豆成人免费电影| 久久国产夜色精品鲁鲁99| 麻豆精品新av中文字幕| 久久99热狠狠色一区二区| 免费在线看成人av| 美腿丝袜亚洲三区| 精品午夜一区二区三区在线观看| 美女视频一区二区三区| 久久爱www久久做| 精品在线一区二区| 国产精品一区二区男女羞羞无遮挡 | 成人精品国产一区二区4080| 成人免费看片app下载| 高清在线观看日韩| 成人爱爱电影网址| 91丝袜美女网| 在线精品亚洲一区二区不卡| 欧美日韩亚洲综合一区| 91麻豆精品国产91久久久使用方法| 911精品国产一区二区在线| 欧美一级一区二区| 亚洲精品一区二区三区影院 | 国产精品18久久久久久久久久久久 | 成人永久看片免费视频天堂| 不卡av在线免费观看| 91啪亚洲精品| 欧美裸体一区二区三区| 欧美不卡123| 国产农村妇女毛片精品久久麻豆 | 99re这里只有精品首页| 色婷婷av久久久久久久| 欧美精品久久久久久久久老牛影院| 欧美一区日韩一区| 国产欧美日韩三区| 亚洲综合一二三区| 狠狠色丁香婷婷综合| 99视频精品全部免费在线| 欧美日本国产一区| 精品福利在线导航| 亚洲欧美自拍偷拍| 免费三级欧美电影| 成人aaaa免费全部观看| 91麻豆精品国产无毒不卡在线观看| 久久理论电影网| 一区二区三区在线高清| 国产自产v一区二区三区c| 色综合色综合色综合色综合色综合| 欧美日韩国产123区| 国产拍揄自揄精品视频麻豆| 亚洲一区二区三区中文字幕在线 | 欧美丝袜第三区| 久久综合视频网| 一区二区在线观看av| 国产乱码精品一区二区三区av | 在线视频国产一区| 精品奇米国产一区二区三区| 亚洲狼人国产精品| 国产在线精品视频| 欧美日韩中字一区| 国产精品毛片大码女人| 久久电影网站中文字幕| 欧美婷婷六月丁香综合色| 国产欧美一区二区在线| 蜜桃视频在线观看一区二区| 在线中文字幕一区二区| 国产欧美精品一区二区色综合朱莉| 日韩精品国产欧美| 91蜜桃免费观看视频| 久久久国产午夜精品| 日日骚欧美日韩| 91久久国产综合久久| 国产精品网曝门| 国产一区视频在线看| 欧美日本在线播放| 夜夜精品视频一区二区| 波多野结衣中文字幕一区二区三区 | 亚洲成人免费在线| 91香蕉视频在线| 中文字幕乱码日本亚洲一区二区 | 欧美v国产在线一区二区三区| 亚洲综合一区在线| av在线综合网| 国产女人aaa级久久久级| 精品一区二区av| 91精品国产美女浴室洗澡无遮挡| 亚洲国产一区二区三区青草影视| 99re成人精品视频| 国产精品免费丝袜| 成人激情黄色小说| 久久久九九九九| 国产河南妇女毛片精品久久久| 日韩欧美一级二级| 美腿丝袜亚洲一区| 日韩欧美激情四射| 久久国产综合精品| 精品欧美一区二区在线观看| 久久成人18免费观看| 精品欧美乱码久久久久久1区2区 | 奇米亚洲午夜久久精品| 欧美日高清视频| 午夜精品福利久久久| 欧美另类一区二区三区| 午夜精品123| 7777精品伊人久久久大香线蕉 | 色女孩综合影院| 亚洲一区在线电影| 欧美日韩激情一区二区三区| 午夜婷婷国产麻豆精品| 日韩一二在线观看| 极品少妇一区二区| 亚洲国产精品成人综合色在线婷婷 | 91啦中文在线观看| 亚洲精品一二三| 欧美精品色一区二区三区| 日韩国产欧美在线视频| 日韩三级在线免费观看| 国产一区二区在线视频| 国产精品少妇自拍| 91久久精品国产91性色tv | 91在线云播放| 亚洲成国产人片在线观看| 日韩欧美中文一区二区| 国产一区二区三区日韩| 亚洲欧洲在线观看av| 欧美性三三影院| 免费xxxx性欧美18vr| 久久这里只有精品6| 99久久精品国产观看| 亚洲午夜激情网站| 欧美精品一区二区三区很污很色的| 国产精品77777| 一区二区三区四区在线免费观看| 91精品国产一区二区三区蜜臀| 国产精品一区二区久久精品爱涩 | 欧美一级理论片| 国产精品亚洲综合一区在线观看| 自拍av一区二区三区| 欧美久久久久中文字幕| 国产裸体歌舞团一区二区| 亚洲久草在线视频| 精品第一国产综合精品aⅴ| 91视频在线看| 六月丁香综合在线视频| 亚洲另类色综合网站| 精品处破学生在线二十三| 91啪亚洲精品| 国产一区二区伦理| 亚洲一区二区欧美日韩| 久久久久久久一区| 欧美日韩大陆一区二区| 成人午夜av在线| 日本三级亚洲精品| 亚洲免费在线观看| 久久久午夜精品| 51精品久久久久久久蜜臀| 成人精品高清在线| 蜜臀va亚洲va欧美va天堂 | 欧美mv日韩mv国产| 日本二三区不卡| 国产成人精品亚洲日本在线桃色| 肉丝袜脚交视频一区二区| 亚洲精品一二三区| 亚洲国产精品激情在线观看|