The Test of Means tool performs a Welch's two sample t-test* of the difference in mean values for a numeric response field between a control group and one or more treatment groups where group membership is indicated by a grouping field that can either be a character or integer field that indicates to which group each record belongs. The tests are carried out between the designated control (comparison) group and the other groups indicated in the group field.
This tool uses the R programming language. Go to Options > Download Predictive Tools to install R and the packages used by the R Tool.
An Alteryx data streams with at least one numeric and at least one character or integer field.
Select the response field: A numeric field that will be used to calculate the group specific means for comparison.
Select the field with the group identifier: A character or integer field that indicates the group to which each record belongs.
The label for the control group (optional if there are only two groups): All tests are done with respect to one group (the comparison or control group). This option determines which group acts as the comparison (control) group. When there are only two groups, this distinction is not needed, so indicating the control group is optional.
D Output: The D output consists of a table that gives the two group labels for each test along with the test statistic, degrees of freedom, and p-value of the tests which can potentially be used in downstream processing.
R Output: The R output provides a set of report snippets of the test results.
*https://en.wikipedia.org/wiki/Welch's_t_test
©2018 Alteryx, Inc., all rights reserved. Allocate®, Alteryx®, Guzzler®, and Solocast® are registered trademarks of Alteryx, Inc.