beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 162

background image

158

Functions and commands

Example:

HypZ1mean(0.461368, 50, 0.5, 0.2887, 0.05, 1)

returns

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

0.5671…}

HYPZ2mean

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

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

The test Z-value

The test Δ value

The upper-tail probability

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

The critical value of Δ associated with the critical Z-

value

HypZ2mean(

,

, n

1

, n

2

,

σ

1

,

σ

2

,

α,mode)

Mode: Specifies which alternative hypothesis to use:

1: μ

1

< μ

2

2: μ

1

> μ

2

3: μ

1

≠ μ

2

Example:

HypZ2mean(0.461368, 0.522851, 50, 50, 0.2887,
0.2887, 0.05, 1)

returns

{1, -1.0648…, -0.0614…,

0.8565…, 1.6448…, 0.0334…}

HypZ1prop

The one-proportion Z-test. Returns a list containing (in order):

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

The test Z-value

The test π value

The upper-tail probability

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

The critical value of π associated with the critical Z-value

HypZ1prop(x,n,

π

0

,

α,mode)

x

x

x

1

x

2