Description Usage Arguments Value
Simulate Autocorrelated Errors
1 |
n_obs |
Number of simulated observations. Must be less than
275 (length of output from |
version |
An integer specifying the error autocorrelation case number; one of the following.
\item{1}{Sine wave with fixed amplitude, varying phase, and white noise.} \item{2}{Sine wave with fixed phase, varying amplitude, and white noise.} \item{3}{Random walk, high frequency, generated using [stat_gp()] with gamma = 1 and sigma = 1.} \item{4}{Random walk, mid frequency, generated using [stat_gp()] with gamma = 2 and sigma = 1.} \item{5}{Multi-scale: combination of 1 and 3.} \item{6}{Multi-scale: combination of 1 and 4.} \item{7}{Multi-scale: combination of 2 and 3.} \item{8}{Multi-scale: combination of 2 and 4.} \item{9}{A wiggly function generated from [mgcv::smooth.construct()], no error} \item{10}{A wiggly function generated from [mgcv::smooth.construct()], with 10 percent white noise} \item{11}{Analogous to 1, but with a sawtooth pattern instead of sine.} \item{12}{Analogous to 2, but with a sawtooth pattern instead of sine.} \item{13}{Multi-scale: combination of 11 and 3.} \item{14}{Multi-scale: combination of 11 and 4.} \item{15}{Multi-scale: combination of 12 and 3.} \item{16}{Multi-scale: combination of 12 and 4.} |
A vector of simulated observations guaranteed to have a mean of 0 and a standard deviation of 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.