callback_comp {callback}R Documentation

Creates the estimation data for a component model

Description

Creates the estimation data for a component model

Usage

callback_comp(
  data = NULL,
  cluster = NULL,
  candid = NULL,
  callback = NULL,
  model = NULL
)

Arguments

data

a data frame.

cluster

A variable name, identifying the test (e.g., a job offer number).

candid

A list of factor names defining the candidates (e.g., gender, origin).

callback

A Boolean variable, equal to TRUE for non negative callbacks.

model

a list of string lists, defining the components of the model, in difference from the reference candidate.

Value

a list with class callback_comp containing:

Author(s)

Emmanuel Duguet

Examples

data(mobility1)
model <- list(c("license"),c("woman"),c("woman","license","inter"))
callback_comp(data = mobility1, cluster = "offer",
candid = c("gender","licenses"), callback = "callback",
model = model)


[Package callback version 0.1.3 Index]