coef.ldt.estim {ldt}R Documentation

Extract Coefficients Matrix

Description

This function extracts coefficient matrix from an ldt.estim object.

Usage

## S3 method for class 'ldt.estim'
coef(object, equations = NULL, removeZeroRest = FALSE, ...)

Arguments

object

An object of class ldt.estim

equations

A number, a numeric array or a string array specifying the indices or names of the endogenous variables in the equations. NULL means all equations.

removeZeroRest

If TRUE and model is restricted, zero restrictions are removed.

...

Additional arguments.

Value

If zero restrictions are not removed, it is a matrix containing the coefficients of the system. Each column of the matrix belongs to an equation. Explanatory variables are in the rows. Otherwise, coefficients of different equations are reported in a list.


[Package ldt version 0.5.3 Index]