hhommodel {fabCI} | R Documentation |
Hierarchical homoscedastic model estimates
Description
Estimate across-group heterogeneity of means
Usage
hhommodel(y, g, group, p1)
Arguments
y |
a numeric vector of data |
g |
a group membership vector, of the same length as y |
group |
the index of the group |
p1 |
number of groups used to pool sample variance |
Details
This function estimates parameters in a hierarchical model for normally distributed groups, where the across-group model for means is normal and the variance is the same across groups.
Value
A vector (s2,df,muw,t2w,s2w), where
s2 is the pooled variance
df is the degree of freedom of the t-quantiles
muw is the estimate mean of the group means
t2w is the estimate variance of the group means
s2w is the estimate within-group variance
Author(s)
Chaoyu Yu
[Package fabCI version 0.2 Index]