Generate Uniform 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: dispatch delays

Generate 200 simulated dispatch delays in minutes for a practice study. The supplied model allows delays between 0 and 10 minutes.

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 dispatch_delay_min in Column name and 200 in Number of observations. Choose Uniform in Distribution.

Enter 0 in Lower bound and 10 in Upper bound. Both bounds use minutes.

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 Uniform 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, dispatch_delay_min, with 200 values. These are simulated observations for practice, not measured production data.

  2. Read the model

    Under this model, equal-length intervals between 0 and 10 minutes have equal probability. Individual delays need not be evenly spaced, and a sample need not contain equal counts in every interval.

  3. Read a generated row

    The first generated delay is about 7.740 minutes. Read each row as a delay duration, not a clock time or a record of real dispatch performance.

  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 dispatch_delay_min, 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
dispatch_delay_mindispatch_delay_minuniform20042

Captured generator parameters

Under this model, equal-length intervals between 0 and 10 minutes have equal probability. Individual delays need not be evenly spaced, and a sample need not contain equal counts in every interval.

Captured generator parameters · 2 rows
DefinitionParameterValue
dispatch_delay_minlower0
dispatch_delay_minupper10

Generated values

All 200 generated rows are retained in generation order. The first generated delay is about 7.740 minutes. Read each row as a delay duration, not a clock time or a record of real dispatch performance.

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

Generated values · 200 rows
Rowdispatch_delay_min
17.73956
24.38878
38.58598
46.97368
50.941773
69.75622
77.6114
87.86064
91.28114
104.50386
113.70798
129.26765
136.43865
148.22762
154.43414
162.27239
175.54585
180.638173
198.27631
206.31664
217.58088
223.54526
239.70698
248.93121
257.78383
261.94639
274.66721
280.438038
291.54289
306.83049
317.44762
329.6751
333.25825
343.7046
354.69556
361.89471
371.29922
384.75705
392.26909
406.69814
414.37152
428.32678
437.00265
443.12367
458.3226
468.04764
473.87478
482.88328
496.82496
501.39752
511.99908
520.0736227
537.86924
546.64851
557.05165
567.80729
574.58916
585.68741
591.39797
601.1453
616.68403
624.71096
635.65236
647.64999
656.34718
665.53579
675.59207
683.0395
690.308178
704.36717
712.14585
724.08529
738.53403
742.33939
750.583027
762.81384
772.93594
786.61917
795.57032
807.83898
816.64314
824.06387
838.1402
841.66973
850.227121
860.900479
877.22359
884.61877
891.61272
905.01045
911.52312
926.9632
934.46156
943.81021
953.01512
966.30283
973.61813
980.876499
991.18006
1009.61898
1019.08581
1026.99707
1032.6587
1049.69176
1057.78751
1067.1689
1074.49362
1082.72242
1090.96391
1109.02602
1114.55776
1122.02363
1133.05957
1145.7922
1151.76773
1168.56614
1177.5852
1187.19463
1194.32093
1206.27309
1215.84098
1226.49847
1230.844443
1244.15807
1250.416142
1264.93991
1273.29861
1281.44524
1291.03403
1305.87645
1311.70593
1329.2512
1335.81061
1343.4687
1355.90915
1360.228039
1379.58559
1384.82303
1397.82735
1400.8273
1414.86658
1424.90707
1439.37826
1445.71728
1454.73489
1462.66976
1473.31569
1485.20672
1494.38911
1500.216121
1518.26292
1528.96161
1531.40249
1545.54036
1551.08576
1566.7224
1572.81234
1586.59423
1597.26995
1607.68647
1611.07741
1629.16012
1632.30214
1640.374126
1655.54852
1663.70922
1678.2979
1688.08251
1693.17139
1709.52899
1712.90918
1725.15057
1732.55965
1749.36044
1751.64608
1760.449106
1774.35097
1789.92376
1798.91677
1807.48608
1818.90792
1828.93447
1835.18858
1843.15929
1857.72012
1866.61661
1873.73658
1880.944667
1897.4679
1902.62461
1919.36813
1922.40971
1931.22758
1948.31113
1951.53284
1961.79268
1975.99383
1988.74562
1991.96435
2003.10324

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 dispatch delays

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.