diff --git a/src/init.jl b/src/init.jl index 490ccf0..59dd1c8 100644 --- a/src/init.jl +++ b/src/init.jl @@ -144,7 +144,7 @@ function Init!(o::StrBootTest{T}) where T # for efficiency when varying r repea o.purerobust = o.robust && !o.scorebs && iszero(o.subcluster) && o.N✻==o.Nobs # do we ever error-cluster *and* bootstrap-cluster by individual? o.granular = o.WREnonARubin ? 2*o.Nobs*o.B*(2*o.N✻+1) < o.N✻*(o.N✻*o.Nobs+o.N⋂*o.B*(o.N✻+1)) : o.robust && !o.scorebs && (o.purerobust || (o.N⋂+o.N✻)*o.kZ*o.B + (o.N⋂-o.N✻)*o.B + o.kZ*o.B < o.N⋂*o.kZ^2 + o.Nobs*o.kZ + o.N⋂ * o.N✻ * o.kZ + o.N⋂ * o.N✻) - +o.jk && (o.granular = false) if o.robust && !o.purerobust (o.subcluster>0 || o.granular) && !o.WREnonARubin && (o.info⋂_✻⋂ = panelsetup(o.ID✻⋂, o.subcluster+1:o.NClustVar)) # info for error clusters wrt data collapsed to intersections of all bootstrapping && error clusters; used to speed crosstab UXAR wrt bootstrapping cluster && intersection of all error clusterings