SST Internal Functions


    Functions that return variables
    Functions that return scalars
    Functions that operate on or return matrices
    Type cast functions
    Miscellaneous Functions


Functions that return variables:

  • exp(x)
  • log(x)
  • sqrt(x)
  • sin(x)
  • cos(x)
  • tan(x)
  • cumnorm(x)
  • invnorm(x)
  • abs(x)
  • bvnorm(h,k,r)
  • phi(x)
  • floor(x)
  • ceil(x)
  • cumchi(x,df,{nc2)
  • cumf(x,m,n,{nc2)
  • cumt(x,m,{nc2)
  • erf(x)
  • mixchi(x, w1, ..., wn)
  • nchi(x,w1,..,wn,df1,..,dfn,nc1,..,ncn)
  • invchi(p,df)
  • invt(p,df)
  • invf(p,m,n)
  • asin(x)
  • acos(x)
  • atan(x)
  • gamma(x)
  • incgam(y,x)
  • rmills(x)
  • power(x, y)
  • srnd(seed)
  • brnd
  • nrnd
  • urnd
  • vmin(x,y,...,z)
  • vmax(x,y,...,z)
  • rsum(x)
  • Functions that return scalars:

  • min(x)
  • max(x)
  • sum(x)
  • mean(x)
  • stddev(x)
  • median(x)
  • quantile(x, q)
  • nrm(x)
  • Functions that operate on or return matrices:

  • B = inv(A)
  • B = ginv(A)
  • {U,D,V2 = svd(A)
  • B = A' or B = transpose(A)
  • y = tr(A)
  • y = det(A)
  • B = chol(A)
  • B = diag(x)
  • y = vec(A)
  • y = vech(A)
  • y = vecd(A)
  • B = cumsum(A)
  • B = mat(x)
  • x = var(A)
  • B = col(x,y,..,z)
  • B = {A,C,...,D2
  • B = {A;C;...;D2
  • B = kron(A,C)
  • B = ones(n,m)
  • B = zeros(n,m)
  • B = eye(n) or B = eye(n,m)
  • B = toeplitz(x)
  • y = size(A)
  • B = reshape(A,n,m)
  • y = maxindc(A)
  • B = submat(A,x,y)
  • Type cast functions:

  • mat(x)
  • var(x)
  • scalar(x)
  • Miscellaneous functions:

  • miss(x1,x2,...,xn)
  • col(x1, x2, ..., xn)
  • mavg(x, start, stop)
  • index(x)
  • unique(x)

  • Advanced Back SST