Generates empirical confidence intervals for the minimum, 1st quartile, median, mean, sd, 3rd quartile, and maximum valence score.

summarise_valence(
  valence_df,
  valence_var = ave_sentiment,
  bootstrap = 100,
  coverage = 0.95
)

Arguments

valence_df

A dataframe containing valence scores.

valence_var

The variable which contains the valence scores.

bootstrap

Number of re-samples to take to generate empirical CIs.

coverage

Decimal coverage level for empirical CIs. E.g. 0.95 gives 95 per cent CIs.

Value

Summary table with the lower bound, median, mean, and upper bound from the empirical sampling distribution.