Learn R Programming

apollo (version 0.3.4)

apollo_addCovariance: Adds covariance matrix to Apollo model

Description

Receives an estimated model object, calculates its Hessian, and classical and robust covariance matrix, and returns the same model object, but with these additional elements.

Usage

apollo_addCovariance(model, apollo_inputs)

Value

model.

Arguments

model

Model object. Estimated model object as returned by function apollo_estimate.

apollo_inputs

List grouping most common inputs. Created by function apollo_validateInputs.