get_strength_from_test {automatedtests}R Documentation

Returns the strength of a test. This is a different kind of value for each test. It will also return what the value is. These are the different types of data it can return:

Description

This function takes a 'test_object' that contains the result of a statistical test and returns the main coefficient, estimate, or test statistic as a numeric value. It supports various tests such as t-tests, ANOVAs, regressions, and correlations.

Usage

get_strength_from_test(test_object)

Arguments

test_object

An object containing a statistical test result and metadata, expected to have methods 'get_result()' and 'get_test()'.

Value

A named numeric value indicating the strength of the result. The type and meaning depend on the test used:

coefficient

Effect size and direction of predictors in regression

r

Correlation strength and direction

mean difference

Difference in group means

statistic

Test statistic measuring group difference or association

F statistic

Ratio of variances across groups

proportion

Estimated success rate in the sample

non-existent

No interpretable strength measure available


[Package automatedtests version 0.1.2 Index]