LOGPOST computes the logposterior density. It should return the function, or a list of the function value and gradient, or a list of the function value, gradient and Hessian. MODE is an initial guess for the mode. SCALE and DERIVSTEP are used for numerical derivatives and scaling. VERBOSE controls printing of iteration information during optimization, PRINT controls printing of summary information. If QUICK is T the summary is based on first order approximations.
Returns the value of the Beta(ALPHA, BETA) distribution function at X. Vectorized.
Returns the density at X of the Beta(ALPHA, BETA) distribution. Vectorized.
Returns the P-th quantile of the Beta(ALPHA, BETA) distribution. Vectorized.
Returns a list of N beta(A, B) random variables. Vectorized.
Returns value of the Binomial(N, P) distribution function at X. Vectorized.
Returns value of the Binomial(N, P) pmf function at integer K. Vectorized.
Returns x-th quantile (left continuous inverse) of Binomial(N, P) cdf. Vectorized.
Returns list of K draws from the Binomial(N, P) distribution. Vectorized.
Returns the value of the standard bivariate normal distribution function with correlation R at (X, Y). Vectorized.
Returns the value of the standard Cauchy distribution function at X. Vectorized.
Returns the density at X of the standard Cauchy distribution. Vectorized.
Returns the P-th quantile(s) of the standard Cauchy distribution. Vectorized.
Returns a list of N standard Cauchy random numbers. Vectorized.
Returns the value of the Chi-Square(DF) distribution function at X. Vectorized.
Returns the density at X of the Chi-Square(DF) distribution. Vectorized.
Returns the P-th quantile of the Chi-Square(DF) distribution. Vectorized.
Returns a list of N Chi-Square(DF) random variables. Vectorized.
Returns the sample covariance matrix of the data columns in ARGS. ARGS may consist of lists, vectors or matrices.
Returns differences for a sequence X.
Returns the value of the F(NDF, DDF) distribution function at X. Vectorized.
Returns the density at X of the F(NDF, DDF) distribution. Vectorized.
Returns the P-th quantile of the F(NDF, DDF) distribution. Vectorized.
Returns a list of N F(NDF, DDF) random variables. Vectorized.
Returns the five number summary (min, 1st quartile, medinan, 3rd quartile, max) of the elements X.
Returns the value of the Gamma(alpha, 1) distribution function at X. Vectorized.
Returns the density at X of the Gamma(ALPHA, 1) distribution. Vectorized.
Returns the P-th quantile of the Gamma(ALPHA, 1) distribution. Vectorized.
Returns a list of N Gamma(A, 1) random variables. Vectorized.
Returns the interquartile range of the elements of X.
Returns the mean of the elements x. Vector reducing.
Returns the median of the elements of X.
Maximizes F starting from START using Newton's method with backtracking. If RETURN-DERIVS is NIL returns location of maximum; otherwise returns list of location, unction value, gradient and hessian at maximum. SCALE should be a list of the typical magnitudes of the parameters. DERIVSTEP is used in numerical derivatives and VERBOSE controls printing of iteration information. COUNT-LIMIT limits the number of iterations
Maximizes F using the Nelder-Mead simplex method. START can be a starting simplex - a list of N+1 points, with N=dimension of problem, or a single point. If start is a single point you should give the size of the initial simplex as SIZE, a sequence of length N. Default is all 1's. EPSILON is the convergence tolerance. ALPHA-DELTA can be used to control the behavior of simplex algorithm.
Returns the value of the standard normal distribution function at X. Vectorized.
Returns the density at X of the standard normal distribution. Vectorized.
Returns the P-th quantile of the standard normal distribution. Vectorized.
Returns a list of N standard normal random numbers. Vectorized.
Fits nonlinear regression model with MEAN-FUNCTION and response Y using initial parameter guess THETA. Returns model object.
Computes the numerical gradient of F at X.
Computes the numerical Hessian matrix of F at X.
DATA: list of compound-data Example:
Returns a sequence of the indices of elements in the sequence of numbers or strings X in order.
Parallel minimum of ITEMS. Vectorized.
Parallel maximum of ITEMS. Vectorized.
Returns value of the Poisson(MU) distribution function at X. Vectorized.
Returns value of the Poisson(MU) pmf function at integer K. Vectorized.
Returns x-th quantile (left continuous inverse) of Poisson(MU) cdf. Vectorized.
Returns list of K draws from the Poisson(MU) distribution. Vectorized.
Returns the P-th quantile(s) of sequence X. P can be a number or a sequence.
Returns a sequence with the elements of the list or array of numbers or strings X replaced by their ranks.
Reads the data in FILE as COLS columns and returns a list of lists representing the columns.
Returns a list of all lisp objects in FILE. FILE can be a string or a symbol, in which case the symbol'f print name is used.
X - list of independent variables or X matrix
Y - dependent variable
INTERCEPT - T to include (default), NIL for no intercept
PRINT - if not NIL print summary information
WEIGHTS - if supplied should be the same length as Y; error variances are
assumed to be inversely proportional to WEIGHTS
PREDICTOR-NAMES
RESPONSE-NAME
CASE-LABELS - sequences of strings or symbols
INCLUDED - if supplied should be the same length as Y, with elements nil
to skip a in computing estimates (but not in residual analysis)
Returns a regression model object. To examine the model further assign the
result to a variable and send it messages.
Example (data are in file absorbtion.lsp in the sample data directory/folder):
(def m (regression-model (list iron aluminum) absorbtion))
(send m :help)
(send m :plot-residuals)
Returns a sequence with the numbers or strings in the sequence X in order.
Returns the standard deviation of the elements x. Vector reducing.
Returns the value of the T(DF) distribution function at X. Vectorized.
Returns the density at X of the T(DF) distribution. Vectorized.
Returns the P-th quantile of the T(DF) distribution. Vectorized.
Returns a list of N T(DF) random variables. Vectorized.
Returns a list of N uniform random variables from the range (0, 1). Vectorized.
Anthony Rossini