fit_dk: Goodness of fit statistics for data with don't know

Description Usage Arguments Details Value Examples

View source: R/fit_dk.R

Description

For data with Don't Know, chi-square goodness of fit between true and model based multivariate distribution

Usage

1
fit_dk(pre_test, pst_test, g, est.param, force9 = FALSE)

Arguments

pre_test

data.frame carrying pre_test items

pst_test

data.frame carrying pst_test items

g

estimates of γ produced from guesstimate

est.param

estimated parameters produced from guesstimate

force9

Optional. There are cases where DK data doesn't have DK. But we need the entire matrix. By default it is FALSE.

Details

fit_nodk

Value

matrix with two rows: top row carrying chi-square value, and bottom row probability of observing that value

Examples

1
## Not run: fit_dk(pre_test, pst_test, g, est.param)

guess documentation built on May 1, 2019, 10:25 p.m.