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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? daropt.m

?? 動態時間序列分析工具包.包括有ARMA,harmonic model,kalman filter等方法
?? M
字號:
function [NVR,ALPHA,opts,separ] = daropt(y,p,IRW,method,nvr,alpha,nvr0,alpha0,opts,ALG,output,P0)
% DAROPT  Hyper-parameter estimation for DAR
%
% [nvr,alpha,opts,parse]=daropt(y,na,TVP,meth,nvrc,alphac,nvr0,alpha0,opts,ALG,tab,P0)
%                               1 2   3   4    5     6     7     8     9   10  11  12
%
% y: Time series. Standardise first e.g. y=(y-mean(y))./std(y) (*)
% na: AR order definition (1)
%       Scalar: Full model
%       Vector: Subset AR
%         e.g. na=[1 2 11:14] implies a3,...,a10 = 0
% TVP: Model type for each TVP (0-RW/AR(1), 1-IRW/SRW) (0)
% meth: Estimation method ('ml')
%     'ml': Maximum Likelihood
%     'f#': Sum of squares of the #-step-ahead forecasting errors
% 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.0001)
% alpha0: Initial alpha hyper-parameters (1)
% opts: Optimisation options. Type 'help FOPTIONS' for details
% ALG: Optimisation algorithm: 0=fmins, 1=fminu, 2=leastsq (not ML) (0)
% tab: Display: 0=none, 1=tabulate results, 2=update window (2)
% P0: Initial P matrix (1e5)
%
% nvr: Estimated NVR hyper-parameters
% alpha: Estimated alpha hyper-parameters
% opts: Returned optimisation options. Type 'help foptions' for details
% parse: Standard Error of hyper-parameters (omit to reduce computation time)
%
% example: daropt(y, [1 12], 0, [0 -2])
%   autoregression type model y(t) = a1(t)*y(t-1) + a2(t)*y(t-12) with a
%   RW model for both parameters and a1 assumed constant (NVR fixed at zero)
%
% See also DAR, 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) is the only compulsory input 
% to this function. 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. It is usually 
% preferable to standardise y before using this function although 
% this is left up to the user, see e.g.
% 
% help stand. The remaining input arguments are optional. The 
% AR model structure is defined by na, which is a scalar or vector 
% listing the required past output variables used in the model. For 
% example, [1:5, 20] specifies a model based on y(t-1) to y(t-5)
% plus a y(t-20) component (i.e. subset AR).
% 
% TVP is a vector specifying the model associated with each 
% regression parameter, listed in order of higher powers of the 
% backward shift operator L. Choices include a RW/AR(1) model 
% by default (0) or a IRW/SRW model (1). meth is the estimation 
% method, where the default Maximum Likelihood 'ml' may be 
% replaced by 'f#' to compute the sum of squares of the #-step-
% ahead forecasting errors.
% 
% 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   parameter (-2, -1, or >=0 as for 
% nvrc). Initial NVR and   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.
% 
% Finally, tab defines the display options and P0 specifies the 
% initial diagonal of the P matrix. Here, 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.
% If the lengths of TVP, nvrc, alphac, nvr0, alpha0 or P0 or x0 
% are less than the AR model order, 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 alpha 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. 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(' DAROPT  Hyper-parameter estimation for DAR')
  disp(' ')
  disp(' [nvr,alpha,opts,parse]=daropt(y,na,TVP,meth,nvrc,alphac,nvr0,alpha0,opts,ALG,tab,P0)')
  disp(' ')
  return
end

if nargin<1, y=[]; end
if nargin<2, p=[]; end
if nargin<3, IRW=[]; end
if nargin<4, method=[]; 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, P0=[]; end

if nargout>3
  [NVR,ALPHA,opts,separ]=daropt0(y,p,IRW,method,nvr,alpha,nvr0,alpha0,opts,ALG,output,P0);
else
  [NVR,ALPHA,opts]=daropt0(y,p,IRW,method,nvr,alpha,nvr0,alpha0,opts,ALG,output,P0);
end

