Reference Guide

Full Command and Function Reference 3-185
Input/Output:
L
3
/A
1
L
2
/A
2
L
1
/A
3
L
2
/I
1
L
1
/I
2
[[ matrix ]]
1
n
position1
z
put
[[ matrix ]]
2
n
position2
[[ matrix ]]
1
{ n
row
m
col
}
1
z
put
[[ matrix ]]
2
{ n
row
m
col
}
2
'
name
matrix
'
n
position1
z
put
'name
matrix
'
n
position2
'name
matrix
'
{ n
row
m
col
}
1
z
put
'name
matrix
'
{ n
row
m
col
}
2
[ vector ]
1
n
position1
z
put
[ vector ]
2
n
position2
[ vector ]
1
{ n
position1
}
z
put
[ vector ]
2
{ n
position2
}
'name
vector
'
n
position1
z
put
'name
vector
'
n
position2
'name
vector
'
{ n
position1
}
z
put
'name
vector
'
{ n
position2
}
{ list }
1
n
position1
obj
put
{ list }
2
n
position2
{ list }
1
{ n
position1
}
obj
put
{ list }
2
{ n
position2
}
'name
list
'
n
position1
obj
put
'name
list
'
n
position2
'name
list
'
{ n
position1
}
obj
put
'name
list
'
{ n
position2
}
L = Level; A = Argument; I = item
Example: The following program uses PUTI and flag –64 to replace A, B, and C in the list with X.
« { A B C } DO 'X' PUTI UNTIL -64 FS? END »
See also: GET, GETI, PUT
PVAR
Type: Command
Description: Population Variance Command: Calculates the population variance of the coordinate values in
each of the m columns in the current statistics matrix (ΣDAT).
The population variance (equal to the square of the population standard deviation) is returned as a
vector of m real numbers, or as a single real number if m = 1. The population variances are
computed using this formula:
1
n
---
x
k
x( )
2
k 1=
n
where x
k
is the kth coordinate value in a column,
x
is the mean of the data in this column, and n is
the number of data points.
Access:
…µ
PVAR
Input/Output:
Level 1/Argument 1 Level 1/Item 1
x
pvariance
[ x
pvariance1
, ...,x
pvariancem
]
See also: MEAN, PCOV, PSDEV, SDEV, VAR
PVARS
Type: Command
Description: Port-Variables Command: Returns a list of the backup objects (:n
port
:name) and the library objects
(:n
port
:n
library
) in the specified port. Also returns the available memory size (RAM).
The port number, n
port
, must be in the range from 0 to 2.