Skip to content
Prev 143104 / 398500 Next

Simulation study in R

At 02:40 AM 4/29/2008, Arun Kumar Saha wrote:
You have not specified the distributions proper for X and Y. Using a 
uniform distribution is only appropriate when it meets requirements.

One obvious approach is to sample one of the variables, say X, and 
then solve your equation for Y. If you're going to draw a lot of 
samples, it would pay to develop y = g(x) first.

But you need to know how to sample X in the first place. Is its 
distribution uniform, or something else?

================================================================
Robert A. LaBudde, PhD, PAS, Dpl. ACAFS  e-mail: ral at lcfltd.com
Least Cost Formulations, Ltd.            URL: http://lcfltd.com/
824 Timberlake Drive                     Tel: 757-467-0954
Virginia Beach, VA 23464-3239            Fax: 757-467-2947

"Vere scire est per causas scire"