Learn R Programming

Bayesthresh (version 2.0.1)

Bayesian thresholds mixed-effects models for categorical data

Description

This package fits a linear mixed model for ordinal categorical responses using Bayesian inference via Monte Carlo Markov Chains. Default is Nandran & Chen algorithm using Gaussian link function and saving just the summaries of the chains. Among the options, package allow for two other options of algorithms, for using Student's "t" link function and for saving the full chains.

Copy Link

Version

Install

install.packages('Bayesthresh')

Monthly Downloads

13

Version

2.0.1

License

GPL (>= 2)

Maintainer

Fabio Mathias Correa

Last Published

March 26th, 2013

Functions in Bayesthresh (2.0.1)

plot.random.effects

Plot random effects of model
predict.Bayesthresh

Extract the predict values
Bayesthresh

Bayesian thresholds mixed-effects models for categorical data
sensory

Sensory analysis of banana
ACGaussian

Albert and Chib algorithm with Gaussian distribution for latent variable
NCt

Nandram and Chen (1996) algorithm with t-Student distribution for latent variable
compVar

Variance component estimates
NCGaussian

Nandram and Chen (1996) algorithm with Gaussian distribution for latent variable
ACt

Albert and Chib algorithm with t-Student distribution for latent variable
random.effects

Extract the random effects of the model
summary.Bayesthresh

Summary
coef.Bayesthresh

Coefficients for the fixed effects model
MCMCsample

MCMC sample
MCGaussian

Kizilkaya et. al. (2003) algorithm with Gaussian distribution for latent variable
MCt

Kizilkaya et. al. (2003) algorithm using Student's "t" distribution as link function
Bayes.factor

Bayes factor of the two models