New Python package rcrbounds
The RCR package is now available as a Python module called rcrbounds
. It can be installed from GitHub, or directly from PyPI using the command:
pip install rcrbounds
The Python module can be used to avoid some of the limitations of the Stata package; in particular there is no limit on the number of control variables.
Enhancements to the Stata RCR package
The Fortran executable used for the more difficult calculations has been replaced by the Python module to take advantage of Stata's Python integration tools. The Stata package will continue to use the Fortran executable for users who have a version of Stata lower than 16, or who cannot use the Python module for some other reason.
Other enhancements:
- The
rcr
command now acceptsvce(cluster varname)
as well ascluster(varname)
- The
rcr
command can be used in Stata for MacOS versions 16 and higher. - The new
rcr_config
command can help you investigate and fix any configuration issues.
I have limited access for testing on MacOS, so if you are using the package on MacOS and running into difficulties, I would be happy to help you get them sorted out.