Access: | …µPR1 |
|
| |
Flags: | I/O Device | |||
| Device for Wire |
| ||
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 | |||
| the | |||
| 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 | |||
| on the | |||
| 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