Skip to content

Instantly share code, notes, and snippets.

@bbdaniels
Created May 23, 2023 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbdaniels/5bb64cb9b7f410389dc6469d4ae1e349 to your computer and use it in GitHub Desktop.
Save bbdaniels/5bb64cb9b7f410389dc6469d4ae1e349 to your computer and use it in GitHub Desktop.
Quick binomial power graph
power oneproportion 0.62 0.5 , n(50(1)150) graph(recast(line) plotopts(lw(thick) lc(red)) xline(100 131,lc(black)) ylab(0 "0%" 0.5 "50%" 0.8 "80%" 0.69 "69%" 1 "100%") yline(.69 .8,lc(black)) note("") title("") subtitle("") )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment