I have the following data:
X - column vector of n predictor values
Y - column vector of n responses
G - column vector of n values defining group membership in one of g groups
The model to be fitted is
y_ij = b_0 + b_1*.x_i + u_j
The values y_ij are presented in the vector Y for the corresponding values of the vector X.
How can I arrange the calling the nlmefit function, especially FUN parameter.
No products are associated with this question.
has a toy example that I think will be helpful for you.