50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

EquiTrends (version 1.0.0)

W_critical_value: Calculating the critical value for the W distribution as construced in Dette & Schumann (2024).

Description

Calculating the critical value for the W distribution as construced in Dette & Schumann (2024).

Usage

W_critical_value(significance_level)

Value

A numeric scalar with the critical value for the W distribution at the given significance level.

Arguments

significance_level

The significance level for the test. Must be one of 0.01, 0.025, 0.05, 0.1, 0.2, 0.8, 0.9, 0.95, 0.975, 0.99.

References

Dette, H., & Schumann, M. (2024). "Testing for Equivalence of Pre-Trends in Difference-in-Differences Estimation." Journal of Business & Economic Statistics, 1–13. DOI: tools:::Rd_expr_doi("10.1080/07350015.2024.2308121")