Learn R Programming

Lambda4 (version 3.0)

cong1f: One-Factor Congeneric Covariance Matrix

Description

This Covariance matrix was used as the population model for one set of simulations. It was used to represent a congeneric data structure in which the factor loadings are set at .5, .6, .7, .8, .5, .6, .7, and .8. The error variances were set at .6^2, .7^2, .8^2, .9^2, .6^2, .7^2, .8^2, and .9^2.

Usage

data(cong1f)

Arguments

Format

A covariance matrix of 8 theoretical items.

Examples

Run this code
###---Loadings
fx<-t(matrix(c(
.5,
.6,
.7,
.8,
.5,
.6,
.7,
.8), nrow=1))

###--Error Variances
err<-diag(c(.6^2,.7^2,.8^2,.9^2,
  		.6^2,.7^2,.8^2,.9^2))
		
###---matrix of factor covariances
phi<-matrix(1, nrow=1)

###---Reliability Calculation---###
t1<-matrix(c(rep(1,8)), nrow=1)
t1t<-matrix(c(rep(1,8)), ncol=1)

(fx%*%phi%*%t(fx)+err)

Run the code above in your browser using DataLab