📄 tssmooth.hlp
字号:
{smcl}
{* 14feb2005}{...}
{cmd:help tssmooth}
{hline}
{title:Title}
{p2colset 5 22 24 2}{...}
{p2col :{hi:[TS] tssmooth} {hline 2}}Smooth and forecast univariate
time-series data{p_end}
{p2colreset}{...}
{title:Syntax}
{p 8 18 2}
{cmd:tssmooth} {it:smoother} {dtype} {newvar} {cmd:=} {it:{help exp}}
{ifin} [{cmd:,} {it:...}]
{synoptset 28 tabbed}{...}
{p2coldent :Smoother category}{it:smoother}{p_end}
{synoptline}
{syntab:Moving average}
{synopt :with uniform weights}{helpb tssmooth ma:ma}{p_end}
{synopt :with specified weights}{helpb tssmooth ma:ma}{p_end}
{syntab:Recursive}
{synopt :exponential}{helpb tssmooth exponential:exponential}{p_end}
{synopt :double exponential}{helpb tssmooth dexponential:dexponential}{p_end}
{synopt :nonseasonal Holt-Winters}{helpb tssmooth hwinters:hwinters}{p_end}
{synopt :seasonal Holt-Winters}{helpb tssmooth shwinters:shwinters}{p_end}
{p2coldent :Nonlinear filter}{helpb tssmooth nl:nl}{p_end}
{synoptline}
{p2colreset}{...}
{title:Description}
{pstd}
{cmd:tssmooth} creates new variable {newvar} and fills it in by passing the
specified expression (usually a variable name) through the requested smoother.
{title:Examples}
{psee}{cmd:. tssmooth ma ma1 = D.sales, window(2 1)}{p_end}
{psee}{cmd:. tssmooth ma ma1 = D.sales, weights(1 2 <3>)}{p_end}
{psee}{cmd:. tssmooth exponential exp1 = sales, parms(.3)}{p_end}
{psee}{cmd:. tssmooth dexponential dexp1 = sales, parms(.3)}{p_end}
{psee}{cmd:. tssmooth hwinters hw1 = sales, parms(.3 .2) forecast(6)}{p_end}
{psee}{cmd:. tssmooth shwinters hw1 = sales, parms(.3 .2 .1) forecast(6) period(12)}{p_end}
{psee}{cmd:. tssmooth nl nl1 = sales, smoother(3RSSH)}{p_end}
{title:Also see}
{psee}
Manual: {bf:[TS] tssmooth}
{psee}
Online: {helpb arima}, {helpb egen}, {helpb generate}, {helpb tsset},
{helpb tssmooth dexponential}, {helpb tssmooth exponential},
{helpb tssmooth hwinters}, {helpb tssmooth ma},
{helpb tssmooth nl}, {helpb tssmooth shwinters}{p_end}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -