mccrary

Test for discontinuity in distributions
45 téléchargements
Mise à jour 9 déc. 2020

Afficher la licence

Function calculates test for discontinuity in the distribution of R at cutoff c. The test follows McCrary (2008). This function takes use of the kernelfunc function (Schäublin, 2020).

--- References ---
McCrary, Justin (2008). Manipulation of the running variable in the regression discontinuity design: A density test. Journal of econometrics, 142(2), 698-714.

Jorma Schäublin (2020). kernelfunc (https://www.mathworks.com/matlabcentral/fileexchange/75320-kernelfunc), MATLAB Central File Exchange. Retrieved May 8, 2020.

Citation pour cette source

Jorma Schäublin (2024). mccrary (https://www.mathworks.com/matlabcentral/fileexchange/75424-mccrary), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2019b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

Inspiré par : kernelfunc

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.1

Corrected Calculation of CIs and SD

1.0.0