montecarlo - How to do Monte Carlo simulations in R -


i have following information:

a = b/c b has mean of 50 sd of 10 c has mean of 3 sd of 0.5 

the distribution variables presumed normal.

how can run monte carlo simulation such situation? help.

for rough monte carlo, can run n experiment:

set.seed(1) n = 1000 = rnorm(n, 50, 10)/rnorm(n, 3, 0.5) mean(a) #[1] 17.09732 

Comments

Popular posts from this blog

java - Incorrect order of records in M-M relationship in hibernate -

command line - Use qwinsta in PowerShell ISE -

php - I want to create a website for polls/survey like this http://www.poll-maker.com/ -