Closed jzangela closed 2 years ago
Hi James,
I pushed some changes as discussed. Below is a brief summary.
ivreg.R
file to the function vcovCR.ivreg()
that passes if method = 'OLS'
but returns an error if method = 'M' or 'MM'
. The error message is set up as "clubSandwich does not currently support ivreg models estimated using method = 'M' or method = 'MM'."ivreg.R
file to indicate that clubSandwich
only works with ivreg
models estimated using OLS.ivreg.R
file to include an example using the ivreg
package with data from AER
package.test_ivgre_ivreg.R
file to verify that vcovCR.ivreg()
returns an error.vcovCR.ivreg.Rd
documentation to indicate that clubSandwich
only works with ivreg
models estimated using OLS.Description
field in the DESCRIPTION
file to indicate that clubSandwich
now supports ivreg
models from the ivreg
package, when estimated by OLS.Suggests
field in the DESCRIPTION
file to add the ivreg
package.Please have a look and let me know if we are good to move forward or if we need any modifications.
Thanks!
Best regards, Jingru
Renamed the test_ivreg_ivreg.R file and changed its path.