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

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

?? dhr.m

?? 動態時間序列分析工具包.包括有ARMA,harmonic model,kalman filter等方法
?? M
字號:
function [fit,fitse,Tend,Tendse,DHR,e,AMP,PHASE,sDHR,sDHRse,y0,dhrse,Xkk,Pkk,ers,ykk1] = dhr(y,P,IRWharm,NVR,alpha,P0,x0,smooth,ALG,Interv,intD)
% DHR  Dynamic Harmonic Regression analysis
%
% [fit,fitse,tr,trse,comp,e,amp,phs,ts,tsse,y0,dhrse,Xhat,Phat,ers,ykk1] ...
%     = dhr0(y,P,IRWharm,NVR,alpha,P0,x0,smooth,ALG,Interv,intD)
%            1 2    3     4    5   6  7    8     9    10    11
%
% 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)
% nvr: NVR hyper-parameters (0)
% alpha: alpha parameters; set alpha=1 for RW or IRW model (1)
% P0: Initial P matrix (1e6)
% x0: Initial state vector (0)
% sm: Smoothing on (1-default) or off (0-saves memory)
% ALG: Smoothing algorithm: P (0) or Q (1-default)
% Int: Vector of variance intervention points (zeros(length(y),1))
% intD: Variance intervention matrix diagonal (1e2 for trend level)
%
% fit: Model fit
% fitse: Standard errors of the fit
% tr: Trend (when trend is specified as IRW, second column is trend slope)
% trse: Standard errors of the trend (as above: slope standard errors)
% comp: Harmonic components
% e: Normalised innovations; use e=e(~isnan(e)) to remove NaNs
% amp: Amplitude of harmonic components
% phs: Phase of harmonic components
% ts: Total seasonal component
% tsse: Standard errors of the total seasonal component
% y0: Interpolated data
% dhrse: Standard errors of all the components (not grouped)
% Xhat: Parameters X(k/k) when just KF is run, X(k/N) when both KF/FIS
% Phat: P-matrix P(k/k) when just KF is run, P(k/N) when both KF/FIS
% ers:  Normalised error as returned by kalmsmo: 1+H(k)'*P(k/N)*H(k)
% ykk1: KF one step ahead predictions
%
% Example: dhr(y, [0 12./(1:6)], [1 0], [0.001 0.01], [0.95 1])
%   SRW trend model (NVR=0.001, alpha=0.95) together with 6 periodic 
%   components (12 and harmonics) each modelled with a RW (NVR=0.01)
%
% See also DHROPT, FCAST, STAND, DLR, SDP

% 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). For the case of AR(1) or SRW models, 
% alpha<1 specifies the additional parameter, while the 
% default value of unity implies a RW or IRW model. For 
% example, a 1st order autoregressive process requires TVP set to 
% zero and 0<alpha<1, where alpha is the AR(1) parameter. 
% Similarly, for a SRW model, TVP is set to unity and 
% 0<alpha<1, where alpha is the smoothing parameter. Finally, a 
% LLT model is obtained by using RW and IRW trends 
% simultaneously, i.e. with P set to [0 0].
% 
% nvr is a vector of NVR hyperparameters for each regressor 
% where, for example, zero (default) implies time invariant 
% parameters. The initial state vector and diagonal of the 
% P-matrix may be specified using x0 and P0, with default values 
% of 0 and 1e6 respectively. FIS may be turned off by changing 
% sm from its default unity to 0. In this case, the model fit and 
% estimated parameters are their filtered values. This speeds up the 
% algorithm and reduces memory usage in cases when smoothing 
% is not required. Also, either the P (0) or default Q (1) smoothing 
% algorithms are selected using the ALG input argument. Here, 
% the latter is often more robust for RW/IRW models, while SRW 
% models require use of the former. In general, should 
% convergence problems be encountered, changing the algorithm 
% in this manner may help. 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.
% 
% If the lengths of TVP, nvr, alpha, P0 or x0 are less than the 
% length of P, then they are automatically expanded to the correct 
% dimensions by using the final element of the specified input 
% vector. For example, if P has 3 elements 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 the model fit (with the same dimensions as 
% y), trend tr and total seasonal component ts (i.e. the sum of all 
% the seasonal components, which are returned individually as a 
% matrix comp), together with the associated standard errors in 
% each case, fitse and trse and tsse. It also returns the normalised 
% innovations sequence e, amplitude amp and phase phs of the 
% harmonic components and, finally, the interpolated data y0, 
% where the latter consist of the original series with any missing 
% data replaced by the model. Note that the normalised 
% innovations are padded with initial NaNs to ensure that the 
% vector is the same size as y. If statistical tests on these are 
% required, remove the NaNs with the command e = e(~isnan(e)).

