sample_size_ratio: ratio of actual to effective sample sizes for possibly...

View source: R/sample_size_ratio.R

sample_size_ratioR Documentation

ratio of actual to effective sample sizes for possibly autocorrelated time series

Description

ratio of actual to effective sample sizes for possibly autocorrelated time series

Usage

sample_size_ratio(x, ...)

Arguments

x

numeric, a time series

...,

optional parameters for acf()

Value

sample size ratio (a number)

Author(s)

Ken Butler, butler@utsc.utoronto.ca

Examples

set.seed(457298)
xx=stats::arima.sim(list(ar=0.8),100) # posoitively autocorrelated, sample size ratio > 1
sample_size_ratio(xx)


nxskok/mkac documentation built on Jan. 15, 2024, 4:02 a.m.