Learn R Programming

dgmb (version 1.2)

EnLVs: Calculating endogenous constructs

Description

A function to calculate endogenous constructs.

Usage

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

See Also

EnMVs, XexXen

Examples

Run this code
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)

Run the code above in your browser using DataLab