fitmeasures: Functions to assess model fitting.

Description Usage Arguments Author(s) References Examples

Description

This function contains various measures to assess the model's goodness of fit.

Usage

1
gof(obs, fit, methods=c("FT"), p.out=FALSE)

Arguments

obs

A vector containing the observed values.

fit

A vector containing the fitted values.

methods

A character vector containing one or many of the following methods:

"FT"

Freeman-Tukey Residuals. This is the default test.

"Chisq"

Pearson's Chi-squared test.

"KL"

Symmetrised Kullback-Leibler divergence [1].

p.out

Boolean. Decides whether or not to display plots (on corresponding methods).

Author(s)

Daniel Leon A. dnacuna@mat.uc.cl

References

Gonzalez, J. (2014). SNSequate: Standard and Nonstandard Statistical Models and Methods for Test Equating. Journal of Statistical Software, 59(7), 1-30.

Kolen, M., and Brennan, R. (2004). Test Equating, Scaling and Linking. New York, NY: Springer-Verlag.

[1] https://en.wikipedia.org/wiki/Kullback-Leibler_divergence

Examples

1
2
3
4
data(Math20EG)
mod <- ker.eq(scores=Math20EG,kert="gauss",degree=c(2,3),design="EG")

gof(Math20EG[,1], mod$rj*mod$nx, method=c("FT", "KL"))

jagonzalb/SNSequate documentation built on May 18, 2019, 9:07 a.m.