BMAweight_gamma {EMOTIONS} | R Documentation |
Estimate normalized model weights using an Expectation–Maximization (EM) algorithm with a gamma distribution
Description
Estimate normalized model weights using an Expectation–Maximization (EM) algorithm with a gamma distribution
Usage
BMAweight_gamma(converged_models, x, trait)
Arguments
converged_models |
A list containing the fitted models for the individual |
x |
A data frame containing the daily milking records for the individual |
trait |
The name of the column containing daily milking records |
Value
A vector containing the normalized model weights based on the Bayesian Model Averaging (BMA) approach proposed by Duan et al. (2006), adapted to use a gamma distribution
[Package EMOTIONS version 1.0 Index]