getedges: Retrieve All the Edges from the Fitted Systems of Structural...

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/getedges.R

Description

The output from fitsem, this function lists all the connects in the fitted system by the two-stage penalized least squares (2SPLS) method (Chen, Zhang and Zhang, 2016).

Usage

1
getedges(fsObj)

Arguments

fsObj

a result of a call to fitsem.

Details

The output will list each connection in the fitted system in a row.

Value

target

the indices of the target variables.

source

the indices of the source variables.

weight

the corresponding value in γ_k when the connect is included in the k-th structural equation.

Author(s)

Chen Chen <chen1167@stat.purdue.edu>, Dabao Zhang <zhangdb@stat.purdue.edu>.

References

Chen, C., Zhang, M., and Zhang, D. (2016) A Two-Stage Penalized Least Squares Method for Constructing Large Systems of Structural Equations. (Submitted)

See Also

bootsem for bootstrap analysis of the fitted system of structural equations.

Examples

1
2
3
4
5
6
7
8
data(simdata)
attach(simdata)
#simsem <- fitsem(y=y,x=x,sk=sk)

#edges <- getedges(simsem)

# Check the first connect
#cat(simsem$y.names[edges$target[1]], '<-', simsem$y.names[edges$source[1]],'\n')

BigSEM documentation built on May 2, 2019, 3:37 p.m.