TmixDistIF               package:tdist               R Documentation

_T_h_e _i_n_t_e_r_n_a_l _f_u_n_c_t_i_o_n_s _f_o_r _c_o_p_u_t_a_t_i_o_n _o_f _t_h_e _c_d_f, _p_d_f _a_n_d _q_u_a_n_t_i_l_e
_f_u_n_c_t_i_o_n _o_f _a _l_i_n_e_a_r _c_o_m_b_i_n_a_t_i_o_n _o_f _i_n_d_e_p_e_n_d_e_n_t _S_t_u_d_e_n_t'_s _t-_v_a_r_i_a_b_l_e_s

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

     The 'tcdfpdf' computes cdf and/or pdf and the 'tinvvw' quantile
     function of a linear combination of independent Student's
     t-variables with small degrees of freedom (df <= 100).

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

     tcdfpdf(x, tt, wf, funtype = 0, nr)
     tinvvw(p, tt, wf, nr)

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

     For 'tcdfpdf' and 'tinvvw': 

       x: vector of real number in wich cdf and pdf is evaluated.

       p: vector of probabilities.

      tt: base points generated by 'gweights'.

      wf: weight facotrs generated by 'gweights'.

 funtype: default value is 0 (calculates the cdf and pdf). The
          following funtypes are legible: 
           0: tdist calculates cdf and pdf at once, 'yfun = cbind(cdf,
          pdf)'. 
           1: tdist calculates the cumulative distribution function,
          cdf at funx, 'yfun = cdf'. 
           2: tdist calculates the probability density function, pdf at
          funx, 'yfun = pdf'.

      nr: norm of lambda coefficients.

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

     The 'tcdfpdf' gives vector/matrix with calculated function values,
     the result depends on funtype. If 'funtype = 0', value is a matrix
     with two columns (cdf and pdf). 
      The 'tinvvw' gives a list of 

    yfun: vector with calculated function values.

    xfun: vector of function input values. Typically 'xfun = funx'. If
          'funx = numeric(0)', xfun is generated automatically.

   error: Error message. If 'error = 1', some problem has occured
          during calculation, see the warning message. If 'error = 0',
          corret calculations.

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

     Viktor Witkovsky witkovsky@savba.sk. Rewritten from Matlab
     algorithm to R by Alexander Savin savin@savba.sk.

_S_e_e _A_l_s_o:

     'gweights', 'tchfvw', 'tdist'.

