View source: R/sample_size_ratio.R
| sample_size_ratio | R Documentation | 
ratio of actual to effective sample sizes for possibly autocorrelated time series
sample_size_ratio(x, ...)
| x | numeric, a time series | 
| ...,  | optional parameters for acf() | 
sample size ratio (a number)
Ken Butler, butler@utsc.utoronto.ca
set.seed(457298)
xx=stats::arima.sim(list(ar=0.8),100) # posoitively autocorrelated, sample size ratio > 1
sample_size_ratio(xx)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.