HP Prime Graphing Wireless Calculator User Manual
Page 167
Functions and commands
163
of expected counts. Returns a list containing the chi-square
statistic value, the probability, and the degrees of freedom.
Chi2GOF(List1, List2, Value)
Example:
Chi2GOF({10,10,12,15,10,6},{.24,.2,.16,.14,.1
3,.13},0) returns {10.1799..., 0.07029..., 5}
Chi2TwoWay
Chi-square two-way test. Given a matrix of count data, returns
a list containing the chi-square statistic value, the probability,
and the degrees of freedom.
Chi2TwoWay(Matrix)
Example:
Chi2TwoWay([[30,35,30],[11,2,19],[43,35,35]])
returns {14.4302..., 0.0060..., 4}
LinRegrTConf-
Slope
The linear regression confidence interval for the slope. Given
a list of explanatory variable data (X), a list of response
variable data (Y), and a confidence level, returns a list
containing the following values in the order shown:
•
C: the given confidence level
•
Critical T: the value of t associated with the given
confidence level
•
DF: the degrees of freedom
•
β
1
: the slope of the linear regression equation
•
serrSlope: the standard error of the slope
•
Lower: the lower bound of the confidence interval for the
slope
•
Upper: the upper bound of the confidence interval for the
slope
LinRegrTConfSlope(List1, List2, C-value)
Example:
LinRegrTConfSlope({1,2,3,4},{3,2,0,-2},0.95)
returns {0.95, 4.302..., 2, -1.7, 0.1732...,
-2.445..., -0.954...}