wcpm: This is an interface function to call and run wcpm or...

View source: R/Interface.R

wcpmR Documentation

This is an interface function to call and run wcpm or bootstrap.

Description

Copyright (C) 2021 The ORF Project Team

Usage

wcpm(
  calib.data = NA,
  stu.data = NA,
  studentid = "",
  passageid = "",
  season = "",
  grade = "",
  numwords.p = "",
  wrc = "",
  time = "",
  cases = NULL,
  est = "map",
  se = "analytic",
  wo = "internal",
  failsafe = 0,
  bootstrap = 100,
  external = NULL
)

Arguments

calib.data

- mcem class object

stu.data

- student reading data

studentid

The column name in the data that represents the unique student identifier.

passageid

The column name in the data that represents the unique passage identifier.

numwords.p

The column name in the data that represents the number of words in a passage.

wrc

The column name in the data that represents the words read correctly for each case.

time

The column name in the data that represents the time, in seconds, for each case.

cases

- student id vectors, will directly use passage data if no calib.data provided

est

- estimator keyword / c("mle", "map", "eap", "mcmc"), default is mcmc

se

- standard error keyword / c("analytic", "bootstrap"), default is analytic

wo

- wcpm option / c("internal", "external"), default is internal

failsafe

- retry time for bootstrap / default 0, can set to 5 ~ 50

external

- if not NULL, will use not student read passages for estimating

bootstrp

- set K number of bootstrap / default 100

Details

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GNU General Public License is available at http://www.gnu.org/licenses/

Value

WCPM list or Bootstrap dataset


kamataak/orfr documentation built on Nov. 19, 2022, 9:03 p.m.