calclambda {MEclustnet} | R Documentation |
Title Compute mixing proportions
Description
Function to compute the each observation's mixing proportions which are modeled as a logistic function of their covariates.
Usage
calclambda(tau, x.mix)
Arguments
tau |
A matrix of logistic regression coefficients, with G rows and number of columns equal to the number of covariates in the mixing proportions model plus 1, for the intercept. |
x.mix |
A matrix of covariates in the mixing proportions model (including dummy variables for any factor covariates), with a column of 1's appended at the front. |
Value
An n x G matrix of mixing proportions.
References
Isobel Claire Gormley and Thomas Brendan Murphy. (2010) A Mixture of Experts Latent Position Cluster Model for Social Network Data. Statistical Methodology, 7 (3), pp.385-405.
See Also
[Package MEclustnet version 1.2.2 Index]