G matrix [General Sta­tis­tics]

posted by jdetlor – 2011-05-03 21:37 (5523 d 05:55 ago) – Posting: # 6987
Views: 13,350

Dear d_labes,

❝ Thanks for the flowers.


You're welcome — I thought your write-up laying out the matrices deserved something. ;-)

❝ Really?


❝ I got the G matrix for the second code set (armcd renamed to sequence) for the above mentioned Example 9.3.3 in Chow/Liu - a 2-sequence-3-period replicate study as:


                                Estimated G Matrix


Row  Effect             sequence  subject    Col1      Col2     Col3

...


   1  subject(sequence)  RTT        1       75.6238

   2  subject(sequence)  RTT        3                 75.6238

   3  subject(sequence)  RTT        4                           75.6238

...

                                        ...  Col10     Col11     Col12

...

  10  subject(sequence)  TRR        2       75.6238

  11  subject(sequence)  TRR        5                 75.6238

  12  subject(sequence)  TRR        6                           75.6238

...


❝ For me this looks block diagonal at its best :cool:.


This is not a block-diagonal G-matrix. This is the default covariance structure for PROC MIXED in SAS (VC – variance components) when no TYPE= option is specified. It is true it does have values along the diagonal, but this demonstrates the VC structure.

The 'Dimensions' output from SAS will indicate how your Z-matrix is constructed, and thus your G-matrix. A blocked-diagonal G-matrix will be indicated by the number of columns in the Z-matrix defined per subject, with the number of max observations per subject matching correctly (max 3 observations for this design), for a total of max observations x the number of subjects.

A standard VC structure will list the number of columns in the Z-matrix equal to the subjects, with the number of subjects equal 1, and the max observations per subject equal to the total number of observations.

For the output above (Chow/Liu data) the SAS output dimensions will specify there are 18 (subject) columns (with 18x3 rows for this design) in the Z-matrix, with an 18x18 G-matrix (the full matrix of your excerpt above).

Complete thread:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,570 registered users;
130 visitors (0 registered, 130 guests [including 18 identified bots]).
Forum time: 03:33 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