Access:

…µPR1

 

 

Flags:

I/O Device (–33), Printing Device (–34), Doublespa ced Printing (–37), Linefeed (–38), I/O

 

Device for Wire (–78). If flag –34 is set, flag –33 must be clear.

 

Input/Output:

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

object

object

 

CR, DELAY,

 

 

See also:

OLDPRT, PRLCD, PRST, PRSTC, PRVAR

 

 

 

 

 

 

PREDV

Command

 

 

Type:

 

 

Description:

Predicted yValue Command: Returns the predicted d ependentvariable value ydependent, based on

 

the independentvariable value xindependent, the currently selected statistical model, and the current

 

regression coefficients in the reserved variable ΣPAR.

 

 

 

PREDV is the same as PREDY. See PREDY.

 

 

Access:

…µPREDV

 

 

Input/Output:

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

xindependent

ydependent

See also:

PREDY

 

 

 

 

 

 

 

 

 

 

 

PREDX

Command

 

 

Type:

 

 

Description:

Predicted xValue Command: Returns the predicted i ndependentvariable value xindependent, based

 

on the dependentvariable value ydependent, the currently selected statistical model, and the current

 

regression coefficients in the reserved variable ΣPAR.

 

 

 

The value is predicted using the regression coefficients most recently computed with LR and

 

stored in the reserved variable ΣPAR. For the linear statistical model, the equation used is this:

 

 

ydependent = (mxindependent) + b

 

 

 

where m is the slope (the third element in ΣPAR) and b is the intercept (the fourth element in

 

ΣPAR).

 

 

 

For the other statistical models, the equations used by PREDX are listed in the LR entry.

 

If PREDX is executed without having previously generated regression coefficients in ΣPAR, a

 

default value of zero is used for both regression coefficients, and an error results.

Access:

…µPREDX

 

 

Input/Output:

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

ydependent

xindependent

 

Given five

 

 

Example:

columns of data in ΣDAT, the command sequence:

 

2 XCOL 5 YCOL LOGFIT LR 23 PREDX

sets column 2 as the independent variable column, sets column 5 as the dependent variable column, and sets the logarithmic statistical model. It then executes LR, generating intercept and slope regression coefficients, and storing them in ΣPAR. Then, given a dependent value of 23, it returns a predicted independent value based on the regression coefficients and the statistical model.

See also: COLΣ, CORR, COV, EXPFIT, ΣLINE, LINFIT, LOGFIT, LR, PREDY, PWRFIT, XCOL,

YCOL

3176 Full Command and Function Reference

Page 296
Image 296
HP 50g Graphing, 48gII Graphing manual Predv, Predx, …µPR1, Object, OLDPRT, PRLCD, PRST, PRSTC, Prvar