Description Usage Arguments See Also
A sub-function of StagedChoiceSplineMix. This function performs an EM algorithm for mixtures of two-stage logistic regressions.
1 2 3 4 5  | twostglogitregmixEM(yb = NULL, idb = NULL, yw = NULL, idw = NULL,
  xb = NULL, xw = NULL, xb.class = NULL, xw.class = NULL,
  sp.cols = NULL, num.knots = NULL, sp.knots = NULL, betab = NULL,
  betaw = NULL, lambda = NULL, k = NULL, epsilon = 1e-06, maxit = 500,
  maxrestarts = 100, maxer = 20, verb = FALSE)
 | 
yb | 
 The 1st stage binary variable (browsing). See   | 
idb | 
 Corresponding id for yb. See   | 
yw | 
 The 2nd stage binary variable (writing). See   | 
idw | 
 Corresponding id for yw. See   | 
xb | 
 Corresponding covariance matrix for yb. See   | 
xw | 
 Corresponding covariance matrix for yw. See   | 
xb.class | 
 Corresponding latent classes for yb.  | 
xw.class | 
 Corresponding latent classes for yw.  | 
sp.cols | 
 See   | 
num.knots | 
 See   | 
sp.knots | 
 See   | 
betab | 
 See   | 
betaw | 
 See   | 
lambda | 
 See   | 
k | 
 See   | 
epsilon | 
 See   | 
maxit | 
 See   | 
maxrestarts | 
 See   | 
maxer | 
 See   | 
verb | 
 See   | 
StagedChoiceSplineMix 
regmixEM
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.