Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manskiBounds p-value line #44

Open
SaoriIwa opened this issue Nov 14, 2018 · 0 comments
Open

manskiBounds p-value line #44

SaoriIwa opened this issue Nov 14, 2018 · 0 comments

Comments

@SaoriIwa
Copy link

SaoriIwa commented Nov 14, 2018

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.

@worldbank worldbank deleted a comment from wangrunqigithub Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant