Hi, I am attempting to generate a simple covariance matrix from a set of raw data which are in a .dat form. I will then use the covariance matrix to do some measurement modeling with regard to G theory.

I am having a bit of trouble generating the covariance matrix from Mplus, but this is probably becuase my code for the within subjects data is incorrect.

In the dat. file, I have two between subjects vectors that are the Object of Measurement and Rater. Each rater rates each object of measurement across three levels of the within subjects factor which are the episodes of a particular paradigm (abbreviated FF SF RE). Each raters mean for each object of measurement in that episode appear in the cells for the FF, SF, and RE vectors respectively.

As it stands, this is my code, but I know I am missing something. Any help would be appreciated.