Wolfgang
☆    

Switzerland,
2013-08-05 16:37
(4300 d 00:50 ago)

Posting: # 11202
Views: 11,617
 

 RSAB model overspecified [RSABE / ABEL]

Hi everyone,

For highly variable drugs, the reference-scaled average bioequivalence method is suggested by FDA.
They request that a "conventional approach" analysis be done with some specific code, containing a random statement for SAS Proc Mixed,
random tmt / sub=subject type=FA0(2);
But, in the case of a partially replicated design (RRT/RTR/TRR), this model is overspecified, which can lead to various error messages from SAS, to non-convergence, and to unstable results.
Has anyone thought about using type=FA0(1) instead? Which in this case amounts to the same model but correctly specified.
What would FDA's attitude be towards this?
jag009
★★★

NJ,
2013-08-05 17:35
(4299 d 23:52 ago)

@ Wolfgang
Posting: # 11204
Views: 9,976
 

 RSAB model overspecified

Hi,

I have experienced non-convergence issues a few months back with one of my datasets. I see if I an look up my original post.

John


Edit: Full quote removed. Please delete everything from the text of the original poster which is not necessary in understanding your answer; see also this post! [Helmut]
d_labes
★★★

Berlin, Germany,
2013-08-05 17:59
(4299 d 23:28 ago)

@ Wolfgang
Posting: # 11206
Views: 10,102
 

 Proc Mixed FA0(1) for partial replicate

Dear Wolfgang,

❝ For highly variable drugs, the reference-scaled average bioequivalence method is suggested by FDA. They request that a "conventional approach" analysis be done with some specific code, containing a random statement for SAS Proc Mixed,

random tmt / sub=subject type=FA0(2);

❝ But, in the case of a partially replicated design (RRT/RTR/TRR), this model is overspecified, which can lead to various error messages from SAS, to non-convergence, and to unstable results.


Welcome to the club. We had some discussions about that topic here in the forum.
Look here or here or here for instance. But no satisfactory solution.

❝ Has anyone thought about using type=FA0(1) instead? Which in this case amounts to the same model but correctly specified.


Interesting! Can you please a bit more specific:
  • Why do you think that it is the same model?
  • Why do you think it is correctly specified? Seems to me a logical trap: same models, one correct, the other overspecified.

❝ What would FDA's attitude be towards this?


Duno since never had that idea :-D. Also no experience with the FDA.
But I guess your proposal will be accepted if straight justified. The statisticians at FDA are those who :cool:.

Regards,

Detlew
Wolfgang
☆    

Switzerland,
2013-08-05 18:24
(4299 d 23:03 ago)

@ d_labes
Posting: # 11208
Views: 9,946
 

 Proc Mixed FA0(1) for partial replicate

❝ ❝ Has anyone thought about using type=FA0(1) instead? Which in this case amounts to the same model but correctly specified.


❝ Interesting! Can you please a bit more specific:

  • Why do you think that it is the same model?
  • Why do you think it is correctly specified? Seems to me a logical trap: same models, one correct, the other overspecified.

Dear Detlew,
thanks for your comments.
If we look at the effects of the two random statements,
random tmt / sub=subject type=FA0(2); /* FDA */
random tmt / sub=subject type=FA0(1); /* new model */
then the corresponding G matrices are: (trying to display matrices in a linear form)
G1: 1st line: a2, a*b; 2nd line: a*b, b2+c2
G2: 1st line: a2, a*b; 2nd line: a*b, b2
(a, b, c vary freely, -1≤r≤1)

The repeated statement leads to the following R matrix:
For the RTRT/TRTR design, R=diag(X,Y,X,Y) for any subject of sequence RTRT
For the RTR/TRR/RRT design, R=diag(X,Y,X) for any subject of sequence RTR
where X and Y must be nonnegative numbers.

Within the same subject, we have, for the first random statement:
  • the variance of an R observation is a2+X
  • the variance of a T observation is b2+c2+Y
  • the covariance of two different R observations is a2
  • the covariance of two different T observations is b2+c2
  • the covariance of an R and a T observation is a*b
For the RTRT/TRTR design, this works well.

For the RTR/TRR/RRT design, however, the covariance of two different T observations (in the same subject; above in red) does not appear, and therefore the model is over-specified: the parameters c and Y appear only together, in the form c2+Y. As a consequence, Proc Mixed will often have difficulties in estimating the model, in particular it may fail to converge.

Remedy: we should replace c2+Y with a single value, i.e. delete either c or Y (or fix it at zero). Getting rid of Y does not seem to be easily possible, but c2 can be removed by using FA0(1) instead of FA0(2).

(Note: both models are mathematically correct, one is just overspecified which makes it much more difficult to estimate and less stable numerically. A better version of Proc Mixed might detect this itself and handle it correctly.)

