singlelevel {sdtalt} | R Documentation |
Called by mlmsdt when only a single unique subject number is in the data file. It is assumed this is not called directly by users (use glm instead).
singlelevel(isold, sold, covs = { }, lk = "logit", int = FALSE, modify = TRUE)
isold |
whether item is old or new |
sold |
whether person says old or new |
covs |
list of covariates |
lk |
link function, "probit" or "logit" usually |
int |
interactions between covariates |
modify |
centering covariates and -5, +.5 coding for isold |
a glm.object is returned and values for d' or lnOR printed to screen
Daniel. B. Wright
x <- runif(100,0,1) singlelevel(rbinom(100,1,x),rbinom(100,1,x))