Descriptive Statistics
GX-TXT DEV112 P011-bis
Compute descriptive statistics on a dataset and compare the results by changing the computation options.
Enable and select Descriptive Statistics
Open Configuration → Modules → Analysis & Services. Search for Descriptive Statistics or analysis.statistics.descriptive. Check that Health shows Available. Press Enable module if the state is OFF. When the module is available, open Analysis. The checkbox Run / recalculate now in the module tab determines whether the current run includes it. With the checkbox off you can review the configuration without queuing the computation.

Create the lab Session
- Press New Session → Generate Session…. In the catalog GX-TXT Public Session Generators select Descriptive Statistics Student Lab, ID
descriptive_statistics_student_lab, version 1.0.0. - Keep Standalone Session, type
guida-statistiche-descrittiveand press Generate Session. Confirm the success message. The lab Generator has no scientific parameters to fill in. - In the resulting Session look for
student.descriptive.source. The Generator also prepares the module configuration and the selectionsel_001. If a setting is missing, reproduce the configuration of the following steps.

Check the source and choose the observations
In Dataset enable student.descriptive.source. The sub-tab Preview shows type and identity of the table. Use Open Dataset → Canonical table to read the rows. The field sample is the lab index. voltage_V and voltage_mV represent the same voltage in different units. current_A represents a distinct quantity. The Dataset includes intentional non-finite values.
In Dataset sources choose the source with the role primary. In the table Variables select the fields under Numeric variable. Use + Add to add a row and Remove to remove the one next to the command. Keep at least one variable. Choose Data selection (optional X interval) and set the selection sel_001 to include sample from 3 to 12. None uses the whole source. The interval applies to the coordinate associated with the selection, even when the summarized variables are others.

Set statistics and plots
- Control
- NaN / Inf policy
- Choice and effect
omitthe default, excludes non-finite values from each series while keeping their count.errorrejects the computation if a selected series contains non-finite values.
- Control
- Additional percentiles
- Choice and effect
- Enter percentiles from 0 to 100 separated by commas or semicolons. The lab starts from
5;10;90;95. Quartiles and median are already included. The position is estimated by type-7 linear interpolation.
- Control
- Summary Dataset ID
- Choice and effect
- The factory value is
statistics.descriptive.summary. The Generator setsstudent.descriptive.summary. Choose a distinct name to compare several runs.
- Control
- Create automatic distribution plots
- Choice and effect
- On by default. Creates a histogram and a box plot per group of compatible units. Turn it off to get the statistics without the new representations.
- Control
- Histogram bins
- Choice and effect
autodetermines the bins from the Dataset. Use an integer from 2 to 512 to fix their number. With few samples, compare the result across several choices.
- Control
- Histogram normalization
- Choice and effect
countthe default, uses absolute frequencies.probabilitydivides by the finite observations, so the bars of each series add up to 1.densityalso divides by the bin width, so the total area is 1 per series.
- Control
- Box/whisker IQR multiplier
- Choice and effect
- Initially
1.5. The theoretical thresholds are Q1 − multiplier × IQR and Q3 + multiplier × IQR. The whiskers end at the observed extremes inside the thresholds. Reset resets the multiplier to 1.5.
- Control
- Show box/whisker outliers
- Choice and effect
- On by default. The points beyond the whiskers appear as markers. Clearing the checkbox keeps the whisker interval and the Dataset statistics.

Run and read the result
- Leave
voltage_V,voltage_mV,current_Aandconstant_V. Keepsel_001,omit,auto,countand the plots on. - Select Run / recalculate now. In Run update the plan and check the role
primaryand the Dataset. Press Run enabled analyses. The run goes from reading/computing to publishing and plot generation. Wait for Selective analysis completed. - In Results refresh and look for
student.descriptive.summaryand the report. Open the result. In Dataset → Metadata checkanalysis.statistical_results. In Technical Details / Provenance check storage type, columns and SHA.student.descriptive.summary.samplecontains the samples prepared for the automatic plots.
For voltage_V the summary gives 10 observations, 9 finite and one excluded. The mean is 2.22222 V, the median 2.2 V and the IQR 0.8 V. voltage_mV returns the equivalent mean of 2222.22 mV. The constant voltage has a standard deviation of 0. With very small samples, check the field Mathematically defined, for example for the sample variance when the second value is missing. The summary distinguishes the overall count from the valid count.
The sample variance divides by n−1, the population variance by n, with n equal to the valid count. The standard deviation is the square root of the variance. The standard error of the mean uses the sample deviation divided by √n. The value describes a sampling precision under the assumption of independent observations. RMS measures the root mean square relative to zero. Q1 and Q3 bound the central 50% and IQR is Q3 − Q1.


Open and customize the plot variants
In Plots find the histograms and the box plots. V and mV are compatible and share the display in V. The current has a separate group in A. The module’s result images can be viewed. To change the presentation select the corresponding persistent variant with producer plot.dataset, for example the first histogram Plot p0001. Open Graph → Open PNG 1:1 to read it at the original scale.
In the variant plot.dataset uses Presentation → Title and labels…. Set Distribuzione delle tensioni, X axis Tensione (V) and left Y axis Conteggio; save, then update with Render → Rerender. The text changes the presentation. The bar normalization is changed in Analysis and requires a new run. If This image has no editable graph providerappears, select the persistent variant and check the producer.



Repeat to isolate the changes
Remove the other rows of Variables and keep voltage_V. Choose None, percentiles 20,80, five bins, probability, whisker multiplier 2, and turn off the outlier markers. Run as stat.descrittiva.probabilita. Repeat with density as stat.descrittiva.densita. With the same observations the two statistics tables are equivalent; the scale of the histogram changes. Use new IDs to avoid mixing up the results.
Finally try error on voltage_V and review the details in Run. The trace contains non-finite cells and the new requested Dataset stays absent. Restore omit. With the automatic plots off you can regenerate the summary without creating new variants.