Generate Exponential 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: arrival gaps

Generate 200 simulated gaps between arrivals, in minutes, for a practice study. Each row represents one waiting time.

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

Enter 6 in Scale (β) and 0 in Threshold. Both parameters use minutes. Scale is the mean waiting time above the threshold, not an arrival rate.

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

  2. Read the model

    With threshold 0 and scale 6 minutes, the model’s mean waiting time is 6 minutes. Short gaps are common, but longer waits remain possible. The sample average need not be exactly 6 minutes.

  3. Read a generated row

    The first generated gap is about 14.425 minutes. It exceeds the model mean, which is allowed. The value is a gap between arrivals, not the time at which an arrival occurred.

  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 arrival_gap_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
arrival_gap_minarrival_gap_minexponential20042

Captured generator parameters

With threshold 0 and scale 6 minutes, the model’s mean waiting time is 6 minutes. Short gaps are common, but longer waits remain possible. The sample average need not be exactly 6 minutes.

Captured generator parameters · 2 rows
DefinitionParameterValue
arrival_gap_minscale6
arrival_gap_minthreshold0

Generated values

All 200 generated rows are retained in generation order. The first generated gap is about 14.425 minutes. It exceeds the model mean, which is allowed. The value is a gap between arrivals, not the time at which an arrival occurred.

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

Generated values · 200 rows
Rowarrival_gap_min
114.4253
214.0171
314.3086
41.67877
50.518624
68.71596
78.45976
818.7458
90.475765
106.27937
110.422618
126.53414
1310.388
142.32137
157.38951
160.92264
170.549464
181.89108
195.4072
202.47791
217.48432
221.34146
2311.0278
247.36252
253.93478
262.50252
272.71992
280.462463
291.07779
304.11192
312.33208
327.58524
334.25094
341.42758
352.76653
363.84934
372.063
381.93147
395.27349
401.78168
418.00221
428.34518
436.5045
440.43817
456.80441
468.12603
476.73224
481.68029
491.92562
500.994415
512.12618
520.126839
531.00414
547.89034
5523.9745
563.38123
571.70424
582.38654
592.16805
600.777802
616.49995
628.25509
639.04685
6431.8593
6512.64
669.8692
676.26095
683.55515
690.266721
705.73962
713.7283
729.04777
7312.168
741.99241
750.298504
765.54893
7715.3205
784.92643
7912.7857
804.51809
817.88396
821.7327
830.806504
840.854885
850.706094
860.328039
8710.2996
882.69169
892.31679
905.60976
911.1236
9211.5098
937.75174
941.97545
951.20355
963.18612
971.82899
980.454432
993.02136
10013.5113
1016.0531
10218.4945
10312.2786
1046.70735
10511.1036
1064.36158
1076.4071
1082.28131
1091.31432
11012.8695
1110.841818
1121.12739
1131.86145
1145.805
1152.48303
1164.1069
11712.9587
1189.25032
1197.02748
1201.0257
1217.13653
1222.72687
1230.742582
1242.39655
1250.423345
1265.49051
1275.83006
1281.7658
1290.275049
13016.3759
1314.84679
1328.92844
1332.11677
13410.0584
1359.84763
1360.558793
13732.5895
1384.04158
1398.38655
1401.46219
1415.90293
1421.71746
1439.68367
1442.77845
1454.67458
1463.16842
1474.52106
1482.83381
1493.67796
1500.172329
1519.52505
15215.0579
1533.48576
15420.4245
1551.00852
15616.7079
1572.18613
1584.01195
15914.622
1600.76155
1611.14591
1628.05517
1635.89427
1641.72781
1652.66015
1664.49911
16711.3985
1682.14992
1694.59039
1702.12511
1711.82591
17212.8013
1733.3395
1748.03655
1751.81622
1761.11621
1776.85445
1788.50472
1795.70532
1807.12411
1816.11311
1826.55174
18313.5281
18416.9408
1853.97414
1860.54447
1878.42241
1885.07716
18914.6428
1906.26684
1910.841618
1926.29524
1933.43467
1940.690817
1951.6431
19620.8562
1972.41756
1981.54855
1992.66464
20012.4041

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 arrival gaps

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.