Suppose there is any distribution whose parameter values are known. So how to simulate data in this case?


closed as too broad by John, Scortchi, Glen_b, COOLSerdash, Andy W Sep 9 '13 at 11:57

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • $\begingroup$ Your question is a bit vague. Is there a specific distribution you have in mind? $\endgroup$ – Avraham Sep 9 '13 at 7:20
  • $\begingroup$ Welcome to Cross Validated? Is your question about understanding how to simulate random numbers in general, or just how to do it in Matlab? If the former, it's rather broad; if the latter it would be better to Stack Overflow. $\endgroup$ – Scortchi Sep 9 '13 at 9:01
  • $\begingroup$ There are different techniques for different distributions. Some techniques can be used for many distributions. To answer the question as asked, it's a 'takes a book to answer' question. Please try to narrow the scope of the question a little. $\endgroup$ – Glen_b Sep 9 '13 at 9:46

While your question is rather vague, a classic text on univariate random number generation is Luc Devroye's Non-Uniform Random Variate Generation.

  • $\begingroup$ And a good introduction can be found in Morgan (1984), Elements of Simulation, Ch 4 & 5. $\endgroup$ – Scortchi Sep 9 '13 at 9:18

Not the answer you're looking for? Browse other questions tagged or ask your own question.