CAUSALDISCOVERY Procedure

EVALUATE Statement

  • EVALUATE <ESTDAG=libref.data-table> <TRUEDAG=libref.data-table> </ options>;

The EVALUATE statement specifies the options that are related to the accuracy evaluation of the DAG structure learning. You can specify the following options:

ESTDAG=libref.data-table
ESTADJ=libref.data-table

specifies the input data table that contains the adjacency matrix for the estimated DAGs. If you specify both the EVALUATE and LEARN statements, you should specify the OUTDAG= option table in the LEARN statement but not specify the ESTDAG= option table in the EVALUATE statement. This is because the OUTDAG= output table is used as the ESTDAG= input table in the EVALUATE statement. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the input data table. For more information about this two-level name, see the DATA= option and the section Using CAS Sessions and CAS Engine Librefs.

TRUEDAG=libref.data-table
TRUEADJ=libref.data-table

specifies the input data table that contains the adjacency matrix for the true DAG. If you specify both the EVALUATE and SIMULATE statements, you should specify the OUT= option table in the SIMULATE statement but not specify the TRUEDAG= option table in the EVALUATE statement. This is because the OUT= output table is used as the TRUEDAG= input table in the EVALUATE statement. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the input data table. For more information about this two-level name, see the DATA= option and the section Using CAS Sessions and CAS Engine Librefs.

You can also specify the following option after a slash (/):

OUT=libref.data-table

writes the accuracy metrics to the specified output data table. libref.data-table is a two-level name, where libref refers to the library, and data-table specifies the name of the output data table. For more information about this two-level name, see the DATA= option and the section Using CAS Sessions and CAS Engine Librefs.

Last updated: July 09, 2026