Libshortcut(); Linregbx - Texas Instruments TI-Nspire Reference Manual

Reference guide
Hide thumbs Also See for TI-Nspire:
Table of Contents

Advertisement

libShortcut()

LibNameString
libShortcut(
LibPrivFlag
list of variables
[,
])
Creates a variable group in the current problem that contains
references to all the objects in the specified library document
libNameString. Also adds the group members to the Variables menu.
You can then refer to each object using its ShortcutNameString.
Set LibPrivFlag=
to exclude private library objects (default)
0
Set LibPrivFlag=
to include private library objects
1
To copy a variable group, see CopyVar on page 18.
To delete a variable group, see DelVar on page 29.

LinRegBx

LinRegBx X,Y
Freq
,
,Category,Include
[
[
][
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 97.)
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
Category is a list of numeric or string 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" on page 131.
Output variable
stat.RegEqn
stat.a, stat.b
2
stat.r
stat.r
stat.Resid
stat.XReg
stat.YReg
stat.FreqReg
ShortcutNameString
,
]]
Description
Regression Equation: a+b·x
Regression coefficients
Coefficient of determination
Correlation coefficient
Residuals from the regression
List of data points in the modified X List actually used in the regression based on restrictions of Freq,
Category List, and Include Categories
List of data points in the modified Y List actually used in the regression based on restrictions of Freq,
Category List, and Include Categories
List of frequencies corresponding to stat.XReg and stat.YReg
This example assumes a properly stored and refreshed library
document named
linalg2
clearmat, gauss1, and gauss2.
|
0.
TI-Nspire™ Reference Guide
Catalog >
that contains objects defined as
Catalog >
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents