calclambda: Title Compute mixing proportions

Description Usage Arguments Value References See Also

View source: R/calclambda.R

Description

Function to compute the each observation's mixing proportions which are modeled as a logistic function of their covariates.

Usage

1
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

MEclustnet


MEclustnet documentation built on Oct. 10, 2019, 5:04 p.m.