Learn R Programming

EMT (version 1.3.1)

EMT-internal: Internal functions for the EMT package

Description

Internal functions for the EMT package

Usage

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)

Arguments

observed

vector describing the observation: contains the observed numbers of items in each category.

prob

vector describing the model: contains the hypothetical probabilities corresponding to each category.

expected

vector containing the expected numbers of items in each category under the assumption that the model is valid.

size

sample size, sum of the components of the vector observed.

groups

number of categories in the experiment.

numEvents

number of possible outcomes of the experiment.

ntrial

number of simulated samples in the Monte Carlo approach.

atOnce

a parameter of more technical nature. Determines how much memory is used for big arrays.

Details

These functions are not intended to be called by the user.