Hello everyone,

I am performing a regression discontinuity with multiple cutoffs. To this end, I follow the user written command "rdms" published in the STATA journal in 2020 (see https://rdpackages.github.io/referen...2020_Stata.pdf) . My code looks like the following: rdms depvar running_var, c(cutoff). Below you find an excerpt from my data.

Performing the code, I always get the error "matsize too small". The matsize is set at 11'000, i.e. the maximum possible. Does anyone know how to circumvent this problem? Even if I substantially reduce the sample to around 15k observations, I still get the error message.

Highly appreciating your help. Happy new year soon!

Best,
Pascal

* Example generated by -dataex-. To install: ssc install dataex
clear
input float(running_var cutoff depvar)
22 20 .078992
22 20 .078992
22 20 .078992
23 20 .025799496
22 20 .025799496
22 20 .025799496
23 20 .030642003
23 20 .030642003
20 20 .001504733
20 20 .0013449395
20 20 .0013449395
21 20 .0013449395
22 20 .001399698
45 50 .001399698
45 50 .001399698
45 50 .02554754
45 50 .02554754
45 50 .02554754
45 50 .14843038
45 50 .14843038
45 50 .14843038
45 50 .09541908
45 50 .09541908
45 50 .09541908
45 50 .071274586
45 50 .071274586
45 50 .071274586
45 50 .019342655
45 50 .019342655
45 50 .019342655
45 50 .008373617
45 50 .006864087
45 50 .027491344
45 50 .027491344
35 40 .027491344
35 40 .000575343
end
------------------ copy up to and including the previous line ------------------

Listed 100 out of 308502 observations
Use the count() option to list more