SAS: estimate statement in Proc GLM [Software]

posted by d_labes  – Berlin, Germany, 2015-07-17 10:37 (3988 d 14:42 ago) – Posting: # 15101
Views: 9,665

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,654 posts in 4,992 threads, 1,571 registered users;
265 visitors (0 registered, 265 guests [including 118 identified bots]).
Forum time: 01:20 CEST (Europe/Vienna)

Scientists often have a naïve faith that
if only they could discover enough facts about a problem,
these facts would somehow arrange themselves
in a compelling and true solution.    Theodosius Dobzhansky

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