Thank you again for your reply.
Although I am afraid that I misudernstand your situation, I this the option (1) must be correct.
As far as I understand, I think your Site variable is a time-varying covariate.
If so, you should NOT set the Site variable as the Grouping column.
If you set the SITE in the following table,...
ID SITE TIME
1 1 15
1 2 31
1 1 49
1 2 57
1 1 102
... then, JMP recognize that there are two IDs.
ID SITE TIME
1-1 1 15
2-1 2 31
1-1 1 49
2-1 2 57
1-1 1 102
So, (if I do not misunderstand your situation and if your Site variable is a time-varying covariate) you should NOT inlucde the Site variable for the Grouping column.
There is one additional note.
The nonparametric estimates in the MCF Plot, which is the first plot you see before fitting the model, does not consider the time varying covariate. And,the curve estimated by the model shows the curve when all time-varying covariate are fixed to each Site value. So, we cannot use the MCF plot to check the model is fitted well or not if your model has time-varying covariates.
The following script shows a simple toy example. In this simulated data, the scale (theta) and shape(beta) parameters are changed after the first 30 time points. The Site variables shows the change, and this Site is the time-varying covriate. Just only for simplicity, I use Power Nonhomogeneous Poisson Process.
The time-varying covariate, Site, should not be included in the Grouping column.
Names Default To Here(1);
Random Reset(111111);
n = 30;
nid = 100;
data = J(2*n*nid, 4, .);
b1 = 3;
theta1 = 5;
b2 = 8;
theta2 = 8;
k = 0;
For( id = 1, id <= nid, id++,
x = 0;
For( i = 1, i <= n - 1, i++,
x = (x ^ b1 + Random Exp() * theta1 ^ b1) ^ (1 / b1);
k++;
data[k, 1] = id;
data[k, 2] = 1;
data[k, 3] = x;
data[k, 4] = 1;
);
k++;
data[k, 1] = id;
data[k, 2] = 1;
data[k, 3] = x;
data[k, 4] = 0;
For( i = 1, i <= n - 1, i++,
x = (x ^ b2 + Random Exp() * theta2 ^ b2) ^ (1 / b2);
k++;
data[k, 1] = id;
data[k, 2] = 2;
data[k, 3] = x;
data[k, 4] = 1;
);
k++;
data[k, 1] = id;
data[k, 2] = 2;
data[k, 3] = x;
data[k, 4] = 0;
);
dt = As Table(data,<<Column Names({"ID","Site", "Time", "Cost"}));
Column(dt,1) << Modeling Type("Nominal");
Column(dt,2) << Modeling Type("Nominal");
dt << Recurrence Analysis(
Y( :Time ), Label( :ID ), Cost( :Cost ),
Event Plot( 1 ),
Fit Model(
Scale Effects( :Site ),
Shape Effects( :Site ),
Run Model,
Model Type( "Power Nonhomogeneous Poisson Process" )
)
);
In this simple toy example, the true model is fitted. So, the model fit is very well. But the MCF Plot cannot show the goodness of fit.

In short, do not inlucde time-varying covariates in the Grouping column, and do not use the MCF Plot to check the goodness of fit if your model has time-varing covariates.
Yusuke Ono (Senior Tester at JMP Japan)