LinRegBx
Computes the linear regression y = a+b • x on
lists X and Y with frequency Freq . A
summary of results is stored in the
stat.results variable. (See page 172.)
All the lists must have equal dimension
except for Include .
X and Y are lists of independent and
dependent variables.
Freq is an optional list of frequency values.
Each element in Freq specifies the
frequency of occurrence for each
corresponding X and Y data point. The
default value is 1. All elements must be
integers ≥ 0.
Category is a list of category codes for the
corresponding X and Y data.
Include is a list of one or more of the
category codes. Only those data items
whose category code is included in this list
are included in the calculation.
For information on the effect of empty
elements in a list, see "Empty (Void)
Elements," page 232.
Output
Description
variable
Regression Equation: a+b
stat.RegEqn
stat.a, stat.b
Regression coefficients
2
stat.r
Coefficient of determination
stat.r
Correlation coefficient
stat.Resid
Residuals from the regression
List of data points in the modified
stat.XReg
restrictions of
List of data points in the modified
stat.YReg
restrictions of
List of frequencies corresponding to
stat.FreqReg
96
Alphabetical Listing
x
•
X List
Freq
,
Category List
Y List
Freq
,
Category List
actually used in the regression based on
, and
Include Categories
actually used in the regression based on
, and
Include Categories
stat.XReg
and
stat.YReg
Catalog >
Need help?
Do you have a question about the TI-Nspire CAS and is the answer not in the manual?
Questions and answers