Learn R Programming

dlsem (version 1.3.2)

edgeCoeff: Coefficients associated to each edge

Description

Compute the coefficient associated to each edge at different time lags.

Usage

edgeCoeff(x, lag = NULL, conf = 0.95)

Arguments

x
An object of class dlsem.
lag
A non-negative integer or a vector of non-negative integers indicating the time lag at which path coefficients must be computed. If NULL, all relevant time lags are considered.
conf
The confidence level for edges in the object of class dlsem. Default is 0.95.

Value

lag. Each matrix contains point estimate and conf*100% confidence interval for each path coefficient.

See Also

dlsem

Examples

Run this code
data(agres)
mycode <- list(
  GVA~quec(NPATENT,1,15),
  PPI~quec(NPATENT,0,13)+quec(GVA,0,14),
  ENTR_INCOME~quec(NPATENT,0,14)+quec(GVA,1,14)
  )
myfit <- dlsem(mycode,group="COUNTRY",exogenous=c("GDP","FARM_SIZE"),
  data=agres,uniroot.check=TRUE,imputation=FALSE,log=TRUE)
edgeCoeff(myfit,lag=0:10)

Run the code above in your browser using DataLab