compCorr             package:maigesPack             R Documentation

_C_o_m_p_u_t_e _c_o_r_r_e_l_a_t_i_o_n _d_i_f_f_e_r_e_n_c_e_s _a_n_d _t_h_e_i_r _p-_v_a_l_u_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     This function takes two correlation values (or matrices of
     correlation values) and calculate the differences between these
     values (term by term) and their respective p-values by a Fisher's
     Z transformation.

_U_s_a_g_e:

     compCorr(n1, r1, n2, r2)

_A_r_g_u_m_e_n_t_s:

      n1: numerical or matrix of sample sizes for group 1.

      r1: numerical or matrix of correlation values for group 1.

      n2: numerical or matrix of sample sizes for group 2.

      r2: numerical or matrix of correlation values for group 2.

_D_e_t_a_i_l_s:

     This function use Fisher's Z transformation from scripts adapted
     from the Internet: 
      <URL: http://ftp.sas.com/techsup/download/stat/compcorr.html> 
      <URL:
     http://www.fon.hum.uva.nl/Service/Statistics/Two_Correlations.html>

_V_a_l_u_e:

     The result of this function is a list with two numerical items. 

    diff: matrix (or a single number) of differences between
          correlation values from two groups

    pval: matrix (or a single number) of p-values of differences
          between the correlation values

_A_u_t_h_o_r(_s):

     Gustavo H. Esteves <gesteves@vision.ime.usp.br>

_E_x_a_m_p_l_e_s:

     compCorr(12, 0.9, 16, 0.73)