Hope I have explained it in an understandable way?
Best regards,
Wolfgang Seewald
ElMaestro
★★★

Denmark,
2013-08-05 19:19
(4299 d 22:08 ago)

@ Wolfgang
Posting: # 11211
Views: 9,897
 

 Proc Mixed FA0(1) for partial replicate

Hello Wolfgang,

❝ Within the same subject, we have, for the first random statement:

❝ – the variance of an R observation is a2+X

❝ – the variance of a T observation is b2+c2+Y

❝ – the covariance of two different R observations is a2

❝ – the covariance of two different T observations is b2+c2

❝ – the covariance of an R and a T observation is a*b


❝ For the RTRT/TRTR design, this works well.


I am no statistician, so I don't know what I am talking about here. That holds true for a lot of my life's other elements, too.
Can we possibly discuss the model on basis of within(w)- and between(b)-sigmas?

I would think that V (=ZGZt+R) should look like this:
  • the variance of an R observation is s2b,R+s2w,R
  • the variance of a T observation is s2b,T+s2w,T
  • the covariance of R observations is s2b,R
  • the covariance of T observations is s2b,T
  • optional: the covariance of a mixed observation is "q", which expresses a correlation of the between-sigmas.
No?

Pass or fail!
ElMaestro
Wolfgang
☆    

Switzerland,
2013-08-06 10:35
(4299 d 06:52 ago)

@ ElMaestro
Posting: # 11219
Views: 10,124
 

 Proc Mixed FA0(1) for partial replicate

❝ I would think that V (=ZGZt+R) should look like this:

❝ – the variance of an R observation is s2b,R+s2w,R

❝ …

❝ – optional: the covariance of a mixed observation is "q", which expresses a correlation of the between-sigmas.


❝ No?


Hello ElMaestro,
this is correct although the last line should be: covariance of an R and T observation is sb,R*sb,T*q, if q is the correlation.
However, this is the parameterization used with type=CSH, which FDA suggests as an alternative to type=FA0(2).
The two models are equivalent, if you identify a2 with s2b,R, b2+c2 with s2b,T, q with b/sqrt(b2+c2), X with s2w,R, Y with s2w,T.
When the design is partially replicated, s2b,T and s2w,T cannot be estimated, only their sum can be, leading to overspecification and convergence problems.
With this notation, the remedy would formally be equivalent to setting q=1 – but this is more difficult to justify, and also I would not know how to specify it in SAS.
So I guess we have to stick to FA0(1) and the corresponding notation.
ElMaestro
★★★

Denmark,
2013-08-06 12:34
(4299 d 04:54 ago)

@ Wolfgang
Posting: # 11222
Views: 9,821
 

 Proc Mixed FA0(1) for partial replicate

Hi Wolfgang,

❝ With this notation, the remedy would formally be equivalent to setting q=1 - but this is more difficult to justify, and also I would not know how to specify it in SAS.

❝ So I guess we have to stick to FA0(1) and the corresponding notation.


If I recall correctly, and mind you I could be completely wrong, you can omit the consideration of correlated random effects and still get the right estimates of the s2w,r, s2b,r and compound sum for test.
Effectively, in my naïve notation where I would write q=rsb,r sb,t it would correspond to setting r=0; then the restricted max likelihood of the optimised V matrix changes, but the determination of s2w,r and s2b,r (and s2w,t+s2b,t, where applicable) do not.
This might still be in line with the random effects model, if I get Chow & Liu right. After all, the model does not rely on correlated random effects but justs allows to calculate correlations if we find it appropriate.

Not a statistician and not a SAS user so don't know any syntax that fits anything.

Pass or fail!
ElMaestro
d_labes
★★★

Berlin, Germany,
2013-08-06 12:30
(4299 d 04:58 ago)

@ Wolfgang
Posting: # 11221
Views: 9,784
 

 Proc Mixed FA0(1) for partial replicate

Dear Wolfgang!

Thank you. Your explanation seems logical to me.
Seems this is the straightforward solution we have searched for :thumb up:. At least in SAS. For another attempt see the SAS code in this thread.

Will try it the next time numerically.

Do you eventually know if your proposal is also implementable in R?

Regards,

Detlew
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2013-08-07 17:13
(4298 d 00:15 ago)

@ d_labes
Posting: # 11235
Views: 9,963
 

 FA0(1) for partial replicate in Phoenix

Dear Detlew!

❝ Will try it the next time numerically.


Yes please. I tried John’s nasty data set (log-transformed data in full precision) where we ran into convergence problems and got different results for RSABE and ABE (we tried SAS and PHX; complete data set and after exclusion of incomplete data).
When I set up FA0(1) in PHX’ LME I got…
ERROR 11021: Variance matrix is not positive definite in QA.
… which is an indication that the initial variance estimates (by methods of moments) don’t “work”. I tried different starting values to no avail.

