# The following example is derived from the "mix2_data"
# dataset, included in the MOTE library.
# Given previous research, we know that backward strength in free
# association tends to increase the ratings participants give when
# you ask them how many people out of 100 would say a word in
# response to a target word (like Family Feud). This result is
# tied to people’s overestimation of how well they think they know
# something, which is bad for studying. So, we gave people instructions
# on how to ignore the BSG. Did it help? Is there an interaction
# between BSG and instructions given?
# You would calculate one partial GOS value for each F-statistic.
# Here's an example for the main effect 1 with typing in numbers.
omega_g_ss_rm(dfm = 1, dfe = 156,
ssm = 6842.46829,
ssm2 = 14336.07886,
sst = sum(c(30936.498, 6842.46829,
14336.07886, 8657.094, 71.07608)),
mss = 30936.498 / 156,
j = 2, f_value = 34.503746, a = .05)
# Backwards-compatible dotted name (deprecated)
omega.gen.SS.rm(dfm = 1, dfe = 156,
ssm = 6842.46829,
ssm2 = 14336.07886,
sst = sum(c(30936.498, 6842.46829,
14336.07886, 8657.094, 71.07608)),
mss = 30936.498 / 156,
j = 2, Fvalue = 34.503746, a = .05)
Run the code above in your browser using DataLab