mark-andrews / psyntur

Tools to help teach data analysis using R to NTU Psychology students
Other
5 stars 2 forks source link

Using `pairwise_t_test` with factorial IVs #16

Open mark-andrews opened 3 years ago

mark-andrews commented 3 years ago

At the moment, we have to do

data_df <- dplyr::mutate(vizverb, IV = interaction(task, response))
pairwise_t_test(time ~ IV, data = data_df)

It would be preferable to do e.g.

pairwise_t_test(time ~ interaction(task, response), data = data_df)

or even

pairwise_t_test(time ~ task * response, data = data_df)
jensroes commented 3 years ago

pairwise_t_test gives only p-values. I think you already have this in mind, but we should have more, estimate, se, df, t-value