% end of m-file

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91首页免费视频| 粉嫩久久99精品久久久久久夜| 久久综合久久99| 欧美人xxxx| 欧美日韩精品欧美日韩精品一| 99天天综合性| 岛国精品在线播放| 国产伦理精品不卡| 狠狠色丁香久久婷婷综| 蜜臀a∨国产成人精品| 天堂一区二区在线| 亚洲一二三区视频在线观看| **欧美大码日韩| 亚洲欧洲成人自拍| 亚洲日本va午夜在线电影| 国产精品人妖ts系列视频| 国产精品色眯眯| 亚洲欧美在线aaa| 亚洲男同性视频| 一区二区国产视频| 亚洲www啪成人一区二区麻豆| 亚洲一区二区三区四区中文字幕| 亚洲精品综合在线| 亚洲成在线观看| 毛片av中文字幕一区二区| 蜜臀a∨国产成人精品| 激情另类小说区图片区视频区| 国产一区二区不卡在线| 成人国产在线观看| 在线观看日韩电影| 欧美日韩国产免费| 亚洲精品在线电影| 国产精品久久久久久久久免费丝袜 | 国产一区二区视频在线播放| 国产又粗又猛又爽又黄91精品| 成人三级伦理片| 欧美色爱综合网| 久久人人爽爽爽人久久久| 自拍偷拍亚洲综合| 美脚の诱脚舐め脚责91 | 亚洲激情男女视频| 视频一区免费在线观看| 国产美女一区二区三区| 在线观看欧美黄色| 久久伊人中文字幕| 亚洲一区二区三区四区五区中文| 麻豆免费精品视频| 色综合中文字幕国产| 欧美精品乱码久久久久久按摩 | 日韩一区和二区| 中文字幕日韩精品一区| 日本午夜精品视频在线观看| 成人蜜臀av电影| 日韩欧美综合一区| 玉足女爽爽91| 福利一区二区在线| 欧美男男青年gay1069videost| 久久精品亚洲麻豆av一区二区| 亚洲大片免费看| 99在线视频精品| 久久久久久久一区| 日韩国产欧美在线播放| eeuss影院一区二区三区| 日韩欧美一级精品久久| 亚洲综合一二三区| 北条麻妃国产九九精品视频| 欧美www视频| 丝袜亚洲精品中文字幕一区| 91蜜桃在线免费视频| 日本一区二区三级电影在线观看 | 亚洲福利一区二区三区| 岛国精品在线播放| 久久久国际精品| 麻豆成人免费电影| 欧美一区二区三区在线视频| 亚洲国产精品嫩草影院| 色综合视频在线观看| 亚洲欧洲精品一区二区三区 | 久久99精品国产麻豆婷婷洗澡| 欧美性色黄大片手机版| 成人欧美一区二区三区| 不卡在线视频中文字幕| 国产精品免费久久| 成人综合婷婷国产精品久久蜜臀| 久久丝袜美腿综合| 国产一区二区精品久久| 国产三级一区二区| 成人免费黄色在线| 中文字幕亚洲在| 94-欧美-setu| 亚洲欧美日韩国产手机在线| 91色视频在线| 亚洲一区二区三区不卡国产欧美| 色综合激情五月| 亚洲国产精品一区二区久久 | 亚洲成av人片一区二区| 欧美日韩国产高清一区二区三区 | 亚洲精品免费在线| 在线看国产一区| 五月激情综合网| 日韩精品最新网址| 国产91对白在线观看九色| 中文在线资源观看网站视频免费不卡| 成人在线综合网| 亚洲乱码中文字幕| 欧美高清精品3d| 国产美女精品一区二区三区| 中文字幕一区二区三区乱码在线 | 欧美在线一区二区| 免费久久99精品国产| 精品国产91乱码一区二区三区 | 精品久久一二三区| 高清不卡一二三区| 亚洲免费观看高清完整版在线观看 | 日韩一区二区免费在线电影| 久99久精品视频免费观看| 亚洲国产精品av| 欧美综合一区二区三区| 精品一区二区精品| 亚洲私人影院在线观看| 69堂亚洲精品首页| 成人性生交大片免费看中文 | 亚洲精品国久久99热| 91精品国产综合久久久蜜臀图片| 国产资源精品在线观看| 亚洲日本欧美天堂| 精品女同一区二区| 91麻豆成人久久精品二区三区| 天天综合天天做天天综合| 欧美高清一级片在线观看| 欧美日韩成人综合天天影院| 国产成人av福利| 日韩制服丝袜av| 亚洲色图视频网| 久久久久97国产精华液好用吗| 欧美在线观看视频在线| 国产成人精品www牛牛影视| 性做久久久久久久免费看| 国产精品久久99| 久久久久国产精品人| 欧美日韩精品欧美日韩精品一综合| 高清shemale亚洲人妖| 免费不卡在线视频| 亚洲电影一区二区三区| 亚洲欧美另类久久久精品| 久久亚洲一区二区三区明星换脸| 欧美性视频一区二区三区| 成人视屏免费看| 国产一区在线观看麻豆| 视频在线观看一区| 五月综合激情网| 亚洲人成网站精品片在线观看| 亚洲国产精品传媒在线观看| 日韩视频在线永久播放| 欧美久久一区二区| 欧美日本韩国一区二区三区视频| 99久久精品99国产精品| 国产激情一区二区三区桃花岛亚洲| 香蕉成人啪国产精品视频综合网| 亚洲免费在线播放| 中文字幕在线一区免费| 国产精品午夜在线观看| 欧美国产视频在线| 久久午夜色播影院免费高清| 欧美一区二区三级| 欧美一级二级三级乱码| 欧美电影免费观看高清完整版| 欧美草草影院在线视频| 欧美一卡二卡三卡| 欧美一级高清片| 26uuu精品一区二区在线观看| 精品国产91乱码一区二区三区| 精品国产青草久久久久福利| 久久综合色综合88| 久久综合久久99| 中文字幕在线免费不卡| 亚洲欧美激情一区二区| 亚洲国产欧美日韩另类综合| 亚洲一区二区不卡免费| 男女性色大片免费观看一区二区 | 制服.丝袜.亚洲.中文.综合| 日韩视频一区二区三区| 久久久国产午夜精品| 国产精品欧美一级免费| 亚洲另类在线一区| 丝袜亚洲精品中文字幕一区| 久久精品国产精品亚洲精品 | 成人综合在线视频| 欧美主播一区二区三区美女| 日韩一区二区三区电影在线观看| wwww国产精品欧美| 亚洲精品视频免费看| 蜜臀av性久久久久蜜臀aⅴ四虎| 国产精品夜夜爽| 色一情一乱一乱一91av| 日韩欧美区一区二| 亚洲婷婷综合久久一本伊一区| 日本大胆欧美人术艺术动态| 国产精品自在欧美一区| 91久久精品国产91性色tv|