I am looking to predict the proportion of patients in a hospital with a specific disease, adjusting for hospital characteristics. However, the data are clustered (hospitals clustered within states) and I want to adjust for this, too. I am using JMP Pro 13.
Is the proper approach to use a Generalized Linear Model and select state with the "Nest" button? This seems correct, but when I do that JMP includes each state (n=51) as a variable. This is effectively what I want, but adds a lot of DF and variables to a data set with relatively few observations.
Am I doing this right, or is there a better way?
Thanks