find_nonmissing_subsample function

Find Non-Missing Subsamples

Find Non-Missing Subsamples

find_nonmissing_subsample(X)

Arguments

  • X: A (TTxNN)-matrix of NN time series with TT observations. Data may also be in a time series format (e.g. ts, zoo or xts) or data frame. Assumes a prior check on missing values in-sample has been done.

Returns

A list with the following components - range: (2xNN)-dimensional matrix containing the first and last non-missing observation in each column of X.

  • all_equal: Logical value indicating whether all series have the same non-missing indices.

References

Smeekes, S. and Wilms, I. (2023). bootUR: An R Package for Bootstrap Unit Root Tests. Journal of Statistical Software, 106(12), 1-39.

  • Maintainer: Stephan Smeekes
  • License: GPL (>= 2)
  • Last published: 2024-05-20

Downloads (last 30 days):