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)

