SAS/R code of MSD method for comparing dis­so­lution [Dissolution / BCS / IVIVC]

posted by Shuanghe  – Spain, 2014-12-24 12:09 (3843 d 22:31 ago) – Posting: # 14159
Views: 19,998

Hi arjunroy,

Thank you

No problem.

for pooled variance, instead of using (st + sr) / 2, it's better to use:
sp = ((nt-1)*st + (nr-1)*sr)/(nt+nr-2)
This works regardless if nt = nr.

❝ Here is SAS IMLv9.1.3 log error for your perusal.

❝ ......


I use SAS 9.2 and the COV module defined as above worked. It seems version 9.1.3 didn't support operation for matrix with different dimensions therefore the line
d = m - m[:,];
gave error you had. Weird.

You can try the following code:

  START COV(m);             
    n = NROW(m);             
    d = m - REPEAT(m[:,],n,1);
    RETURN((d`*d)/(n-1));
  FINISH;


The REPEAT function will create a matrix with n rows with each row equal to the mean profile. Then the matrix will be of same dimensions for the subtraction to work.

You can report it back here if it works.

All the best,
Shuanghe

Complete thread:

UA Flag
Activity
 Admin contact
23,425 posts in 4,928 threads, 1,684 registered users;
29 visitors (0 registered, 29 guests [including 10 identified bots]).
Forum time: 11:41 CEST (Europe/Vienna)

You can do one of two things; just shut up,
which is something I don’t find easy,
or learn an awful lot very fast,
which is what I tried to do.    Jane Fonda

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