I'm trying to find the sample size for an MDES for a regression discontinuity analysis, and I stumbled upon the suite of commands rdpow, rdrobust, and rdsampsi. When attempting to run the most basic form of the rdsampsi command (rdsampsi depvar runvar), Stata responds with the error "option bwcheck() not allowed". Why is Stata displaying this error when I'm not even trying to use the bwcheck() option (nor am I trying to use any option...)? The same exact thing happens when I try to use rdpow (rdpow depvar runvar). The only command that works is rdrobust, but I'm not sure how useful the output here is for my purposes, which is finding a sample size. The Stata Journal article for this package can be read here.
Thanks to anyone who can give me any direction here!
Related Posts with Error r(198)-- "option bwcheck() not allowed" displays when attempting to use the rdsampsi command
Pca using panel dataI'm trying to form an index for several countries at several times using panel data. I'm using diffe…
LATE and ATE with continuous treatment and instrumentHi, I am looking for a Stata command which allows me to estimate ATE (Average Treatment Effect), in…
IV: creating an interaction termHi all, I'm using an IV and I need to include an interaction term using the instrumented endogenous…
Reshape dataI have the following data related to covid 19 cases and deaths. The variable "indicator" gives me va…
Linking to specific posts in a Statalist threadI'm embarrassed to post this since I'm sure the answer is simple but I couldn't find it in the Stata…
Subscribe to:
Post Comments (Atom)
0 Response to Error r(198)-- "option bwcheck() not allowed" displays when attempting to use the rdsampsi command
Post a Comment