Command Reference : Matrix Language Reference
  
 
@slope
Syntax: @slope(A)
Argument: vector or matrix, A
Return: vector or matrix
Returns the slope of an OLS regression on vector or matrix A versus an implicit time trend, as would be used by @detrend. When applied to a matrix, the matrix elements are paired with the implicit time trend in vectorization order.
See also @detrend and @cslope.