slr.wge | R Documentation |
Uses Base R routine lm to simplify call for SLR where independent variable is automatocally t=1:n
slr.wge(x)
x |
The TVF data set |
res |
Residuals |
b0hat |
Estimate b0 in model y=b0+b1*t+Z |
b1hat |
Estimate b1 |
pvalue |
pvalue for test:slope=0 |
tstatistic |
tstatistic associated with test:slope=0 |
Wayne Woodward
Applied Time Series Analysis with R, second edition by Woodward, Gray, and Elliott
x=gen.arma.wge(n=100,phi=.96,sn=10)
y=slr.wge(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.