beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 164

background image

160

Functions and commands

Mode: Specifies which alternative hypothesis to use:

1: μ < μ

0

2: μ > μ

0

3: μ ≠ μ

0

Example:

HypT1mean(0.461368, 0.2776, 50, 0.5, 0.05, 1)

returns

{1, -.9462…, 0.4614, 0.8277…, 1.6448…,

0.5671…}

HypT2mean

The two-sample T-test for means. Returns a list containing (in
order):

0 or 1 to reject or fail to reject the null hypothesis

The test T-value

The test Δ value

The upper-tail probability

The degrees of freedom

The upper critical T-value associated with the input α-level

The critical value of Δ associated with the critical T-

value

HypT2mean((x

1

,x

2

,s

1

,s

2

, n

1

,n

2

, α,pooled,mode)

Pooled: Specifies whether or not the samples are pooled

0: not pooled

1: pooled

Mode: Specifies which alternative hypothesis to use:

1: μ

1

< μ

2

2: μ

1

> μ

2

3: μ

1

≠ μ

2

Example:

HypT2mean(0.461368, 0.522851, 0.2776,
0.2943,50, 50, 0.05, 0, 1)

returns

{1, -1.0746…,

-0.0614…, 0.8574…, 97.6674…, 1.6606…, 0.0335…}

x

x