I am trying to fit a single model to IV and SC data obtained on separate occasions in a few subjects (crossover design) using NLME. I have a model that works, but does not consider the crossover part (i.e. considers that the IV and SC data were obtained in different subjects) and am not sure how to specify the crossover aspect.
See attached example that shows one way to do this using a text model. Basically you need a dose column for oral, a dose column for IV, and you use 2 dosepoints in the model with a bioavailability term for the oral dose. Please post if you have any questions.
Thank you for your response. In your example, both the oral and IV administration were used in a single episode. In mine, the same subjects were studied on 2 separate occasions, and received the drug IV once and SC on the other occasion. I tried to setup the data as in your example, but it does not work, presumably because I do not specify that the occasions are separate (and there is a single ID per subject - my setup works fine when I give a different ID for the IV and SC treatments).
You need to just use running time for each individual. Period 1 (Study Day 1) starts at time 0, and then the start time for e.g., Period 2, Day 8 would be time 168. This ensures there will be one parameter set per individual for each dose event. If this is not clear, please post an example of your dataset and we will take a look. Perhaps I am not understanding what you are trying to do.