rbartpackages.dbarts.Ranef¶
- class rbartpackages.dbarts.Ranef(values: Float64[ndarray, 'g'] | Float64[ndarray, 'ndpost g'] | Float64[ndarray, 'nchain ndpost g'], levels: String[ndarray, 'g'])[source]¶
Type of the
type='ranef'return values ofrbart_vi’s methods.This is a tuple, so you can unpack it as
values, levels = .... It carries group names along with an array, providing a Python-side equivalent to R’scolnames.- values: Float64[ndarray, 'g'] | Float64[ndarray, 'ndpost g'] | Float64[ndarray, 'nchain ndpost g']¶
The random effects, with the
ggroups on the last axis.