R expert: Revamp Needed for Easi Demand System

Job ID: 38009691

Budget: $10 – $30 USD

I am looking for a skilled individual to revise my R Easy Demand System. Although details weren't specified regarding the exact areas of the system that necessitate revision, the successful candidate will be expected to do a comprehensive examination of the system and propose areas of improvement. Moreover, they will then be responsible for implementing these changes.

DELIVERABLES
The job will consist of the following:

1. Revise the script to make sure it works, and the estimates are consistent with the Stata estimates (I have the estimates for comparison).

2. Add the script to an existing R package (https://github.com/jpmam1/easi). I have cloned that package at https://github.com/Harounan/easi. It will be updated to become easi2. The easi package currently uses 3sls for the estimation stage. The revise version should have an option to choose either 3sls (the current method), or gmm (the method from the new script).

3. When the gmm option, allow an option to take additional covariates (instruments).


The first step, is to make sure this script is working.

Next, I am looking to add the script to this package: https://github.com/jpmam1/easi

The package currently uses 3sls for the estimation, and want to add an option gmm based on the script I shared with you.