Hi.
Can someone help me with this one or verify that I am on good path here?
I have data in a long format that contains month (from january till march), day of the month (from 1 till 31), shift (from 1 till 3), total energy consumption within shift (this is dependent variable) and working time in hours of 12 different systems (machines) within a shift (from 0 till 8 hours).
I want to find out energy consumtion of each system, and be able to predict future expected energy consumption based on expected working hours of each system.
As there are repated measures mixed model seems apropriate for me. Now, I have issue what shoud I treat as a fixed, random and repeated masure.
I am thinking at month as a random as it contains only a sample (3 months) of all months within a year. Also the observations are not random but squentional. Can this be a problem?
Im looking at day and shift as a fixed as they cover all the days and shifts within a month. Is this apropriate aproach?
About the repeated structure I think that day should be repeated measure but what structure is apropriate?
Also, can you please explain what and how should be nested. I am thinking nesting shifts into days, and days within months. Can this be done? How should I do it?
Whell this is my intuitive thinking and I would apreciated if you send me some feedback and help. Also sharing any tutorial how to nest would be apreciated as this is my first experience with JMP.
Thank you all