Internal functions for the EMT package
ExactMultinomialTest(observed, prob, size, groups, numEvents)
ExactMultinomialTestChisquare(observed, prob, size, groups, numEvents)
MonteCarloMultinomialTest(observed, prob, size, groups,
numEvents, ntrial, atOnce)
MonteCarloMultinomialTestChisquare(observed, prob, size, groups,
numEvents, ntrial, atOnce)
chisqStat(observed,expected)
findVectors(groups,size)
vector describing the observation: contains the observed numbers of items in each category.
vector describing the model: contains the hypothetical probabilities corresponding to each category.
vector containing the expected numbers of items in each category under the assumption that the model is valid.
sample size, sum of the components of the vector observed
.
number of categories in the experiment.
number of possible outcomes of the experiment.
number of simulated samples in the Monte Carlo approach.
a parameter of more technical nature. Determines how much memory is used for big arrays.
These functions are not intended to be called by the user.