gammakernel {Bayesiantreg}R Documentation

the probability of a gamma parameter from the probability density funcion defined by old parameters.

Description

evaluate the probability of a gamma parameter from the probability density function defined by old parameters.

Usage

gammakernel(y, x, z, betas.ini, gammas.now, gammas.old, gl.ini, gpri, Gpri)

Arguments

y

object of class matrix, with the dependent variable

x

object of class matrix, with the variables for modelling the mean

z

object of class matrix, with the variables for modelling the variance

betas.ini

a vector with the beta parameters that define the old p.d.f

gammas.now

a vector with the gamma parameters - new parameters - to evaluate in the old p.d.f

gammas.old

a vector with the gamma parameters that define the old p.d.f

gl.ini

a vector with the degrees of freedom parameters that define the old p.d.f

gpri

a vector with the initial values of gamma

Gpri

a matrix with the initial values of the variance of gamma

Details

Evaluate the probability of a gamma parameter from the probability density function defined by old parameters, according with the model proposed by Marin and Cepeda-Cuervo (_).

Value

value

a vector with the probability for the gamma parameter from the probability density function defined by old parameters.

Author(s)

Margarita Marin mmarinj@unal.edu.co, Edilberto Cepeda-Cuervo ecepedac@unal.edu.co

References

1. Marin and Cepeda-Cuervo (_). A Bayesian regression model for the non-standardized t distribution with location, scale and degrees of freedom parameters. Unpublished

2. Cepeda-Cuervo E. (2001). Modelagem da variabilidade em modelos lineares generalizados. Unpublished Ph.D. tesis. Instituto de Matematicas. Universidade Federal do Rio do Janeiro.

3. Cepeda C., E. and Gamerman D. (2001). Bayesian Modeling of Variance Heterogeneity in Normal Regression Models. Brazilian Journal of Probability and Statistics. 14, 207-221


[Package Bayesiantreg version 1.0.1 Index]