⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reconst.m

📁 动态时间序列分析工具包.包括有ARMA,harmonic model,kalman filter等方法
💻 M
字号:
function yr=reconst0(y, Interv)
% RECONST  Reconstructs a series with jumps at intervention points
%
% yr=reconst(y,Int)
%
% y: Time series (*)
% Int: Vector of variance intervention or jump points (*)
%
% yr: Reconstructed series without jumps
%
% See also IRWSM, DHR

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

% The purpose of this function is to reconstruct the behaviour of a 
% series under the hypothesis that several given sudden jumps 
% would never have happened.
% 
% The first input argument y is the original time series, while Int is 
% a vector of intervention points at which the jumps are observed. 
% The output argument yr is the modified time series.

if nargin==0
  disp(' ')
  disp(' RECONST  Reconstructs a series with jumps at intervention points')
  disp(' ')
  disp(' yr=reconst(y,Int)')
  disp(' ')
  return
end

if nargin<1, y=[]; end
if nargin<2, Interv=[]; end

yr=reconst0(y, Interv);

% end of m-file

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -