Skip to content

Commit

Permalink
Add text about causal effects to output
Browse files Browse the repository at this point in the history
  • Loading branch information
maltelueken committed Nov 8, 2023
1 parent 1f545af commit dec9845
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/classicProcess.R
Original file line number Diff line number Diff line change
Expand Up @@ -1354,6 +1354,11 @@ ClassicProcess <- function(jaspResults, dataset = NULL, options) {
parEstContainer <- createJaspContainer("Parameter estimates")
parEstContainer$dependOn(.procGetDependencies())

parEstContainer[["warning"]] <- createJaspHtml(text = gettext(
"<b>Important</b>: Parameter estimates are causal effects and need to be treated and interpreted as such.
Causal effects are only meaningful if they are identified by the model, that is, all confounding effects are accounted for."
))

jaspResults[["parEstContainer"]] <- parEstContainer
}

Expand Down

0 comments on commit dec9845

Please sign in to comment.