Learn R Programming

dgmb (version 1.2)

NIEffects: Calculating nonlinear and interaction effects

Description

A function to calculate nonlinear and interaction effects.

Usage

NIEffects(N, n, y.ex, rie)

Arguments

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

Value

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.

See Also

ExoLVsCor, ErrEnLV, EnLVs, EnMVs, XexXen

Examples

Run this code
N <- 500
n <- 250
## Not run: 
# nlie <- NIEffects(N,n,yex$y.ex,intpar$rie)
# attributes(nlie)## End(Not run)

Run the code above in your browser using DataLab