Generate Normal random data

Create simulated values from a chosen probability model, with a fixed seed when you need to repeat the sample.

Guides · Worksheets and data tools · 4 min read

Example: pin diameters

Generate 200 simulated pin diameters in mm to practise an analysis before collecting production measurements.

Download the generator parameters (reference CSV)

This is the same example used in Help. The CSV lists the generator parameters for reference. Enter them manually on Inputs; importing the CSV does not configure the generator or provide measured observations.

1. Create the generator

In the sidebar, choose Data utilities, then Create Random Data. Name the analysis, select New blank worksheet and choose Create analysis. This worksheet receives the generated columns.

2. Set the generated variable

On Inputs, under Generated variables, enter pin_diameter_mm in Column name and 200 in Number of observations. Choose Normal in Distribution.

Enter 12 in Mean (μ) and 0.015 in Standard deviation (σ). Both parameters use mm.

3. Set the seed and destination

Open Reproducibility and enter 42 in Random seed.

Check Worksheet output: the destination should be your analysis worksheet, with one new column. Generate once to reproduce this example. Each successful run appends new columns.

Create Random Data: Inputs with the example’s assignments and settings
The Normal definition and seed 42 on Inputs. The worksheet receives one new column. View full-size image (opens in a new tab)

4. Generate data

Choose Generate data, then open Results. Open Worksheet to see the new columns.

5. Interpret results

  1. Check the generated output

    There is one new column, pin_diameter_mm, with 200 values. These are simulated observations for practice, not measured production data.

  2. Read the model

    The Normal model has mean 12 mm and standard deviation 0.015 mm. These are the supplied model parameters; the generated sample’s mean and standard deviation need not match them exactly.

  3. Read a generated row

    The first generated diameter is about 12.0046 mm. Read each row as one simulated pin. A value above 12 mm is not automatically a rejected pin; no acceptance limits were supplied.

  4. Use the sample deliberately

    Use the generated columns to practise an analysis or explore the supplied model. Seed 42 repeats this sample with the same ordered definitions and calculation version. A blank seed requests a fresh sample. Running Generate data again appends columns; it does not replace the earlier output.

More details: read each result section

Complete result tables use six significant digits, as in Help.

Generation summary

The summary lists pin_diameter_mm, its 200 valid values, the distribution and seed 42.

Calculated example output. Running a practice copy writes new columns to its independent worksheet.

Generation summary · 1 row
DefinitionOutput columnDistributionValid valuesSeed
pin_diameter_mmpin_diameter_mmnormal20042

Captured generator parameters

The Normal model has mean 12 mm and standard deviation 0.015 mm. These are the supplied model parameters; the generated sample’s mean and standard deviation need not match them exactly.

Captured generator parameters · 2 rows
DefinitionParameterValue
pin_diameter_mmmean12
pin_diameter_mmsd0.015

Generated values

All 200 generated rows are retained in generation order. The first generated diameter is about 12.0046 mm. Read each row as one simulated pin. A value above 12 mm is not automatically a rejected pin; no acceptance limits were supplied.

Captured values in original row order. Exports retain full precision.

Generated values · 200 rows
Rowpin_diameter_mm
112.0046
211.9844
312.0113
412.0141
511.9707
611.9805
712.0019
811.9953
911.9997
1011.9872
1112.0132
1212.0117
1312.001
1412.0169
1512.007
1611.9871
1712.0055
1811.9856
1912.0132
2011.9993
2111.9972
2211.9898
2312.0183
2411.9977
2511.9936
2611.9947
2712.008
2812.0055
2912.0062
3012.0065
3112.0321
3211.9939
3311.9923
3411.9878
3512.0092
3612.0169
3711.9983
3811.9874
3911.9876
4012.0098
4112.0111
4212.0081
4311.99
4412.0035
4512.0018
4612.0033
4712.0131
4812.0034
4912.0102
5012.001
5112.0043
5212.0095
5311.9781
5411.9952
5511.9929
5611.9904
5711.9959
5812.0224
5911.987
6012.0145
6111.9748
6211.995
6312.0024
6412.0088
6512.0107
6612.0119
6711.9948
6811.9931
6912.0129
7011.9971
7111.9809
7211.983
7311.9862
7412.0075
7512.0021
7612.0104
7711.9936
7812.0024
7912.0094
8011.9954
8112.0069
8211.9901
8311.9946
8411.9943
8511.9821
8612.0073
8711.993
8812.0002
8912.0072
9012.0067
9112.01
9211.9985
9311.9937
9411.9988
9511.9747
9611.9783
9711.9802
9811.985
9912.006
10011.9864
10111.9943
10212.0195
10311.9947
10412.0111
10511.986
10611.9969
10711.9857
10811.9949
10912.0126
11011.9741
11112.0065
11212.0036
11311.9911
11411.9783
11512.0011
11611.9921
11712.0035
11812.0003
11912.024
12011.9964
12111.9846
12212.0027
12312.0033
12412.0204
12512.0125
12612.0054
12712.0219
12811.9822
12911.9904
13011.9861
13111.9942
13211.9793
13312.0095
13411.9967
13511.9779
13611.9848
13712.0047
13812.0126
13912.03
14012.0437
14112.0062
14211.9852
14311.968
14412.004
14511.9878
14611.9938
14711.9908
14811.9979
14912.016
15012.0024
15111.9976
15211.9845
15311.9749
15411.9927
15511.9992
15612.0265
15712.002
15812.0147
15911.9925
16011.9822
16111.9855
16211.9891
16312.0319
16411.9877
16512.0126
16611.9865
16712.014
16812.0058
16911.9977
17011.9994
17111.9902
17212.0067
17311.9932
17411.9816
17511.9808
17612.0026
17712.0237
17812.0024
17911.9982
18012.0043
18112.0196
18212.0033
18311.9938
18412.0166
18512.0064
18612.023
18712.0027
18811.9816
18911.9795
19012.0248
19112.0259
19211.9973
19311.9943
19412.0219
19511.9834
19611.9866
19712.0096
19811.9941
19911.9999
20011.9975

6. Create a report

Keep Generation summary, Captured generator parameters and Generated values. Record the seed, the model and its units. Label the output as simulated practice data.

Choose Add to report from the completed run. Open Choose individual items and advanced options to select tables and charts, then choose Add to draft. Hidden items stay in the saved analysis.

Name the report and add the purpose of the study and your interpretation. Choose Save, review Preview, then use Export → Download HTML. The example below contains the full selected content, including results beyond one screen.

Complete native output for this Help example, including applicable tables, charts and run notes. Report numbers use the app’s displayed precision. Exported charts are static. On narrow screens, scroll wide charts and tables sideways.
View example report: Generate 200 pin diameters

We use Microsoft Clarity to understand how visitors use this website, including session recordings and heatmaps. You can use the website without accepting analytics.

Your choice is saved in this browser for six months. Privacy notice

Current choice: Not chosen.