if nargin==0
  disp(' ')
  disp(' DHR  Dynamic Harmonic Regression analysis')
  disp(' ')
  disp(' [fit,fitse,tr,trse,comp,e,amp,phs,ts,tsse,y0,dhrse]=dhr(y,P,TVP,nvr,alpha,P0,x0,sm,ALG,Int,IntD)')
  disp(' ')
  return
end

if nargin<1, y=[]; end
if nargin<2, P=[]; end
if nargin<3, IRWharm=[]; end
if nargin<4, NVR=[]; end
if nargin<5, alpha=[]; end
if nargin<6, P0=[]; end
if nargin<7, x0=[]; end
if nargin<8, smooth=[]; end
if nargin<9, ALG=[]; end
if nargin<10, Interv=[]; end
if nargin<11, intD=[]; end

[fit,fitse,Tend,Tendse,DHR,e,AMP,PHASE,sDHR,sDHRse,y0,dhrse,Xkk,Pkk,ers,ykk1]=...
   dhr0(y,P,IRWharm,NVR,alpha,P0,x0,smooth,ALG,Interv,intD);

% end of m-file

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩不卡在线| 日韩一级高清毛片| 久久精品久久综合| 亚洲欧洲三级电影| 欧美一级xxx| 色综合婷婷久久| 精品一区二区三区视频在线观看| 亚洲激情五月婷婷| 亚洲国产精品传媒在线观看| 欧美精品乱人伦久久久久久| 99国产精品久久久久久久久久久| 久久精品噜噜噜成人88aⅴ| 亚洲综合在线免费观看| 欧美国产一区二区| 精品成人私密视频| 日韩欧美电影一二三| 欧美在线观看视频一区二区| 99综合影院在线| 国产美女久久久久| 久久99热这里只有精品| 午夜精品久久久久影视| 一区二区三区在线影院| 亚洲欧洲另类国产综合| 中文字幕巨乱亚洲| 久久久国产午夜精品| 精品国产免费一区二区三区四区| 欧美精三区欧美精三区| 欧美日韩亚洲丝袜制服| 精品视频在线视频| 欧美在线观看视频在线| 在线观看国产一区二区| 色婷婷综合久色| 成人app软件下载大全免费| 国产成人在线看| 国产成人av电影在线| 国产精品12区| 国产一二精品视频| 国产传媒日韩欧美成人| 国产一区二区三区综合| 国产麻豆精品一区二区| 国产一区二区毛片| 国产成人在线看| voyeur盗摄精品| 99久久久无码国产精品| 99久久精品久久久久久清纯| 色综合天天综合给合国产| av午夜精品一区二区三区| av亚洲精华国产精华精| 色婷婷综合久久久中文一区二区| 欧美在线观看一二区| 制服丝袜中文字幕一区| 日韩一级成人av| 国产午夜亚洲精品不卡| 国产精品伦理在线| 亚洲欧美偷拍另类a∨色屁股| 亚洲精品视频一区二区| 亚洲成人av福利| 麻豆精品视频在线观看视频| 黄色精品一二区| 成人美女在线观看| 欧美网站一区二区| 欧美福利电影网| 久久久九九九九| 亚洲免费资源在线播放| 日本成人在线网站| 国产一区二区三区电影在线观看| 成人污污视频在线观看| 在线观看亚洲a| 日韩你懂的电影在线观看| 国产精品你懂的在线欣赏| 一区二区三区毛片| 激情久久五月天| 日本韩国精品在线| 日韩一级在线观看| 综合久久给合久久狠狠狠97色| 亚洲综合激情另类小说区| 久草精品在线观看| 色综合天天综合色综合av| 欧美一区二区三区精品| 中文字幕欧美日韩一区| 天天综合天天做天天综合| 成人小视频免费在线观看| 欧美午夜在线观看| 国产午夜精品在线观看| 亚洲在线观看免费视频| 国产精品一区二区在线播放| 欧美日韩一本到| 国产精品视频一二三区| 午夜av电影一区| 99re热这里只有精品免费视频| 欧美丰满高潮xxxx喷水动漫| 国产精品电影一区二区三区| 人人爽香蕉精品| 日本精品视频一区二区三区| 久久亚洲精华国产精华液 | 国产成人免费9x9x人网站视频| 91行情网站电视在线观看高清版| 久久欧美中文字幕| 水野朝阳av一区二区三区| 91在线精品一区二区三区| 欧美大尺度电影在线| 亚洲国产精品影院| kk眼镜猥琐国模调教系列一区二区| 欧美一区二区免费观在线| 亚洲蜜臀av乱码久久精品| 国产精品一区在线| 日韩免费高清视频| 亚洲第一福利视频在线| 色哟哟一区二区| 国产精品三级视频| 国产精品一品二品| 精品国产一二三| 美洲天堂一区二卡三卡四卡视频| 色婷婷精品久久二区二区蜜臀av| 国产亚洲精品久| 黄一区二区三区| 日韩精品一区二区三区视频播放 | 精久久久久久久久久久| 欧美色老头old∨ideo| 中文字幕视频一区| 成人网页在线观看| 国产三级精品三级| 国产一区二三区好的| 欧美白人最猛性xxxxx69交| 日韩av网站在线观看| 欧美精品xxxxbbbb| 午夜精品成人在线视频| 欧美日韩亚洲国产综合| 一区二区三区中文字幕在线观看| 色综合一个色综合| 亚洲啪啪综合av一区二区三区| 成人av在线资源网| 中文字幕在线播放不卡一区| 不卡免费追剧大全电视剧网站| 中文字幕国产一区| 99久久久久久99| 一区二区三区蜜桃网| 欧美三级视频在线| 日韩国产精品久久久久久亚洲| 91精品国产入口| 精品一区二区在线免费观看| 日韩精品一区二区三区在线| 国产一区二区中文字幕| 欧美激情艳妇裸体舞| www.欧美精品一二区| 一区二区三区四区高清精品免费观看| 99精品欧美一区二区三区综合在线| 国产精品久久久久7777按摩| 91免费观看在线| 一区二区三区在线免费观看| 欧美久久久久免费| 激情六月婷婷久久| 国产精品美女一区二区在线观看| 99vv1com这只有精品| 亚洲综合视频网| 日韩欧美一区二区免费| 国产精品亚洲第一| 亚洲欧美精品午睡沙发| 欧美精品一卡二卡| 国产精品一区二区久久不卡| 国产精品久久三区| 欧美日韩综合一区| 蜜桃视频一区二区三区在线观看| 久久综合色天天久久综合图片| 成人精品鲁一区一区二区| 亚洲女爱视频在线| 欧美高清一级片在线| 国产在线视频一区二区三区| 国产精品色婷婷久久58| 欧美日韩在线免费视频| 国产在线观看一区二区| 亚洲人快播电影网| 国内精品伊人久久久久影院对白| 日本亚洲欧美天堂免费| 国产综合一区二区| 国产成人av一区二区三区在线| 久久影院视频免费| 99精品久久久久久| 麻豆成人91精品二区三区| 国产精品你懂的| 91精品欧美综合在线观看最新| 国产成人鲁色资源国产91色综| 亚洲精品少妇30p| 精品剧情在线观看| 91日韩一区二区三区| 玖玖九九国产精品| 依依成人综合视频| 久久久久免费观看| 欧美二区三区的天堂| 成人自拍视频在线观看| 奇米影视一区二区三区| 亚洲三级小视频| 亚洲精品一线二线三线| 欧美中文字幕一区| 国产.欧美.日韩| 久久99精品国产麻豆不卡| 亚洲一区二区三区小说| 中文字幕欧美一| 精品国产免费一区二区三区四区 | 成人18精品视频|