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
)
A dataframe containing valence scores.
The variable which contains the valence scores.
Number of re-samples to take to generate empirical CIs.
Decimal coverage level for empirical CIs. E.g. 0.95 gives 95 per cent CIs.
Summary table with the lower bound, median, mean, and upper bound from the empirical sampling distribution.