|
75 | 75 |
|
76 | 76 | Restore replicates from `f`, using `m` to create the desired subtype of [`MixedModelFitCollection`](@ref). |
77 | 77 |
|
78 | | -`f` can be any entity suppored by `Arrow.Table`. `m` does not have to be fitted, but it must have |
| 78 | +`f` can be any entity supported by `Arrow.Table`. `m` does not have to be fitted, but it must have |
79 | 79 | been constructed with the same structure as the source of the saved replicates. |
80 | 80 |
|
81 | 81 | The two-argument method constructs a [`MixedModelBootstrap`](@ref) with the same eltype as `m`. |
|
92 | 92 | # why this weird second method? it allows us to define custom types and write methods |
93 | 93 | # to load into those types directly. For example, we could define a `PowerAnalysis <: MixedModelFitCollection` |
94 | 94 | # in MixedModelsSim and then overload this method to get a convenient object. |
95 | | -# Also, this allows us to write `restorereplicateS(f, m, ::Type{<:MixedModelNonparametricBoostrap})` for |
| 95 | +# Also, this allows us to write `restorereplicateS(f, m, ::Type{<:MixedModelNonparametricBootstrap})` for |
96 | 96 | # entities in MixedModels bootstrap |
97 | 97 | function restorereplicates( |
98 | 98 | f, m::MixedModel, ctype::Type{<:MixedModelFitCollection{T}} |
@@ -193,7 +193,7 @@ performance benefits. |
193 | 193 | - `β`, `σ`, and `θ` are the values of `m`'s parameters for simulating the responses. |
194 | 194 | - `σ` is only valid for `LinearMixedModel` and `GeneralizedLinearMixedModel` for |
195 | 195 | families with a dispersion parameter. |
196 | | -- `progress` controls whehter the progress bar is shown. Note that the progress |
| 196 | +- `progress` controls whether the progress bar is shown. Note that the progress |
197 | 197 | bar is automatically disabled for non-interactive (i.e. logging) contexts. |
198 | 198 | - `optsum_overrides` is used to override values of [OptSummary](@ref) in the models |
199 | 199 | fit during the bootstrapping process. For example, `optsum_overrides=(;ftol_rel=1e-08)` |
|
0 commit comments