Returns values of the empirical cumulative probability distribution function for Y, which can be a vector or a list. Cumulative probability is the proportion of data values less than or equal to the value of QuantVec.
If L is the Cholesky root of an nxn matrix A, then after calling cholUpdate L is replaced with the Cholesky root of A+V*C*V' where C is an mxm symmetric matrix and V is an n*m matrix.
A matrix that contains the data. If the data has m rows and n columns, the result is an m-by-m matrix.
A matrix that contains the data. If the data has m rows and n columns, the result is an m-by-n matrix.
Missing values in the levelsList argument are not ignored. For example:
A version of Design for making full-rank versions of design matrices for nominal effects.
Missing values in the levelsList argument are not ignored. For example:
A version of Design for making full-rank versions of design matrices for ordinal effects.
Missing values in the levelsList argument are not ignored. For example:
A list {M, E} such that E * Diag(M) * E = A'.
Creates an n-by-n identity matrix with ones on the diagonal and zeros elsewhere.
Integers that define the range: i is the beginning of the range, j is the end.
The third argument controls whether the row or rows defined in the second argument, X, are added to or deleted from the matrix A. 1 means to add the row or rows and -1 means to delete the row or rows.
Number of rows in matrix. If ncols is not specified, nrows is also used as ncols.
The value used to populate the matrix. If value is not specified, 1 is used.
Creates a matrix of subscript positions where A is nonzero and nonmissing. For the two-argument function, Loc returns a matrix of positions where item is found within list.
Creates a matrix of subscript positions where the values of A have values less than or equal to the values in B. A must be a matrix sorted in ascending order.
Constructs an n-by-m matrix from a list of n lists of m row values or from the number of rows and columns.
Matrix Mult() allows only two arguments, while using the * operator enables you to multiply several matrices.
Finds the values for the listed x’s that maximize the expr.
p is a number between 0 and 1.
Finds the values for the listed x’s that minimize the expr.
p is a number between 0 and 1.
Imputes missing values in yVec based on the mean and covariance.
Returns a matrix of n things taken k at a time (n select k).
Orthonormalizes the columns of matrix A using the Gram Schmidt method. Centered(0) makes the columns to sum to zero. Scaled(1) makes them unit length.
Returns orthogonal polynomials for a vector of indices representing spacings up to the order given.
Returns the QR decomposition of A. Typical usage is {Q, R} = QR(A).
Returns a k by 1 matrix of random integers between 1 and n with no duplicates.
Returns a vector of indices that, used as a subscript to the original vector, sorts the vector by rank. Excludes missing values. Lists of numbers or strings are supported in addition to matrices.
Returns a vector of ranks of the values of vector, low to high as 1 to n, ties arbitrary. Lists of numbers or strings are supported in addition to matrices.
Returns a vector of ranks of the values of vector, but ranks for ties are averaged. Lists of numbers or strings are supported in addition to matrices.
Reshapes the matrix A across rows to the specified dimensions. Each value from the matrix A is placed row-by-row into the re-shaped matrix.
If ncol is not specified, the number of columns is whatever is necessary to fit all of the original values of the matrix into the reshaped matrix.
Returns a copy of a list or matrix source with the items in ascending order.
Returns a copy of a list or matrix source with the items in descending order.
Returns a five column matrix of the form knots||a||b||c||d where knots is the unique values in x.
Evaluates the spline predictions using the coef matrix, where coef is in the same form as Spline Coef().
Returns a matrix column-standardized to mean = 0 and standard deviation = 1.
Constructs an n-by-m matrix. Used in calculation of hat values.