View source: R/heterogeneity.R
| heterogeneity_CLAN | R Documentation |
This function tests for statistical significance of all CLAN difference parameters that were specified in the function setup_diff(). It reports all CLAN variables along which there are significant difference parameters, which corresponds to evidence for treatment effect heterogeneity along this variable, at the specified significance level.
heterogeneity_CLAN(x, learner = "best", significance_level = 0.05)
x |
An object of class |
learner |
A character string of the learner whose CLAN generic target estimates are of interest. Default is |
significance_level |
Level for the significance tests. Default is 0.05. |
An object of class "heterogeneity_CLAN", consisting of the following components:
p_valuesA matrix of p values of all CLAN difference parameters for all CLAN variables.
significantThe names of variables with at least one significant CLAN difference parameter ("variables"), their number "num_variables", and the total number of significant CLAN difference parameters "num_params". All significance tests were performed at level significance_level.
min_pvalInformation on the smallest p value: Its value ("value"), the variable in which it was estimated ("variable"), the CLAN difference parameter it belongs to ("parameter"), and whether or not it is significant at level significance_level ("significant").
"learner"Name of the learner whose median estimates we used for the listed results.
"significance_level"The level of the significance tests.
GenericML()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.