You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second model is notoriously hard to fit. Different optimizers give very different parameter estimates but with similar values of the objective. I think this is because the model is ill-defined as Source is constant within each Lot.
julia>groupby(DataFrame(MixedModels.dataset(:oxide)), [:Source, :Lot])
GroupedDataFrame with 8 groups based on keys: Source, Lot
First Group (9 rows): Source ="1", Lot ="1"
Row │ Source Lot Wafer Site Thickness
│ String String String String Float64
─────┼───────────────────────────────────────────
1 │ 11112006.02 │ 11121999.03 │ 11132007.04 │ 11211980.05 │ 11221988.06 │ 11231982.07 │ 11312000.08 │ 11321998.09 │ 11332007.0⋮
Last Group (9 rows): Source ="2", Lot ="8"
Row │ Source Lot Wafer Site Thickness
│ String String String String Float64
─────┼───────────────────────────────────────────
1 │ 28111996.02 │ 28121989.03 │ 28131996.04 │ 28211997.05 │ 28221993.06 │ 28231996.07 │ 28311990.08 │ 28321989.09 │ 28331992.0
To me this means that you can't expect to fit a random-effects term like (1 + Source|Lot).
Am I confusing myself?
The text was updated successfully, but these errors were encountered:
If you use a contrast like EffectsCoding() for Source then the conditional means of the random effects for the term (1 + Source | Lot & Wafer) end up being close to multiples of [1, -1] for the first level of Source and [1, 1] for the second level.
One of the tests in
test/pls.jl
uses the:oxide
models defined intest/modelcache.jl
The second model is notoriously hard to fit. Different optimizers give very different parameter estimates but with similar values of the objective. I think this is because the model is ill-defined as
Source
is constant within eachLot
.To me this means that you can't expect to fit a random-effects term like
(1 + Source|Lot)
.Am I confusing myself?
The text was updated successfully, but these errors were encountered: