MicroStrategy ONE

Paired T-test, two-sample (for means)

Calculates the P-value of a T-test on the means of two paired sets of data. Two-sample analyses are used to determine the level of variance between the means of paired samples.

Decision

 

Reality: H0 is correct Reality: H1 is correct

Accept H0

No problem

Type 1 error

Reject H0

Type 2 error

No problem

Definition

P-value is basically a probability of making a Type 2 error.

PairedTTest returns the P-value for the hypothesis test in the following form:

  • H0:

  • H1:

Syntax

PairedTTest <Type, Offset> (Argument1, Argument2)

Where:

Argument1 is a fact or metric representing a set of sample values.

Argument2 is a fact or metric representing a set of sample values.

Type is a logical value that determines the form of the function.

Usage Notes

One of the results of this sample is pooled variance, an accumulated measure of spread data about the mean. Pooled variance is calculated as: