ErrEnLV: Calculating disturbance terms

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ErrEnLV.R

Description

A function to calculate the disturbance terms of the endogenous construct.

Usage

1
ErrEnLV(N, n, ben, bet, y.ex.cor)

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

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

Value

A list with the following components:

std.error

A vector with the standard deviation of disturbance terms of the endogenous constructs. The vector length is equal to the number of replications.

elv

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

Author(s)

Alba Martinez-Ruiz <[email protected]>

See Also

EnLVs, EnMVs, XexXen

Examples

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

dgmb documentation built on May 29, 2017, 9:32 p.m.