SymmetryTest              package:coin              R Documentation

_G_e_n_e_r_a_l _S_y_m_m_e_t_r_y _T_e_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     Testing the symmetry of a response for repeated measurements in a
     complete block design.

_U_s_a_g_e:

     ## S3 method for class 'formula':
     symmetry_test(formula, data, subset = NULL, ...)
     ## S3 method for class 'SymmetryProblem':
     symmetry_test(object, 
         teststat = c("maxtype", "quadtype", "scalar"),
         distribution = c("asympt", "approx", "exact"),
         alternative = c("two.sided", "less", "greater"),
         xtrafo = trafo, ytrafo = trafo, scores = NULL, 
         check = NULL, ...)
     ## S3 method for class 'table':
     symmetry_test(object, ...)

_A_r_g_u_m_e_n_t_s:

 formula: a formula of the form  'y1 + ... + yp ~ x1 + ... + xq |
          block' where the variables on the left and right hand side
          may be measured on arbitrary scales and 'block' is an
          optional factor for stratification.

    data: an optional data frame containing the variables in the model
          formula.

  subset: an optional vector specifying a subset of observations to be
          used.

  object: an object inheriting from class 'SymmetryProblem' or an
          object of class 'table'.

teststat: a character, the type of test statistic to be applied: either
          a standardized scalar test statistic ('scalar'), or a maximum
          type statistic ('maxtype') or a quadratic form ('quadform').

alternative: a character, the alternative hypothesis must be one of
          '"two.sided"' (default), '"greater"' or     '"less"'.  You
          can specify just the initial letter.

distribution: a character, the null distribution of the test statistic
          can be computed 'exact'ly or can be approximated by its
          asymptotic distribution ('asympt') or via Monte-Carlo
          resampling ('approx').

  xtrafo: a function of transformations (see 'trafo') to be applied to
          the variables on the right hand side of 'formula', see below.

  ytrafo: a function of transformations (see 'trafo') to be applied to
          the variables on the left hand side of 'formula', see below.

  scores: a named list of scores to be attached to ordered factors. In
          case a variable is an unordered factor, it is coerced to
          'ordered' first.

   check: a function to be applied to objects of class 'SymmetryTest'
          in order to check for specific forms, see below.

     ...: further arguments to be passed to or from methods.

_D_e_t_a_i_l_s:

     This function handles symmetry problems where each block
     corresponds to exactly one observation with repeated measurements.

_V_a_l_u_e:

     An object inheriting from class 'IndependenceTest' with methods
     'show', 'pvalue' and 'statistic'.

