modelDims-methods: Methods for Function 'modelDims'

Description Methods Examples

Description

It extracts important information from the model. It is mostly used by other methods when a gmmModels has been modifed. An example is when restrictions have been imposed on coefficients.

Methods

signature(object = "rlinearGmm")
signature(object = "rgelModels")
signature(object = "rnonlinearGmm")
signature(object = "rfunctionGmm")
signature(object = "linearGmm")
signature(object = "nonlinearGmm")
signature(object = "functionGmm")
signature(object = "formulaGmm")
signature(object = "rformulaGmm")
signature(object = "slinearGmm")
signature(object = "rslinearGmm")
signature(object = "snonlineatGmm")

Examples

1
2
3
4
5
6
7
8
9
data(simData)

model1 <- gmmModel(y~x1+x2, ~x2+z1+z2, data=simData)
modelDims(model1)

## Unrestricted model

rmodel1 <- restModel(model1, R=c("x1+x2=4"))
modelDims(rmodel1)

gmm4 documentation built on Dec. 6, 2019, 3:01 a.m.