worldbank/stata

manskiBounds p-value line

Opened this issue · 0 comments

Syntax used:

set obs 1000
set seed 1000
gen cutoff= rnormal()
replace cutoff=1 if cutoff>=1
replace cutoff=0 if cutoff<0.5
replace cutoff=. if cutoff>=0.5 & cutoff<1

gen foreign= rnormal()
replace foreign=1 if foreign>=0
replace foreign=0 if foreign<0

manskiBounds reg cutoff foreign, treatment(foreign) outcome(cutoff)

The graph produced by this contains p-value bounding line at p<.05 and P<.01 to the left side of the graph, instead of appearing further to the right.