beautypg.com

P2reg – Texas Instruments TI-86 User Manual

Page 342

background image

330

Chapter 20: A to Z Function and Instruction Reference

20ATOZ.DOC TI-86, Chap 20, US English Bob Fedorisko Revised: 02/13/01 2:42 PM Printed: 02/13/01 3:05 PM Page 330 of 118

P2Reg

STAT CALC menu

Built-in equation variables
such as y1, r1, and xt1 are
case-sensitive. Do not use
Y1, R1, and XT1.

P2Reg

xList

,

yList

,

frequencyList

,

equationVariable

Performs a second order polynomial regression using
real data pairs in xList and yList and frequencies in
frequencyList

. The regression equation is stored to

equationVariable

, which must be a built-in equation

variable such as

y1

,

r1

, and

xt1

. The equation’s

coefficients always are stored as a list to built-in
variable

PRegC

.

Values used for xList, yList, and frequencyList are
stored automatically to built-in variables

xStat

,

yStat

,

and

fStat

, respectively. The regression equation is

stored also to built-in equation variable

RegEq

.

P2Reg

xList

,

yList

,

equationVariable

Uses frequencies of 1.

P2Reg

xList

,

yList

,

frequencyList

Stores the regression equation to

RegEq

only.

In

Func

graphing mode:

{1,2,3,4,5,6}¶L1 b

{1 2 3 4 5 6}

{

L

2,6,11,23,29,47}¶L2 b

{

L

2 6 11 23 29 47}

P2Reg L1,L2,y1 b

Plot1(1,L1,L2) b

Done

ZData b

P2Reg

xList

,

yList

Uses frequencies of 1, and stores the regression
equation to

RegEq

only.

P2Reg

equationVariable

Uses

xStat

,

yStat

, and

fStat

for xList, yList, and

frequencyList

, respectively. These built-in variables

must contain valid data of the same dimension;
otherwise, an error occurs. The regression equation is
stored to equationVariable and

RegEq

.