Dear All,
I'm an user of Stata 14 and I need to run a Mc Cray (2008) test. To do so, I would like to use the DCdensity command as explained here: https://eml.berkeley.edu/~jmccrary/DCdensity/ I put the ado file in my ado Stata folder and then run the code, exactly as in the DCdensity_example.do
Specifically, I run
set obs 10000
gen Z=invnorm(uniform())
DCdensity Z, breakpoint(0) generate(Xj Yj r0 fhat se_fhat) graphname(DCdensity_example.eps)
and I get this error message
option / required
r(198);
Does anyone know why and how can I solve this issue?
Thanks a lot!
I'm an user of Stata 14 and I need to run a Mc Cray (2008) test. To do so, I would like to use the DCdensity command as explained here: https://eml.berkeley.edu/~jmccrary/DCdensity/ I put the ado file in my ado Stata folder and then run the code, exactly as in the DCdensity_example.do
Specifically, I run
set obs 10000
gen Z=invnorm(uniform())
DCdensity Z, breakpoint(0) generate(Xj Yj r0 fhat se_fhat) graphname(DCdensity_example.eps)
and I get this error message
option / required
r(198);
Does anyone know why and how can I solve this issue?
Thanks a lot!

Comment