hsar2sls: Estimation of HSAR models by 2SLS

View source: R/hsar2sls.R

hsar2slsR Documentation

Estimation of HSAR models by 2SLS

Description

Estimation of HSAR models by 2SLS

Usage

hsar2sls(formula, data, listw = NULL, index = NULL, nins = 2, ...)

## S3 method for class 'hsar2sls'
summary(object, MG = TRUE, ...)

## S3 method for class 'summary.hsar2sls'
print(x, digits = max(5, getOption("digits") - 3), ...)

Arguments

formula

a symbolic description of the model.

data

the data of class pdata.frame.

listw

object. An object of class listw, matrix, or Matrix.

index

index.

nins

numeric. Number of instrument. nins = 2 as default.

...

additional arguments passed to maxLik

MG

logical. If TRUE, the Mean Group estimator is returned

x, object

an object of class hsar2sls

digits

the number of digits


gpiras/hspm documentation built on Nov. 10, 2023, 5:37 p.m.