nFDR-internal              package:nFDR              R Documentation

_I_n_t_e_r_n_a_l _n_F_D_R _F_u_n_c_t_i_o_n_s

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

     Internal nFDR functions.

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

     Bf(f, k, x)
     hk(R,k)
     F.tilde(tt,x,n)
     f.tilde(tt,x,n, Smooth = TRUE)

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

       x: a vector of 'p'-values 

       R: vector of 'r' values 

       f: vector of sampled value of function f 

       k: order of Bernstein polynomial approximation

       n: order of Bernstein polynomial approximation for cdf F or pdf
          f 

      tt: vector of values on [0,1] at which Bernstein approximation
          are evaluated 

  Smooth: default is TRUE, F is smoothed first 

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

     Function 'bf' returns Bernstein approximation of function 'f'
     based on sampled values given in argument 'f'. Function 'hk'
     returns value of h(r,k) used in calculation of the variance of the
     estimator tilde_pi_0 of pi0. Function 'F.tilde' returns values of
     Bernstein approximation F_tilde of cdf 'F'. Function 'f.tilde'
     returns values of Bernstein approximation f_tilde of pdf 'f' with
     sampled values of 'f' is numerically estimated by 'F', if  'Smooth
     = FALSE', or by F_tilde.

_A_u_t_h_o_r(_s):

     Zhong Guan {zguan@iusb.edu}

_E_x_a_m_p_l_e_s:

