The Determinant Selection Table

To select determinants it is important to inspect the univariate distributions, ideally while looking at the raw data, while simultaneously inspecting bivariate associations with the ultimate target of the intervention (usually a target behavior or proxy thereof). For this purpose, Confidence Interval-Based Estimation of Relevance plots have been developed (behaviorchange::CIBER()).

However, sometimes too many determinants have to be compared, and it can be helpful to reduce the available information to facilitate retaining an overview. For this goal, the Potential for Change Index can be used. However, keep in mind that the practice of reducing relatively rich data to single quantitative estimates obfuscates many features of the determinant structures, and so should never be used without also inspecting the raw data.

The behaviorchange package has a function that allows you to quickly produce a table with the Potential for Change Indices for a series of (sub-)determinants. This table can be created with the behaviorchange::determinant_selection_table() command.

We will first load an example dataset:

dat <- get(data("BBC_pp15.1", package="behaviorchange"));

Then, for convenience, we will select all expectations (sometimes also called beliefs) relating to the effects of using a high dose of MDMA, and store those variable names in a vector:

subdets <-
  grep(
    "highDose_AttBeliefs_",
    names(dat),
    value=TRUE
  );

Then we can produce the Determinant Selection Table, using the intention measure as target:

behaviorchange::determinant_selection_table(
  data=dat,
  determinants = subdets,
  target = 'highDose_intention'
);

Determinant Selection Table

(Sub-)determinant Lower bound Current Upper bound Weight Potential for Change Index
highDose_AttBeliefs_long -3 1.269 3 0.18 0.288
highDose_AttBeliefs_intensity -1 2.042 3 0.118 0.108
highDose_AttBeliefs_intoxicated -1 2.136 3 -0.035 -0.025
highDose_AttBeliefs_energy -3 0.72 3 0.141 0.319
highDose_AttBeliefs_euphoria -3 0.836 3 0.385 0.829
highDose_AttBeliefs_insight -3 -0.15 3 0.289 0.91
highDose_AttBeliefs_connection -3 0.357 3 0.306 0.802
highDose_AttBeliefs_contact -3 0.338 3 0.322 0.85
highDose_AttBeliefs_sex -3 -0.254 3 0.246 0.787
highDose_AttBeliefs_coping -3 0.901 3 0.078 0.17
highDose_AttBeliefs_isolated -3 0.573 3 -0.149 -0.359
highDose_AttBeliefs_boundaries -3 -0.061 2 0.125 0.257
highDose_AttBeliefs_music -3 1.118 3 0.221 0.417
highDose_AttBeliefs_hallucinate -2 1.382 3 -0.052 -0.084
highDose_AttBeliefs_timeAwareness -2 1.66 3 0.06 0.081
highDose_AttBeliefs_memory -3 -1.061 3 0.276 1.121
highDose_AttBeliefs_health -3 -1.844 2 0.268 1.029
highDose_AttBeliefs_better -3 -0.094 3 0.551 1.704
highDose_AttBeliefs_physicalSideEffects -3 1.198 3 -0.34 -0.613
highDose_AttBeliefs_psychicSideEffects -3 1.09 3 -0.336 -0.641
highDose_AttBeliefs_regret -3 0.637 3 -0.421 -0.994

We can also easily sort by one of the columns to pass that column number as sortBy. For example, we can sort by the Potential for Change Index (which is in column 6) like this:

behaviorchange::determinant_selection_table(
  data=dat,
  determinants = subdets,
  target = 'highDose_intention',
  sortBy=6
);

Determinant Selection Table

(Sub-)determinant Lower bound Current Upper bound Weight Potential for Change Index
highDose_AttBeliefs_better -3 -0.094 3 0.551 1.704
highDose_AttBeliefs_memory -3 -1.061 3 0.276 1.121
highDose_AttBeliefs_health -3 -1.844 2 0.268 1.029
highDose_AttBeliefs_insight -3 -0.15 3 0.289 0.91
highDose_AttBeliefs_contact -3 0.338 3 0.322 0.85
highDose_AttBeliefs_euphoria -3 0.836 3 0.385 0.829
highDose_AttBeliefs_connection -3 0.357 3 0.306 0.802
highDose_AttBeliefs_sex -3 -0.254 3 0.246 0.787
highDose_AttBeliefs_music -3 1.118 3 0.221 0.417
highDose_AttBeliefs_energy -3 0.72 3 0.141 0.319
highDose_AttBeliefs_long -3 1.269 3 0.18 0.288
highDose_AttBeliefs_boundaries -3 -0.061 2 0.125 0.257
highDose_AttBeliefs_coping -3 0.901 3 0.078 0.17
highDose_AttBeliefs_intensity -1 2.042 3 0.118 0.108
highDose_AttBeliefs_timeAwareness -2 1.66 3 0.06 0.081
highDose_AttBeliefs_intoxicated -1 2.136 3 -0.035 -0.025
highDose_AttBeliefs_hallucinate -2 1.382 3 -0.052 -0.084
highDose_AttBeliefs_isolated -3 0.573 3 -0.149 -0.359
highDose_AttBeliefs_physicalSideEffects -3 1.198 3 -0.34 -0.613
highDose_AttBeliefs_psychicSideEffects -3 1.09 3 -0.336 -0.641
highDose_AttBeliefs_regret -3 0.637 3 -0.421 -0.994