Skip to content

Commit

Permalink
v0.2 readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
williamaeberhard committed Nov 25, 2015
1 parent 8dbd937 commit 16e005e
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@ Updates of the attached R code can be found at https://github.com/williamaeberha
Files contained in this repository:

* glmrob.nb.r: script to run for creating the glmrob.nb function. Stand alone function, only requires package MASS for the cov.rob function used for the MVE needed when weights.on.x='hard'. See the .html help file for usage and details.

* help.glmrob.nb.html: an R documentation help file for the glmrob.nb function.

* DataSimulationEstimation.r: a script allowing to source the glmrob.nb function, simulate data at the postulated model, fit a negative binomial model to these data according to the MLE and the developed robust estimators, contaminate the data by adding a positive integer to a random proportion of the response vector, and fit the model on these contaminated data for illustration purposes.

* this README file.

### Version History

This is glmrob.nb version 0.1. The following changes were made from the original version available at the Biometrics website on Wiley Online Library:
This is glmrob.nb version 0.2. The following changes were made from the original version available at the Biometrics website on Wiley Online Library:

* Added explicit argument "offset" to the main function, with default value being a vector of ones. Argument referenced in help.glmrob.nb.html.
* Deleted handling of "..." in the main function until more tests assess that all relevant arguments are correctly passed to all glm() and lm().
* Added explicit argument "offset" to the main function, with default value being a vector of ones. Argument referenced in html help file.
* Deleted handling of "..." in the main function until more tests assess that all relevant arguments are correctly passed to all internal functions.
* Changed default values of tuning constants c.tukey.beta and c.tukey.sig to 5, as the previous ones were a little too likely to yield multiple solutions (depending on the design) which might have made the algorithm crash. Now, if the robust update of sigma given beta is unsuccessful (due to either multiple solutions or no solutions within the range defined by minsig and maxsig), the last value is kept and a warning is issued.
* All optional arguments are now documented in the html help file.
* Corrected some bugs related to how the weights on the design were passed on to some internal functions.
* Added optional arguments through a list in "options.wx" controlling some tuning aspects of the weights on the design (when not all set to one).

Tested on R version 3.0.2.
Tested on R version 3.2.2.

### References

Expand Down

0 comments on commit 16e005e

Please sign in to comment.