| rttestIS | R Documentation | 
Robust Independent Samples T-Test
rttestIS( data, deps, group, yuen = TRUE, tr = 0.2, mest = FALSE, method = "mom", yuenbt = FALSE, nboot = 599, md = FALSE, ci = FALSE, es = FALSE, esci = FALSE )
data | 
 the data as a data frame  | 
deps | 
 a vector of strings naming the dependent variables in
  | 
group | 
 a string naming the grouping variable in   | 
yuen | 
 
  | 
tr | 
 a number between 0 and 0.5, (default: 0.2), the proportion of measurements to trim from each end, when using the trim and bootstrap methods  | 
mest | 
 
  | 
method | 
 
  | 
yuenbt | 
 
  | 
nboot | 
 a number (default: 599) specifying the number of bootstrap samples to use when using the bootstrap method  | 
md | 
 
  | 
ci | 
 
  | 
es | 
 
  | 
esci | 
 
  | 
A results object containing:
results$ttest  | the table of t-test results | ||||
Tables can be converted to data frames with asDF or as.data.frame. For example:
results$ttest$asDF
as.data.frame(results$ttest)
data('eurosoccer', package='WRS2')
SpainGermany <- subset(eurosoccer, eurosoccer$League == 'Spain' | eurosoccer$League == 'Germany')
SpainGermany <- droplevels(SpainGermany)
rttestIS(SpainGermany,
         dep = 'GoalsScored',
         group = 'League',
         yuen = TRUE,
         mest = TRUE)
#
#  ROBUST INDEPENDENT SAMPLES T-TEST
#
#  Robust Independent Samples T-Test
#  ---------------------------------------------------------
#                                  t         df      p
#  ---------------------------------------------------------
#    GoalsScored    Yuen's test     0.297    17.3    0.770
#                   M-estimator    -0.933            0.993
#  ---------------------------------------------------------
#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.