[R] Generate Random Samples
jp021 at sjtu.edu.cn
Thu Jun 12 17:24:25 CEST 2008
I am a newbie to R and I am working with a Mac.
Is there any package that I can use to generate random samples from a
user defined distribution ? That is , I define a distribution
function ( maybe multi dimension ) and I want some random samples
generated from my this distribution.
Or, there is a more specific problem . If I have a three component
mixture with each of them being normal distribution( say 3
dimension ) , is there any package that I can use to generate random
samples from this mixture . I know I can generate random samples from
each individual component. However, can I just add them directly????
Antai College of Economics & Management
Department of Mathematics
Shanghai Jiaotong University (Minhang Campus)
800 Dongchuan Road
P. R. China
More information about the R-help