*! version 0.0.1 05feb2024

Syntax

state

Description

state is part of the crossvalidate suite of tools to implement
cross-validation methods with Stata estimation commands. state is used
internally by the xv and xvloo commands to return information
about the current state to the end user and to bind that information to the
dataset via dataset characteristics.

Example

state

Returned Values

The following lists the names of the r-macros and their contents.

r(rng) the current set rng setting

r(rngcurrent) the current RNG in effect

r(rngstate) the current state of the runiform() generator

r(rngseed) the seed last set for the stream RNG

r(rngstream) the current stream of the stream RNG

r(filename) the name of the file loaded in memory

r(filedate) the last saved date of the file in memory

r(version) the current Stata version

r(currentdate) the current date

r(currenttime) the current time

r(stflavor) the flavor of Stata currently in use (i.e., BE, SE, MP)

r(processors) the number of processors currently set for use

r(hostname) the name of the host machine

r(machinetype) description of the hardware platform

Additional Information

If you have questions, comments, or find bugs, please submit an issue in the crossvalidate GitHub repository.

Contact

William R. Buchanan, Ph.D.

Sr. Research Scientist, SAG Corporation

SAG Corporation

wbuchanan at sagcorp [dot] com

Steven D. Brownell, Ph.D.

Economist, SAG Corporation

SAG Corporation

sbrownell at sagcorp [dot] com