milanwiedemann / suddengains

An R package for identifying sudden gains in longitudinal data
https://milanwiedemann.github.io/suddengains/
Other
7 stars 0 forks source link

add option to change critical value used for 3rd sg crit #16

Closed milanwiedemann closed 5 years ago

milanwiedemann commented 5 years ago

could use base::abs(stats::qt((0.05 / 2), 4)) or something similar to change alpha, e.g.:

' @param sg_crit3_qtp Numeric, significance level of the two-tailed student t-test to determine the critical value to be used for the third criterion.

' Degrees of freedom are based on the number of available data in the three sessions preceding the gain and the three sessions following the gain.

milanwiedemann commented 5 years ago

done