eivgmm_R: Estimation via Generalized Method of Moments Approach with...

Description Usage Arguments Details

View source: R/mcesteqn.R

Description

The eivgmm_R function returns the estimation by combining and solving measurement errors corrected estimating equations via generalized method of moments. This function is a pure R implementation.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
eivgmm_R(
  formula,
  data,
  me.var,
  mcov,
  time.var,
  id.var,
  init.beta,
  family = "binomial",
  control = list()
)

Arguments

formula

a symbolic description of the model

data

a data frame that contains variables in the model and corresponding a variables identifying subjects and time points

me.var

names of variables with measurement errors in the data

mcov

the covariance matrix for the surrogate variables

time.var

name of variable that identifies different time points in the data

id.var

name of variable that identifies clusters in the data

init.beta

The initial guess of the estimates

family

the family of response variable

control

a list of parameters that pass into the estimating process

Details

The input of data must be a data.frame.


ytalau/eiv documentation built on Dec. 23, 2021, 8:18 p.m.