- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Simulating data with random() formula
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
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Simulating data with random() formula
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Simulating data with random() formula
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Simulating data with random() formula
Thanks Stan!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Simulating data with random() formula
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.
See Re: how to change default summary statistics displayed in distributions.
Principal Statistical Writer
Manager, Statistical Documentation
JMP Development