Hi Andy, I know it doesn't answer all of your questions but have you read the Posting guide (see the bottom of all posts) ? http://www.R-project.org/posting-guide.html and in particular, try reading "An Introduction to R", chapter 9?
Note that in R, looping is relatively "slow" - if you can do things using a vector, this is much better. Try going to the R-project.org homepage and on the left hand side you'll see Search - does searching for "bootstrap monte carlo" answer your first question? cheers, Sean Chou Andy wrote: > I'm a R beginner. Recently I conduct a project about expected return > that involves using R for calculations. I encounter three questions as > follow: > > Q1. How to use R to demonstrate bootstrapping and Monte Carlo > simulation under 10,000 times of random selection? > Q2. How to do a loop in R? > Q3. How to use R to do binominal tree calculation under multiple periods? > > I'm perplexed by the R commands, so any hints or examples will be > highly appreciated. > > > Andy > > _________________________________________________________________ > 立即申請 MSN Mobile 服務:用手機和 MSN Messenger 網友隨時交談 > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
