Learn R Programming

pdt (version 0.0.2)

Permutation Distancing Test

Description

Permutation (randomisation) test for single-case phase design data with two phases (e.g., pre- and post-treatment). Correction for dependency of observations is done through stepwise resampling the time series while varying the distance between observations. The required distance 0,1,2,3.. is determined based on repeated dependency testing while stepwise increasing the distance. In preparation: Vroegindeweij et al. "A Permutation distancing test for single-case observational AB phase design data: A Monte Carlo simulation study".

Copy Link

Version

Install

install.packages('pdt')

Monthly Downloads

155

Version

0.0.2

License

GPL-3

Maintainer

Last Published

January 12th, 2023

Functions in pdt (0.0.2)

AB_permutation_test_plot

AB_permutation_test_plot
detrend_A

detrend_A
AB_permutation_test

AB_permutation_test
do_remove_NA_series_above_k

do_remove_NA_series_above_k
detrend_B

detrend_B
AB_permutation_distancing_test

AB_permutation_distancing_test
insert_NA_and_try_to_shift

insert_NA_and_try_to_shift