What is the Proper Notation for Multi-level Mixed Effects Models
I am a little confused on the proper syntax/notation for multi-level mxied effects models and was wondering what the proper way to write the formula is for these in Matlab? The results for either syntax appear identical except the BLUP names from calling "randomEffects" are different.
From the Multilevel Mixed-Effects Modeling Using MATLAB where state is nested within region they use the syntax (1|REGION) + (1|STATE:REGION).
However, from the fitlme description where to "j th tomato type nested in the k th soil type" the notation used is (1|Soil) + (1|Soil:Tomato).
Thanks,
SethI am a little confused on the proper syntax/notation for multi-level mxied effects models and was wondering what the proper way to write the formula is for these in Matlab? The results for either syntax appear identical except the BLUP names from calling "randomEffects" are different.
From the Multilevel Mixed-Effects Modeling Using MATLAB where state is nested within region they use the syntax (1|REGION) + (1|STATE:REGION).
However, from the fitlme description where to "j th tomato type nested in the k th soil type" the notation used is (1|Soil) + (1|Soil:Tomato).
Thanks,
Seth I am a little confused on the proper syntax/notation for multi-level mxied effects models and was wondering what the proper way to write the formula is for these in Matlab? The results for either syntax appear identical except the BLUP names from calling "randomEffects" are different.
From the Multilevel Mixed-Effects Modeling Using MATLAB where state is nested within region they use the syntax (1|REGION) + (1|STATE:REGION).
However, from the fitlme description where to "j th tomato type nested in the k th soil type" the notation used is (1|Soil) + (1|Soil:Tomato).
Thanks,
Seth fitglme, fitlme MATLAB Answers — New Questions