Skip to contents

Report condition means and contrasts for each rated dimension. Supply a target map to see whether each condition has the highest mean on the dimension it's meant to move. The recovery table also reports the gap over the strongest competitor in rating points and pooled standard deviations.

Usage

synthetic_check(ratings, target = NULL, conf_level = 0.95)

Arguments

ratings

A long tibble with material_id, condition, dimension, and rating, from synthetic_ratings or import_human_ratings.

target

Optional named character vector mapping condition levels to the dimension each is meant to maximise, e.g. c(economic = "economic", moral = "moral").

conf_level

Confidence level for intervals (default: 0.95).

Value

An object of class rating_validation.

Details

I'd read the recovery table alongside the contrast intervals. The ranking is descriptive; it isn't a test of whether a treatment will work with respondents. Contrasts use robust standard errors, clustered by material when several raters score the same text.

Examples

ratings <- data.frame(
  material_id = rep(paste0("m", 1:4), each = 2),
  condition   = rep(c("economic", "economic", "moral", "moral"), each = 2),
  dimension   = rep(c("economic", "moral"), times = 4),
  rating      = c(6, 2, 7, 3, 2, 6, 3, 7)
)
synthetic_check(ratings, target = c(economic = "economic", moral = "moral"))
#> Synthetic validation
#>   Materials: 4 | raters: 1 | dimensions: 2 
#>   Ratings: 8
#>   Standard errors: HC2 
#>   Manipulation recovery:
#>     ok    economic     on economic     margin +4.00 over moral        (d = +5.66)
#>     ok    moral        on moral        margin +4.00 over economic     (d = +5.66)
#>   Recovered 2/2 intended contrasts