📄 movav2.m
字号:
function mavz=movav2(z,mt);
%
%mavz=movav2(z,mt);
%
%This function computes a moving average of the past mt observations of z.
%The function uses less than mt observations for the first mt observations
%of z.
%
%INPUT:
%
%The n by k matrix z
%
%The scalar mt which gives the past window
%
%
%OUTPUT:
%
%mavz is a n by k matrix of the smoothed z
%
%NOTES:
%
%This function was used in:
%
%Pace, R. Kelley and Ronald Barry, O.W. Gilley, C.F. Sirmans,
%揂 Method for Spatial-temporal Forecasting with an Application to Real Estate Prices,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -