Appendix A: Functions and Instructions 801
CubicReg MATH/Statistics/Regressions menu
CubicReg
list1
,
list2
[, [
list3
] [,
list4
,
list5
]]
Calculates the cubic polynomial regression and
updates all the statistics variables.
All the lists must have equal dimensions except
for
list5
.
list1
represents xlist.
list2
represents ylist.
list3
represents frequency.
list4
represents category codes.
list5
represents category include list.
Note:
list1
through
list4
must be a variable name
or c1–c99 (columns in the last data variable
shown in the Data/Matrix Editor).
list5
does not
have to be a variable name and cannot be c1–c99
.
In function graphing mode.
{0,1,2,3}! L1 ¸ {0 1 2 3}
{0,2,3,4}! L2
¸ {0 2 3 4}
CubicReg L1,L2
¸ Done
ShowStat
¸
¸
regeq(x)"y1(x) ¸ Done
NewPlot 1,1,L1,L2
¸ Done
¥%