NERF: Non-Effortful Responses Filter

View source: R/NERF.R

NERFR Documentation

Non-Effortful Responses Filter

Description

Detect non-effortful responses in questionnaires or examinations.

Usage

NERF(
  theTempData,
  ifInf = "edge",
  ifNA = "central",
  k = 10,
  center = TRUE,
  scale = TRUE,
  fm = "mle",
  rotate = "varimax",
  theModel = "GPCM",
  pack = "mirt",
  SE = FALSE,
  precision = 4,
  N_nodes = 30,
  max_outer = 60,
  max_inner = 60,
  tol = 0.001,
  method = "EM",
  theStep = c(0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1),
  maxBoot = 1000,
  theCompare = "upper",
  theAlt = "less",
  theSig = 0.05,
  ifItem = FALSE,
  theCompareItem = "upper",
  theAltItem = "less",
  theSigItem = 0.05
)

Arguments

theTempData

The data matrix to analysis.

ifInf

= 'NA' 'edge'

ifNA

= 'omit' 'knn' 'central'

k

= 10

center

= TRUE

scale

= TRUE

fm

= 'mle'

rotate

= 'varimax'

theModel

= 'GGUM' 'GPCM' 'PCM' 'GRM'

pack

= 'GGUM' 'mirt'

SE

= FALSE

precision

= 4

N_nodes

= 30

max_outer

= 60

max_inner

= 60

tol

= 0.001

method

= 'EM'

theStep

An array of random replacement ratio.

maxBoot

The maximum steps of bootstrap.

theCompare

= 'between', 'lower', 'upper', 'mean'

theAlt

= 'two.sided', 'greater', 'less'

theSig

= 0.05

ifItem

= FALSE, calculate the items when TRUE.

theCompareItem

= 'between', 'lower', 'upper', 'mean'

theAltItem

= 'two.sided', 'greater', 'less'

theSigItem

= 0.05

Value

The function returns a list.

Author(s)

zdx, zhaodexuan@aliyun.com

Examples

## Not run: 
theNERF <- NERF(theTempData)

## End(Not run)


zhaodexuan/NERF documentation built on Aug. 1, 2023, 1:18 a.m.