ExoLVsCor: Calculating correlations between exogenous constructs

Description Usage Arguments Value Author(s) See Also Examples

Description

A function to calculate correlations between exogenous constructs.

Usage

1
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

A list with the following components:

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).

Author(s)

Alba Martinez-Ruiz <amartine@ucsc.cl>

See Also

ErrEnLV, EnLVs, EnMVs, XexXen

Examples

1
2
3
4
5
6
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)

dgmb documentation built on May 2, 2019, 7:55 a.m.