beautypg.com

Inference app functions – HP Prime Graphing Calculator User Manual

Page 368

background image

364

Functions and commands

PredY

Predict Y. Uses the fit from the first active analysis (S1-S5)

found to predict a y-value given the x-value.

PredY(value)

Resid

Residuals. Calculates a list of residuals, based on column data
and a fit defined in the Symbolic view via S1-S5.

Resid(Sn) or Resid()

Resid() looks for the first defined analysis in the Symbolic view
(S1-S5).

Do2VStats

Do 2:variable statistics. Performs the same calculations as
tapping

in the Numeric view of the Statistics 2Var app

and stores the results in the appropriate Statistics 2Var app
results variables. Sn must be one of the Statistics 2Var app
Symbolic view variables S1-S5.

Do2VStats(Sn)

SetDepend

Set dependent column. Sets the dependent column for one of
the statistical analyses S1-S5 to one of the column variables
C0-C9.

SetDepend(Sn,Cn)

SetIndep

Set independent column. Sets the independent column for one
of the statistical analyses S1-S5 to one of the column

variablesC0-C9.

SetIndep(Sn,Cn)

Inference app functions

The Inference app has a single function that returns the same
results as tapping

in the Numeric view of the Inference

app. The results depend on the contents of the Inference app
variables Method, Type, and AltHyp.

DoInference

Calculate confidence interval or test hypothesis. Performs the
same calculations as tapping

in the Numeric view of

the Inference app and stores the results in the appropriate
Inference app results variables.

DoInference()