MPLE_summary: Summarize MPLE fits

Description Usage Arguments Value Examples

Description

Prints out summary tables of fitted model objects from MPLE. Also returns knitr::kable() summary tables.

Usage

1

Arguments

fit

a fitted MPLE object

Value

tables based on the model fit

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##########generating model fit to summarize
#adjacency matrix A
A=igraph::get.adjacency(igraph::make_lattice(c(40,40)))
X=cbind(rep(1,1600),matrix(rnorm(1600*4),ncol=4))
gamma=0.6
beta=matrix(rnorm(5)*0.3,ncol=1)
y=drawSamples(beta,gamma,X,A,burnIn=10,nSamples=1)
fit=MPLE(X = X,y=factor(y),A = A,ciLevel = 0.99,method = "asymptotic")
##########

##########summarizing model fit
MPLE_summary(fit)

automultinomial documentation built on May 2, 2019, 7:12 a.m.