mcen_bin_workhorse {mcen}R Documentation

Calculates cluster assignment and coefficient estimates for a binomial mcen.

Description

Calculates cluster assignment and coefficient estimates for a binomial mcen.

Usage

mcen_bin_workhorse(beta, delta = NULL, y, x, family = "mbinomial",
  ky = NULL, gamma_y = 1, eps = 1e-05, clusterMethod = "kmeans",
  clusterIterations = 100, clusterStartNum = 30, cluster_y = NULL,
  max_iter = 10)

Arguments

beta

Initial estimate of coefficients.

delta

Tuning parameter for L1 penalty.

y

Matrix of responses.

x

Matrix of predictors.

family

type of likelihood used two options "mgaussian" or "mbinomial"

ky

Number of clusters used for grouping response variables.

gamma_y

Tuning parameter for the penalty between fitted values for responses in the same group.

eps

Convergence criteria

clusterMethod

Which clustering method was used, currently support kmeans or kmeanspp

clusterIterations

Number of iterations for cluster convergence

clusterStartNum

Number of random starting points for clustering

cluster_y

An a priori definition of clusters. If clusters are provided they will remain fixed and are not estimated. Objective function is then convex.

max_iter

The maximum number of iterations for estimating the coefficients

Author(s)

Brad Price <brad.price@mail.wvu.edu>


[Package mcen version 1.2.1 Index]