EnLVs: Calculating endogenous constructs

Description Usage Arguments Value Author(s) See Also Examples

Description

A function to calculate endogenous constructs.

Usage

1
EnLVs(N, n, ben, bet, elv, y.ex.tot)

Arguments

N

The number of data sets.

n

The sample size of each data set.

ben

The number of endogenous constructs per model (default = 1).

bet

A vector with the true values of path coefficients (linear, nonlinear and interaction effects).

elv

An array with N matrices of dimension n times ben with the disturbance terms of the endogenous constructs.

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

Value

y.en

An array with N matrices of dimension n times ben with the scores of endogenous constructs.

Author(s)

Alba Martinez-Ruiz <amartine@ucsc.cl>

See Also

EnMVs, XexXen

Examples

1
2
3
4
5
6
N <- 500
n <- 250
## Not run: 
yen <- EnLVs(N,n,intpar$ben,path.coef,err$elv,yexcor$y.ex.tot)
attributes(yen)
## End(Not run)

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