Skip to content

Instantly share code, notes, and snippets.

@2015kino
Last active August 29, 2015 14:25
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 2015kino/fb125b2a51a1ce8aa342 to your computer and use it in GitHub Desktop.
Save 2015kino/fb125b2a51a1ce8aa342 to your computer and use it in GitHub Desktop.
Q11e02
data Q11e02;
do i=1 to 37;
X=comb(36,i-1)*0.5**(i-1)*(1-0.5)**(37-i); /*問11計算*/
output;
end;
drop i; /*i列の数値が表示されるので消す*/
run;
proc print data=Q11e02;
run;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment