movav2.m
来自「空间统计工具箱」· M 代码 · 共 25 行
M
25 行
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 + =
减小字号Ctrl + -
显示快捷键?