Skip to content

Instantly share code, notes, and snippets.

@ysaito8015
Created August 28, 2014 16:02
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 ysaito8015/fbbeecfcc0520bd4695e to your computer and use it in GitHub Desktop.
Save ysaito8015/fbbeecfcc0520bd4695e to your computer and use it in GitHub Desktop.
#確率密度(対数正規分布 平均log=5,sdlog=1.5 )で
#当選番号は1から600の間から60こ抽出
sample(600,60,prob=dlnorm(1:600, meanlog=5, sdlog=1.5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment