compareModels: compare ConQuest models

Description Usage Arguments Value Author(s) Examples

Description

retrieves model information ( sample size, deviance, number of parameters ) and calculates AIC and BIC; if more than 1 model is specified models are compared ( AIC difference, BIC difference, Chi square prob. )

Usage

1
compareModels ( path , xlsx = NULL )

Arguments

path

either 1 of 4 inputs: [1] full path (directory + file name) of a ConQuest shw file [2] a list of ConQuest shw files (full paths) [3] a character vector of ConQuest shw files (full paths) [4] a folder in which it will be searched for ConQuest shw files

xlsx

full path (directory + file name) to Excel to be written (don't forget ".xlsx" suffix)

Value

returns a list of 2 data.frames: the first called 'models' contains model information; the second called 'model.comparison' contains information of model comparison

Author(s)

Martin Hecht

Examples

1
2
3
4
5
6
7
## Not run: 
# just run any example of \link{automateModels}
# then:
#      compareModels ( <folder> ) 
# e.g. compareModels ( "C:/temp/automateModels/Example3" ) 

## End(Not run)

eatRest documentation built on May 2, 2019, 6:25 p.m.