Proc MIXED CV%-intra, CV%-inter [General Statistics]
Dear Vitamin K, (what a nick name
)
I'm not Helmut but I hope I can answer your question to some extent.
Sorry, but I do not understand what you do with Proc Mixed from your description
.
Here is the SAS code I would employ for a classical 2x2 cross over (use search in this forum to find a lot of discussions!):
logPK is the log-transformed parameter under analysis (AUC, Cmax or so).
The estimate statement assumes that treatment is coded with T and R.
Le's use Helmuts data with 24 subjects found here.
Among the lengthy output you will find covariance parameter estimates
Subject(Sequence) is the inter-subject variability s2inter and residual the within-subject (or intra-subject) variability s2within.
Convert them to CV with the formula CV=100*sqrt(exp(s2inter or within)-1) with the corresponding variance. But cave! This only applies if your PK parameter under analysis is log-transformed.
BTW: Why do you use Proc MIXED here?
)❝ First of all, I set in the proc mixed to get residuals in a data set. Then I calculate MSE from the residuals.
❝ Then I applied the formula: CV=100*sqrt(exp(MSE)-1), where I get a result, but I do not know it is the right method to get the real CV?
I'm not Helmut but I hope I can answer your question to some extent.
Sorry, but I do not understand what you do with Proc Mixed from your description
.Here is the SAS code I would employ for a classical 2x2 cross over (use search in this forum to find a lot of discussions!):
Proc MIXED data=yours;
class subject treatment period sequence;
model logPK=treatment period sequence;
random subject(sequence);
Estimate 'T-R' treatment -1 1/Cl alpha=0.1;
Run;logPK is the log-transformed parameter under analysis (AUC, Cmax or so).
The estimate statement assumes that treatment is coded with T and R.
Le's use Helmuts data with 24 subjects found here.
Among the lengthy output you will find covariance parameter estimates
The Mixed Procedure
[...]
Covariance Parameter Estimates
Cov Parm Estimate
Subject(Sequence) 0.1002
Residual 0.04102
[...]Subject(Sequence) is the inter-subject variability s2inter and residual the within-subject (or intra-subject) variability s2within.
Convert them to CV with the formula CV=100*sqrt(exp(s2inter or within)-1) with the corresponding variance. But cave! This only applies if your PK parameter under analysis is log-transformed.
BTW: Why do you use Proc MIXED here?
—
Regards,
Detlew
Regards,
Detlew
Complete thread:
- Intra subject CV% and Inter subject CV% Ravi 2009-04-11 08:35 [General Statistics]
- CV%-intra > CV%-inter Helmut 2009-04-11 13:19
- CV%-intra > CV%-inter Ravi 2009-04-14 06:01
- CV%-intra > CV%-inter kvitamin 2009-10-07 11:40
- Proc MIXED CV%-intra, CV%-interd_labes 2009-10-07 13:05
- Proc MIXED CV%-intra, CV%-inter kvitamin 2009-10-07 16:15
- MIXED up and lost in design d_labes 2009-10-07 16:48
- MIXED up and lost in design kvitamin 2009-10-08 10:50
- 2x2, inter, intra, total or what d_labes 2009-10-08 13:41
- 2x2, inter, intra, total or what kvitamin 2009-10-09 11:05
- 2x2, inter, intra, total or what d_labes 2009-10-08 13:41
- MIXED up and lost in design kvitamin 2009-10-08 10:50
- MIXED up and lost in design d_labes 2009-10-07 16:48
- Proc MIXED CV%-intra, CV%-inter kvitamin 2009-10-07 16:15
- Proc MIXED CV%-intra, CV%-interd_labes 2009-10-07 13:05
- CV%-intra > CV%-inter Helmut 2009-04-11 13:19
