beautypg.com

HP Prime Graphing Wireless Calculator User Manual

Page 166

background image

162

Functions and commands

ConfZ2prop

The two-sample Normal confidence interval for the difference
of two proportions. Returns a list containing (in order):

The lower critical Z-value

The lower bound of the confidence interval

The upper bound of the confidence interval

ConfZ2prop(x

1

,x

2

,n

1

,n

2

,C)

Example:

ConfZ2prop(21, 26, 50, 50, 0.95)

returns

{-1.9599…, -0.2946…, 0.0946…)}

ConfT1mean

The one-sample Student’s T confidence interval for a mean.
Returns a list containing (in order):

The degrees of freedom

The lower bound of the confidence interval

The upper bound of the confidence interval

ConfT1mean( ,s,n,C)

Example:

ConfT1mean(0.461368, 0.2776, 50, 0.95)

returns

{49, -.2009…, 0.5402…}

ConfT2mean

The two-sample Student’s T confidence interval for the
difference of two means. Returns a list containing (in order):

The degrees of freedom

The lower bound of the confidence interval

The upper bound of the confidence interval

ConfT2mean(

,

, s

1

,s

2

,n

1

, n

2

,pooled,C)

Example:

ConfT2mean(0.461368, 0.522851, 0.2887, 0.2887,
50, 50, 0.95,0)

returns

{98.0000…, -1.9844, -

0.1760…, 0.0531…)}

Chi2GOF

Chi-square goodness of fit test. Takes as arguments a list of
observed count data, a second list, and a value of 0 or 1. If
value=0, the second list is taken as a list of expected
probabilities. If value=1, then the second list is taken as a list

x

x

1

x

2