## Simulating data with random() formula

Community Trekker

Joined:

Jan 19, 2014

Hi,

If I have a column of data (A) and want to simulate a test result on that column (from a normal distribution(SD of 10 and mean = the number in column A), can someone confirm it is right to do it with the following formula:

Random norma()*10+A

If it's not, how can I do it?

also, is there a way to enter the SD a RSD(%)??

Thanks!

Agnès

1 ACCEPTED SOLUTION

Accepted Solutions

Community Manager

Joined:

Aug 8, 2012

Solution

Hello,

You are on the right track.  The Random Normal function by default will use mu =0 and sigma = 1.

This can easily be changed in your formula as shown below:

The Coefficient of Variation is what you need to display the RSD or %RSD.  To display the coefficient of variation look under the red triangle of Summary Statistics and select Customize Summary Statistics.

Check the box next to CV and then click OK.

And if you look at the distribution of both A and the simulated A we do indeed now have an normal distribution for the simulated A.

Best,

Stan

3 REPLIES

Community Manager

Joined:

Aug 8, 2012

Solution

Hello,

You are on the right track.  The Random Normal function by default will use mu =0 and sigma = 1.

This can easily be changed in your formula as shown below:

The Coefficient of Variation is what you need to display the RSD or %RSD.  To display the coefficient of variation look under the red triangle of Summary Statistics and select Customize Summary Statistics.

Check the box next to CV and then click OK.

And if you look at the distribution of both A and the simulated A we do indeed now have an normal distribution for the simulated A.

Best,

Stan

Community Trekker

Joined:

Jan 19, 2014

Thanks Stan!

Staff

Joined:

Jun 23, 2011

If you find yourself going to the Customize Summary Statistics options every time you run the Distribution platform, you might be interested in knowing that you can use Platform Preferences to set the summary statistics that show up.

Michael Crotty
Sr Statistical Writer
JMP Development