Question about computing 90% CI w data from 2 separate studies [General Sta­tis­tics]

posted by BEQool  – 2024-10-18 14:03 (203 d 12:34 ago) – Posting: # 24240
Views: 1,786

Hello J,

❝ I am going to try the following codes later today.


Did you try it? How did it go?

❝ What do you think?

PROC MIXED data=BEdata;

CLASSES SUBJECT TRT;

MODEL logval = TRT/ DDFM=SATTERTH;

RANDOM TRT/TYPE=FA0(2) SUB=SUBJECT G;

REPEATED/GRP=TRT SUB=SUBJECT;

ESTIMATE 'T vs. R' TRT 1 -1/CL ALPHA=0.1;

lsmeans TRT/ cl alpha=0.1; * <-- for parallel design studies, alpha=0.1;

ods output lsmeans=lsmeans;         * Least Squares means Output;

ods output covparms=covparms;       * Covariance output;

ods output estimates=ests;          * Estimate of differences between treatments;


I dont use SAS a lot and am therefore not an experienced user but I think you dont need statements in blue because you have a parallel design with just one factor Treatment.

And if you want to estimate T vs. R and have it coded like that, you should switch "1 -1" to "-1 1", otherwise with code "1 -1" you will get R vs. T and not T vs. R.
If you have it coded A vs. C (like in your first post) then "1 -1" is correct (it depends on the alphabetical order).

Regards
BEQool

Complete thread:

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

We should not speak so that it is possible
for the audience to understand us,
but so that it is impossible
for them to misunderstand us.    Quintilian

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