Skip to main content Skip to complementary content

TTest1w_sig - script and chart function

TTest1w_sig() returns the aggregated student's t-test 2-tailed level of significance for a series of values.

This function applies to one-sample student's t-tests where the input data series is given in weighted two-column format.

If the function is used in the data load script, the values are iterated over a number of records as defined by a group by clause.

If the function is used in a chart expression, the values are iterated over the chart dimensions.


TTest1w_sig (weight, value) 

Return data type: numeric


valueThe samples to be evaluated. If a field name for the sample values is not provided in the load script, the field will automatically be named Value.
weightEach value in value can be counted one or more times according to a corresponding weight value in weight.


Text values, NULL values and missing values in the expression value will result in the function returning NULL.


TTest1w_sig( Weight, Value )

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!