weightsChiBarSquare {varTestnlme} | R Documentation |
Monte Carlo approximation of chi-bar-square weights
Description
The function provides a method to approximate the weights of the mixture components,
when the number of components is known as well as the degrees of freedom of each chi-square distribution
in the mixture, and given a vector of simulated values from the target \bar{\chi}^2(V,C)
distribution. Note that the estimation is based on (pseudo)-random Monte Carlo samples. For reproducible
results, one should fix the seed of the (pseudo)-random number generator.
Usage
weightsChiBarSquare(df, V, dimsCone, orthan, control)
Arguments
df |
a vector with the degrees of freedom of the chi-square components of the chi-bar-square distribution |
V |
a positive semi-definite matrix |
dimsCone |
a list with the dimensions of the cone C, expressed on the parameter space scale |
orthan |
a boolean specifying whether the cone is an orthan |
control |
(optional) a list of control options for the computation of the chi-bar-weights, containing
two elements: |
Value
A list containing the estimated weights, the standard deviations of the estimated weights and the
random sample of M
realizations from the chi-bar-square distribution