Simulation of intra-subject variability [Regulatives / Guidelines]

posted by d_labes  – Berlin, Germany, 2011-11-07 12:16 (4927 d 07:35 ago) – Posting: # 7631
Views: 9,123

Dear Ol' Pirate, dear Helmut,

❝ ❝ I have no idea how to simulate CVintra; CVtotal is not what I really want (to see if reference’s different variances have an influence on the result).


❝ Neither had I when I started this thread, but now I have and I don't think it is difficult. Our model (simplest case but not satisfying d_labes' concern):


❝ y~Seq+Subj+Treat+Per+error


❝ There is one error in play unless we do a mixed model. So we sample the error (intrasubject) from a normal distribution and add it to the fixed effects. We can set the fixed effects to zero for Per and Seq, and tweak the Treat's as per our wishes for T/R ratios.


Totally right if you think in terms of the EMA mantra 'all effects fixed'. But then you have to specify subjects effects in some reasonable way. What you do is to assume subjects effect of zero or Dolly-clones of a subject :-D having all the same subject effect.

Don't know how this affects your goal.

Don't also know what a reasonable way is to specify subjects fixed effects. At least you have many, many scenarios beside those you like to consider.

The way out would be to consider subjects effects as random with a CV associated. Of course this is a mixed model. No one else than EMA has doubt about it.
Refer f.i. to Chow, Liu "Design and Analysis of Bioavailability ..." page 42 for the model of the classical 2x2 crossover.

To generalize this to the 3x3 study one could simulate the logs of a PK metric via a multivariate normal distribution with variance-covariance matrix
 ( varT+varS  varS        varS       )
 ( varS       varR1+varS  varS       )
 ( varS       varS        varR2+varS )

where varT, varR1 and varR2 are the intra-subject variances and varS the variability of the subjects effect (between-subjects variability).
This model of course neglects any subject-by-treatment interaction.
Together with a proper specification of the mean vector (µT, µR1, µR2) you get from the multivariate normal distribution (R package mvtnorm) vectors of simulated logs for T, R1 and R2.
In this notation one neglects also period effects. If you like to deal with them you have to write down the above variance-covariance matrix for the period values for each sequence analogous to Chow, Liu for the 2x2 crossover.
Another possibility would be the simulation with a zero mean vector and add the necessary fixed effects (treatment, period) afterwards.

Hope this gibberish sounds reasonable to you and I have not made a big mistake.
Code follows if I have tested it :cool:.

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,666 registered users;
71 visitors (0 registered, 71 guests [including 7 identified bots]).
Forum time: 20:51 CEST (Europe/Vienna)

Patients may recover in spite of drugs or because of them.    John Gaddum

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5