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
Plateformes compatibles
Windows macOS LinuxTags
Remerciements
Inspiré par : kernelfunc
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.1 | Corrected Calculation of CIs and SD |
||
1.0.0 |