RATS 10.1
RATS 10.1

Functions /

Utility and Programming Functions

Home Page

← Previous Next →

 

%(expressions)

Evaluates complex/multiple expressions

%allocend()

Default workspace length

%block(m,n)

Number of blocks for partition

%cal(x,V)

Assigns value to correct “bin”

%checkname(name)

Checks whether name is in symbol table

%choice(label)

Maps label to option choice

%clock(m,n)

Modified modular division

%cm(x)

Convert centimeters to inches

%cputime()

CPU timer (in seconds)

%defined(name)

Status of procedure parameter or option

%dlmgfroma(a)

Creates a matrix which transforms to stationarity a state-space model

%do(i,n,m,expr)

Internal do loop

%execpath()

Returns the path to the RATS executable file

%file(filename)

Returns the unit associated with the file name

%getenv(name)

Returns the string for a given environment variable

%grparm()

Returns GRPARM state

%iabs(n)

Integer absolute value

%idiv(m,n)

Integer division (integer/integer =integer result)

%if(x,y,z)

Evaluate a conditional expression

%imax(m,n)

Maximum of two integers

%imin(m,n)

Minimum of two integers

%l(series)

Get label of a series

%mod(m,n)

Modular division

%ovcheck(x)

Checks for potential overflow

%parmslabels(P)

Returns the labels of the variables in the parameter set

%parmspeek(P)

Extract parameters from a PARMSET

%parmspoke(P,v)

Put vector into a PARMSET

%pt(v,t,x)

Puts information from an array into an array of series

%ratsversion()

Get RATS version number

%regend()

Ending entry of most recent regression

%regsetrange(s,e)

Resets the recoverable range for the most recent regression

%regstart()

Starting entry of most recent regression

%s(label)

Get (or create) series with a given label

%scol(a)

Vector of series from column of array of series

%selseries()

Return series selected in the Series Window

%seq(m,n)

Creates an integer sequence

%seriesentry(ser,t)

For panel data references outside current individual

%slike(label)

Vector of series with names matching a template

%srow(a)

Vector of series from row of array of series

%unitfn(s)

Get file name for I/O unit

%unitfnext(s)

Get extension of file name for I/O unit

%unitfnpath(s)

Get path of file for I/O unit

%unitfnroot(s)

Get root name of file for I/O unit

%valid(x)

Check for valid (non-missing) value

%xt(v,t)

Extracts information from an array of series


 


Copyright © 2025 Thomas A. Doan