summary.lawbl {LAWBL}R Documentation

Summary method for lawbl objects

Description

Provide summaries of posterior information for a lawbl object, .

Usage

## S3 method for class 'lawbl'
summary(
  object,
  what = "basic",
  med = FALSE,
  SL = 0.05,
  detail = FALSE,
  digits = 4,
  istart = 1,
  iend = -1,
  ...
)

Arguments

object

A lawbl object

what

A list of options for what to summarize.

  • basic: Basic information about the model and posteriors.

  • lambda: Loading estimates.

  • qlambda: Loading estimates in pattern/Q-matrix format.

  • eigen: Factorial eigen value.

  • dpsx: Diagonal elements in the residual covariance matrix PSX.

  • offpsx: Off-diagonal elements in PSX; local dependence terms.

  • phi: Factorial correlations.

  • thd: Threshold estimates.

  • int: Intercept estimates (for pcirm only).

  • shrink: (Ave) shrinkage for each factor's loadings and LD (if LD in pcfa = T).

  • factor: Are the factors true of not (for EFA).

  • all: All above information.

med

logical; if the posterior median (TRUE) or mean (FALSE) is used as the estimate.

SL

Significance level for interval estimate. The default is .05.

detail

logical; if only significant (FALSE) or all (TRUE) estimates are presented.

digits

Number of significant digits to print when printing numeric values.

istart

Starting point of the Markov chain for summary.

iend

Ending point of the Markov chain for summary; -1 for the actual final point.

...

additional arguments

Value

A list or matrix containing the summarized information based on the option what.

Examples


dat <- sim18cfa0$dat
J <- ncol(dat)
K <- 3
Q<-matrix(-1,J,K);
Q[1:2,1]<-Q[7:8,2]<-Q[13:14,3]<-1

m0 <- pcfa(dat = dat, Q = Q, LD = FALSE,burn = 1000, iter = 1000)
summary(m0) # summarize basic information
summary(m0, what = 'lambda') #summarize significant loadings
summary(m0, what = 'qlambda') #summarize significant loadings in pattern/Q-matrix format
summary(m0, what = 'offpsx') #summarize significant LD terms


[Package LAWBL version 1.5.0 Index]