estimate_mv_shape_rate {simBKMRdata} | R Documentation |
Helper function to estimate shape, rate, and correlation parameters for observations within a group
Description
Helper function to estimate shape, rate, and correlation parameters for observations within a group
Usage
estimate_mv_shape_rate(x_df, using = c("MoM", "gMLE"))
Arguments
x_df |
A numeric data frame with observations from ONE group |
using |
which method will be used to estimate the multivariate Gamma
shape and rate parameters. Defaults to |
Value
A list of estimated parameters for Multivariate Gamma distribution
(sample size, sample mean, sample correlation matrix sampCorr_mat
, sample
shape vector alpha
, sample rate vector beta
)
Examples
myData <- data.frame(
VALUE1 = c(2.3, 2.7, 5),
VALUE2 = c(4.5, 4.2, 9)
)
estimate_mv_shape_rate(myData)
[Package simBKMRdata version 0.2.1 Index]