Learn R Programming

dgmb (version 1.2)

ExoLVsCor: Calculating correlations between exogenous constructs

Description

A function to calculate correlations between exogenous constructs.

Usage

ExoLVsCor(N, n, bex, rie, y.ex, a.nle, a.ie)

Arguments

N
The number of data sets.
n
The sample size of each data set.
bex
The number of exogenous constructs.
rie
A binary matrix specifying nonlinear and interaction effects on the endogenous construct.
y.ex
An array with N matrices of dimension n times bex with the scores of exogenous constructs.
a.nle
An array with N matrices of dimension n times ncol(rie) with the scores of nonlinear effects.
a.ie
An array with N matrices of dimension n times ncol(rie) with the scores of interaction effects.

Value

y.ex.tot
An array with N matrices of dimension n times ncol(y.ex)+ncol(a.nle)+ ncol(a.ie) with the scores of exogenous constructs (linear, nonlinear, and interaction effects).
y.ex.cor
An array with N matrices of dimension ncol(y.ex)+ncol(a.nle)+ ncol(a.ie) times ncol(y.ex)+ncol(a.nle)+ncol(a.ie) with the correlations between exogenous constructs (linear, nonlinear, and interaction effects).

See Also

ErrEnLV, EnLVs, EnMVs, XexXen

Examples

Run this code
N <- 500
n <- 250
## Not run: 
# yexcor <- ExoLVsCor(N,n,intpar$bex,intpar$rie,yex$y.ex,nlie$a.nle,nlie$a.ie)
# attributes(yexcor)## End(Not run)

Run the code above in your browser using DataLab