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

posted by Shuanghe  – Spain, 2014-12-24 12:09 (3382 d 02:09 ago) – Posting: # 14159
Views: 18,105

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
22,957 posts in 4,819 threads, 1,639 registered users;
70 visitors (0 registered, 70 guests [including 4 identified bots]).
Forum time: 14:18 CET (Europe/Vienna)

Nothing shows a lack of mathematical education more
than an overly precise calculation.    Carl Friedrich Gauß

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