Now for the surprise: PHX’ BE-model (which supposedly sits ‘on top’ of LME) converged without a warning. I got

PE 101.0213% (90% CI: 80.7733–126.3450%) s²WR 0.42100 (CVWR 72.35%)

… matching Shuanghe’s and your’s in SAS with FDA’s FA0(2)-parameterization.
After exclusion of incomplete data (subjects 8, 14, 17, and 31)

PE  91.2423% (90% CI: 74.0705–112.3950%) s²WR 0.40652 (CVWR 70.82%)

… different to yours’.
Amazing.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
d_labes
★★★

Berlin, Germany,
2013-08-08 11:42
(4297 d 05:45 ago)

@ Helmut
Posting: # 11246
Views: 9,965
 

 FA0(1) for partial replicate in SAS

Dear Helmut!

With John’s nasty data set I got:
- all data

PE= 101.0213% (90% CI: 80.7733–126.3450%) s²WR= 0.4210 (CVWR= 72.35%)

… matching yours and the former evaluation with FA0(2) to full precision.[image]
- complete cases only

PE=  90.5032% (90% CI: 73.5610–111.3474%) s²WR= 0.4001 (CVWR= 70.14%)

… different from yours [image] but matching nearly to full precision the former FA0(2) evaluation (differences in the CI only after the second decimal).[image]

No hint of any convergence problems, but in both cases in the log
NOTE: Estimated G matrix is not positive definite.
Not quite sure if this is a problem.

What puzzles me a little bit is that we have an estimate of s²WT in the model (via the repeated/grp=tmt sub=subject; statement) also Wolfgang claimed, correctly I think, that "... s²b,T and s²w,T cannot be estimated, only their sum." But have to think about that ...

Regards,

Detlew
lhughes
☆    

USA,
2013-08-30 17:17
(4275 d 00:11 ago)

@ Helmut
Posting: # 11395
Views: 9,605
 

 FA0(1) for partial replicate in Phoenix

Hi Helmut!

You have:

❝ When I set up FA0(1) in PHX’ LME I got…

❝ ERROR 11021: Variance matrix is not positive definite in QA.

❝ Now for the surprise: PHX’ BE-model (which supposedly sits ‘on top’ of LME) converged without a warning. I got

PE 101.0213% (90% CI: 80.7733–126.3450%) s²WR 0.42100 (CVWR 72.35%)

… matching Shuanghe’s and your’s in SAS with FDA’s FA0(2)-parameterization.

❝ After exclusion of incomplete data (subjects 8, 14, 17, and 31)

PE  91.2423% (90% CI: 74.0705–112.3950%) s²WR 0.40652 (CVWR 70.82%)

… different to yours’.


I was able to run both LinMix and Bioeq in Phoenix and their results matched. Also when I excluded the four subjects with incomplete data, I got:
PE=  90.503   90% CI: 73.561–111.347
so the same as what Detlew posted in his next post with the SAS results. I emailed you a project.

Linda
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2013-08-30 19:07
(4274 d 22:20 ago)

@ lhughes
Posting: # 11396
Views: 9,623
 

 FA0(1) in PHX: works (& more questions)

Hi Linda!

❝ I was able to run both LinMix and Bioeq in Phoenix and their results matched. Also when I excluded the four subjects with incomplete data, I got:

PE=  90.503   90% CI: 73.561–111.347

❝ so the same as what Detlew posted in his next post with the SAS results. I emailed you a project.


THX, confirmed. I screwed up the setup (correct BE but wrong LME) – therefore the “difference”. :crying:

So is FA0(1) the solution? Is FDA’s code – calling for FA0(2)mandatory (aka “Holy Grail”)? As Wolfgang pointed out above in the general BE guidance FDA stated:

In the Random statement, TYPE=FA0(2) could possibly be replaced by TYPE=CSH.

As we have seen in the “nonconvergent” data sets this doesn’t help at all. “Could possibly be replaced by” FA0(1) as well?
Or abandon the partial replicate completely and opt for TRT|RTR – which seems to “work” according to Detlew’s findings?

To make a long story short: What will hurt FDA more or less likely accept?
  • Using the partial replicate (= guidance) and switch to FA0(1) ( guidance), or
  • Using a fully replicated 3-period design ( guidance) and keep FA0(2) (= guidance)?

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,673 registered users;
126 visitors (0 registered, 126 guests [including 5 identified bots]).
Forum time: 17:28 CEST (Europe/Vienna)

Only dead fish go with the current.    Scuba divers' proverb

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