% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/graph_theory_functions.R
\name{compute_str_int_distance}
\alias{compute_str_int_distance}
\title{Compute structural intervention distance}
\usage{
compute_str_int_distance(dag, est_g)
}
\arguments{
\item{est_g}{Square binary matrix. The estimated DAG or CPDAG.}
}
\value{
Numeric --- between 0 and 1. The structural intervention
distance between the DAG \code{dag} and the DAG (or CPDAG) \code{est_g}.
}
\description{
Compute the structural intervention distance between the DAG \code{dag}
and the estimated DAG (or CPDAG) \code{est_g}.
The structural intervention distance is defined as in the paper from
Peters J., and BÃ¼hlmann P.,
\url{https://www.mitpressjournals.org/doi/full/10.1162/NECO_a_00708}.
In general, the structural intervention distance is
not symmetric, i.e., \code{compute_str_int_distance(dag, est_g) !=}
\code{compute_str_int_distance(est_g, dag)}.
}
\keyword{internal}
