SAS: estimate statement in Proc GLM [Software]

posted by d_labes  – Berlin, Germany, 2015-07-17 10:37 (3566 d 08:58 ago) – Posting: # 15101
Views: 8,440

Dear BRN;

❝ How should we write the sas code for the estimate to compare

❝ - T vs. R

❝ - T vs. R1


❝ in a 4 sequence study (R1TR2R R2RR1T RR1TR2 TR2RR1)?


That depends (as always in life :cool:).
If you evaluate all data at once it reads (lex order R, R1, R2, T):
estimate 'T vs. R' tmt -1 0 0 1;
estimate 'T vs. R1' tmt 0 -1 0 1;

If you evaluate according to the EMA crippled analysis you have to use only the data for the comparison under consideration, i.e. you have only T|R or T|R1 at hand. Then the estimate statement reads:
estimate 'T vs. R' tmt -1 1;
and in an other Proc GLM call
estimate 'T vs. R1' tmt -1 1;

Hope that helps.
BTW: Sometimes RTFM helps also :-D.

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,670 registered users;
21 visitors (0 registered, 21 guests [including 8 identified bots]).
Forum time: 19:35 CEST (Europe/Vienna)

The combination of some data and an aching desire
for an answer does not ensure that a reasonable answer
can be extracted from a given body of data.    John W. Tukey

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