plot_Geweke: Plot Geweke statistic.

Description Usage Arguments See Also

View source: R/plots.R

Description

Plot a histogram of the Geweke convergence diagnostic.

Usage

1
2
plot_Geweke(fit, parameter = "beta", D = 1, frac1 = 0.1, frac2 = 0.5,
  plot = TRUE, ...)

Arguments

fit

a fitted object from fit_irtree or preferably from tidyup_irtree_fit. person) or a numeric value specifying the trait value used to plot response styles (e.g., trait=0 for an average person)

parameter

Character. The group of parameters for which the stistic is to be calculated. Using the empty vector ("") uses all parameters in fit.

D

Numeric. If the plot should be grouped according to different types of parameters, D should be equal to the number of different types of processes (e.g., D = 4) for a 1/2/3/ect-dimensional "ext" model or D=3 for a 1/2/ect-dimensional "Boeckenholt2012" model)

frac1

fraction to use from beginning of chain

frac2

fraction to use from end of chain

plot

Logical. Either return a histogram or the results.

...

Optional arguments passed to hist.

See Also

geweke.diag


hplieninger/mpt2irt documentation built on Aug. 4, 2018, 10:52 a.m.