Prints the output of a blim model object.

# S3 method for blim
print(x, P.Kshow = FALSE, errshow = TRUE,
      digits=max(3, getOption("digits") - 2), ...)

Arguments

x

an object of class blim, typically the result of a call to blim.

P.Kshow

logical, should the estimated distribution of knowledge states be printed?

errshow

logical, should the estimates of careless error and lucky guess parameters be printed?

digits

a non-null value for digits specifies the minimum number of significant digits to be printed in values.

...

further arguments passed to or from other methods. None are used in this method.

Value

Returns the blim object invisibly.

See also

Examples

data(DoignonFalmagne7)
 
blim1 <- blim(DoignonFalmagne7$K, DoignonFalmagne7$N.R)
print(blim1, showP.K = TRUE)
#> 
#> Basic local independence models (BLIMs)
#> 
#> Number of knowledge states: 9
#> Number of response patterns: 32
#> Number of respondents: 1000
#> 
#> Method: Minimum discrepancy
#> Number of iterations: 1
#> Goodness of fit (2 log likelihood ratio):
#> 	G2(13) = 91.283, p = 7.9381e-14
#> 
#> Minimum discrepancy distribution (mean = 0.254)
#>   0   1   2 
#> 760 226  14 
#> 
#> Mean number of errors (total = 0.254)
#> careless error    lucky guess 
#>     0.16400059     0.09000041 
#> 
#> Error and guessing parameters
#>       beta      eta
#> a 0.092089 0.000001
#> b 0.088720 0.000001
#> c 0.045058 0.040640
#> d 0.000001 0.040858
#> e 0.000001 0.054722
#>