Subtleties, flaws, questions [BE/BA News]
Dear Helmut!
This is one of the hidden gems in SAS coding . But it is correct if you use the codes 'R' and 'T' for the formulations. SAS orders them lexically 'R' coming first and expects the coefficients for the difference in the
Here the Great Admin err's. It is stated in EMA's Q&A Method 1:
But as I said above, it is not necessary here. Also the
Moreover the whole
BTW: I'm not sure if the test of the sequence effect as coded from Great Oracle EMA is appropriate in case of missings. Using the 'Capt'n EM calls me bogus'
BTW2: The code for obtaining the intra-subject variance taken literally will bring us directly to the Type III hell. Output (I have named their DATA as AUC):
As you see: Subtleties and flaws in coding, questions over questions after that 'Clarification'.
But what could we expect other if considering the scientific foundation of that all?
❝ ... but I'm wondering how EMA got their results for 'Method C' with this statement: estimate 'test-ref' formulation -1 1/ CL alpha=0.10;
This is one of the hidden gems in SAS coding . But it is correct if you use the codes 'R' and 'T' for the formulations. SAS orders them lexically 'R' coming first and expects the coefficients for the difference in the
estimate
statement in that order. ❝ @ Priyanka:
❝ ... ADJUST=T
is not stated by FDA (2001), EMA's Q&A (2011), and FDA's Progesterone Guidance (2010, 2011).
Here the Great Admin err's. It is stated in EMA's Q&A Method 1:
proc glm data=replicate;
class formulation subject period sequence;
model logDATA= sequence subject_(sequence) period formulation;
*the space above may lead to hard to discover errors!;
estimate "test-ref" formulation -1+1;
test h=sequence e=subject(sequence);
lsmeans formulation / adjust=t pdiff=control("R") CL alpha=0.10;
run;
But as I said above, it is not necessary here. Also the
pdiff=control("R")
is not necessary. But it does here the job of ordering T first and thus giving the LSMeans difference T-R because again the LSMean of 'R' comes first and the difference 1-2 is calculated. Moreover the whole
lsmeans
statement is superfluous if you code the option /CLparm alpha=0.1
in the model
statement. Then the estimate
statement will give the CI like Proc MIXED does as default.BTW: I'm not sure if the test of the sequence effect as coded from Great Oracle EMA is appropriate in case of missings. Using the 'Capt'n EM calls me bogus'
Random
statement I get a mixture of MSerror and MSsubject(sequence) as denominator of the corresponding F-test. The degrees of freedom are also adapted according to Satterthwaite.BTW2: The code for obtaining the intra-subject variance taken literally will bring us directly to the Type III hell. Output (I have named their DATA as AUC):
--- GLM-ANOVA Analysis of REF. within-subject var. for log(AUC) ---
The GLM Procedure
Dependent Variable: logval log(AUC)
Sum of
Source DF Squares Mean Square F Value Pr > F
Model 78 120.2314511 1.5414289 7.73 <.0001
Error 71 14.1512621 0.1993136
Corrected Total 149 134.3827132
Source DF Type I SS Mean Square F Value Pr > F
sequence 1 0.0880117 0.0880117 0.44 0.5085
subject(sequence) 75 119.3707667 1.5916102 7.99 <.0001
period 2 0.7726727 0.3863363 1.94 0.1515
Source DF Type III SS Mean Square F Value Pr > F
sequence 0 0.0000000 . . .
subject(sequence) 75 118.6616824 1.5821558 7.94 <.0001
period 2 0.7726727 0.3863363 1.94 0.1515
As you see: Subtleties and flaws in coding, questions over questions after that 'Clarification'.
But what could we expect other if considering the scientific foundation of that all?
—
Regards,
Detlew
Regards,
Detlew
Complete thread:
- EMA BE-GL: Clarifications / Corrections? Helmut 2010-06-22 18:53 [BE/BA News]
- Good news!? d_labes 2010-06-23 10:09
- Good news!? Helmut 2010-06-23 10:11
- Update Helmut 2011-02-05 18:48
- Q&A published 14 March 2011 Helmut 2011-03-16 13:44
- Q&A published 14 March 2011 ElMaestro 2011-03-16 14:20
- Phoenix/WinNonlin 6.1.0.173 Helmut 2011-03-17 04:23
- ANOVA party prevails d_labes 2011-03-17 11:00
- THX! Helmut 2011-03-19 02:59
- Outlier d_labes 2011-03-24 11:55
- Outliers - yes, but how? Helmut 2011-03-24 15:09
- Questions and Ambiguities d_labes 2011-03-28 14:16
- Residuals and Outliers in Replicate Design Crossover Studies d_labes 2011-04-04 08:53
- Outliers - yes, but how? Helmut 2011-03-24 15:09
- Info requested ElMag 2011-03-24 12:45
- Confused as well... Helmut 2011-03-24 16:50
- Outlier d_labes 2011-03-24 11:55
- THX! Helmut 2011-03-19 02:59
- Q&A published 14 March 2011 Priyanka_S 2011-03-21 14:28
- SAS code: Warning d_labes 2011-03-21 16:08
- Copy & paste Helmut 2011-03-21 22:38
- Subtleties, flaws, questionsd_labes 2011-03-22 09:24
- Subtleties, flaws, questions Helmut 2011-03-27 20:35
- Not estimable in the model The user 2017-03-14 10:16
- Not estimable in the model ElMaestro 2017-03-14 11:02
- Not estimable in the model The user 2017-03-14 12:13
- Not estimable in the model ElMaestro 2017-03-14 12:41
- Not estimable in the model The user 2017-03-14 12:13
- Not estimable in the model Helmut 2017-03-18 21:59
- Food not the same between groups Beholder 2021-11-10 14:35
- Food not the same between groups ElMaestro 2021-11-17 09:50
- Food not the same between groups Beholder 2021-11-10 14:35
- Not estimable in the model ElMaestro 2017-03-14 11:02
- Not estimable in the model The user 2017-03-14 10:16
- Subtleties, flaws, questions Helmut 2011-03-27 20:35
- Subtleties, flaws, questionsd_labes 2011-03-22 09:24
- Copy & paste Helmut 2011-03-21 22:38
- SAS code: Warning d_labes 2011-03-21 16:08
- Q&A published 14 March 2011 Helmut 2011-03-16 13:44
- Update Helmut 2011-02-05 18:48
- Good news!? Helmut 2010-06-23 10:11
- Good news!? d_labes 2010-06-23 10:09