goodnessfit(object)lba.ls, lba.ls.fe, lba.ls.logit, lba.mle, lba.mle.fe, lba.mle.logitgoodnessfit function to the method lba.mle, lba.mle.fe and lba.mle.logit returns a list with the slots:goodnessfit function to the method lba.ls, lba.ls.fe and lba.ls.logit returns a list with the slots:van der Ark, A. L. 1999. Contributions to Latent Budget Analysis, a tool for the analysis of compositional data. Ph.D. Thesis University of Utrecht.
print.goodnessfit, lba
data('votB')
# Using LS method (default) without constraint
# K = 2
ex1 <- lba(city ~ parties,
votB,
K = 2)
gx1 <- goodnessfit(ex1)
gx1
# Using MLE method without constraint
# K = 2
exm <- lba(city ~ parties,
votB,
K = 2,
method='mle')
gxm <- goodnessfit(exm)
gxm
Run the code above in your browser using DataLab