Description Usage Arguments Details Value Author(s) References See Also Examples
Used internally to snopgof to perform the comparisons which form the tail statistics.
1 | gof.compare(observed, simulated)
|
observed |
Vector valued numeric corresponding to the observation. Must have the same length as simulated has columns. |
simulated |
Simulated draws from the null distribution. Each row corresponds to a draw. |
This function should not need to be called by the typical user, as a much faster C function is used in gof.preprocess. Observed and simulated should be pre-centered about some central value before being sent to gof.compare.
A matrix of the comparisons for the tail statistics. Each row corresponds to a tail statistic which can be interpreted, for row i, as "How many draws from the null observation had values along exactly i coordinates which were closer to the chosen centrality measure (i.e. mean, median, or mode) than this observation?" Thus, each column corresponds to an observation.
Josh Lospinoso
http://stats.ox.ac.uk/~lospinos
snopgof
1 | # See the source of \link{gof.preprocess} for advanced uses of this function.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.