Sorry, but might as well not have answered..., no? Yumiko, you didnt say what your distribution assumptions were. take a look at ?runif and ?rnorm and use that to search for help on your specific topic to get you started.
-Tariq On 12/22/06, Mike Prager <[EMAIL PROTECTED]> wrote: > > You will not learn anything unless you do your own homework. > > "Watanabe Yumiko" <[EMAIL PROTECTED]> wrote: > > > I have a question about R. > > I would like to simulate a following model. > > > > Xt+1=Xt(1+b) > > > > "b" is a random variable. > > > > to get 10 plots. > > > > I haven't used R program, how can I code on R to > > run above simulation? > > > > It rould be grateful if you kindly answer... > > > > thank you. > > > > yumiko watanabe > > > > ______________________________________________ > > R-help@stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > -- > Mike Prager, NOAA, Beaufort, NC > * Opinions expressed are personal and not represented otherwise. > * Any use of tradenames does not constitute a NOAA endorsement. > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.