To share with others reading this thread, the proposed solution (from JMP Technical Support) is to create a new Subject column that is the concatenation of the 3 variables identifying the subjects (Treatment, Year, and Rep).
It is also necessary to create a continuous copy of the Week column for use as the Repeated variable.
JMP Pro cannot fit the exact same model as specified by the SAS Code (For AR(1) models, JMP nests the random effects in the subject variable). However, JMP can fit the model omitting the Rep(Year) term. The script below shows how one might set this up.
New Column("Subject", Character, Formula( :Treatment || ", " || Char( :Year ) || ", " || Char( :Rep ) ));
New Column("Week2", numeric, continuous, formula(:Week));
Y( :response ),
:Treatment * :Week,
:Treatment * :Year,
:Week * :Year,
:Treatment * :Week * :Year
Random Effects( :Treatment*:Year*:Rep ),
Repeated Effects( :Week2 ),
Repeated Structure( "AR(1)" ),
Personality( "Mixed Model" )
... View more
Hi Jahn, Great question. This gets a little complicated, so I'd suggest emailing email@example.com to open a Tech Support track so we can discuss the details further. The general idea is that your Q and K matrices will be composed of identical blocks repeated for each location. You can use the full data set and estimate Q and K all at once, or you can estimate them at a single location and then replicate them manually for the other locations (more efficient). Hope that helps a bit. Thanks, Adam
... View more