Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 6.0 - merge from Develop #164

Merged
merged 166 commits into from
Oct 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
f26dd5c
ieddtable : first outline of command
kbjarkefur May 3, 2018
a17cbd6
ieddtable : proper 1st diff, and N. Issue #135
kbjarkefur May 4, 2018
d13e314
ieddtable : sub-command to test dummies
kbjarkefur May 4, 2018
88cc90b
ieddtable, make it a command
kbjarkefur May 10, 2018
4bf70a2
ieddtable : file to test ieddtable during dev
kbjarkefur May 10, 2018
4b5fd27
ieddtable : further test of dummies
kbjarkefur May 10, 2018
dfb876e
ieddtable : count stars and add # to matrix
kbjarkefur May 10, 2018
a052dc1
ieddtable : create template mat in function
kbjarkefur May 10, 2018
f5bed3f
iebaltab : update from old comd name in error msg
kbjarkefur May 10, 2018
43d46e4
iebaltab : subcdm for rowlabels prep
kbjarkefur May 10, 2018
5cd8a56
combine rowlabels into one option
kbjarkefur May 29, 2018
8745f31
ieddtable : add some comments
kbjarkefur May 29, 2018
58b8693
ieboilstart : set setting permanently
kbjarkefur May 31, 2018
3182c1a
ieduplicates : remove force drop dup all vars
kbjarkefur Jun 5, 2018
75ca058
iefolder : remove cap for commands to install
kbjarkefur Jun 8, 2018
48ae749
broken link - fix issue #139
kbjarkefur Jun 22, 2018
a60be46
fix #141 : new max maxvar Stata 15
kbjarkefur Jul 4, 2018
85cd2c4
iefolder : explain commands are never updated
kbjarkefur Jul 4, 2018
892cb16
ieboilstart : helpfile update #141
kbjarkefur Jul 10, 2018
8c14abd
iegraph: added bar option discussed in issue #142
luizaandrade Jul 18, 2018
dfcb69f
iegraph: add option from issue #142 to helpfile
luizaandrade Jul 18, 2018
a990b69
covariates replace miss bug
kbjarkefur Aug 22, 2018
94e3df2
REVERT rowlab one cmd
kbjarkefur Sep 13, 2018
aec68e6
solve cnflct going back to rowlab two
kbjarkefur Sep 13, 2018
035dce7
add column name dictionary
kbjarkefur Sep 13, 2018
ce1025f
add colnmames to templates
kbjarkefur Sep 13, 2018
4719e57
test input before calculation
kbjarkefur Sep 13, 2018
b6df441
add and implement option for different errors
kbjarkefur Sep 13, 2018
4509c34
make result mat name more unique
kbjarkefur Sep 13, 2018
a74990c
remove some test noise
kbjarkefur Sep 13, 2018
5aeb98d
first take result window output
kbjarkefur Sep 13, 2018
2c8aa61
result window output todo
kbjarkefur Sep 13, 2018
137af98
temp bracket to reduce code
kbjarkefur Sep 14, 2018
8deced7
standardize column name
kbjarkefur Sep 14, 2018
44bf03e
outputwindow first working draft not all feat
kbjarkefur Sep 14, 2018
f372133
move matrix documentation to one place
kbjarkefur Sep 14, 2018
34b96d5
add reg errors to table
kbjarkefur Sep 14, 2018
96f6a4a
make run file usable to others
kbjarkefur Sep 14, 2018
22697e6
add mean and error title
kbjarkefur Sep 17, 2018
ea6ff39
add note on star levels
kbjarkefur Sep 17, 2018
ab211e2
add comments and documentation
kbjarkefur Sep 17, 2018
a157f47
Fix issue #145
kbjarkefur Sep 27, 2018
13876d0
Merge pull request #148 from worldbank/issue-145
kbjarkefur Sep 27, 2018
999d65f
result wind - column spaces
kbjarkefur Sep 27, 2018
7bf5fca
small edits and comments
kbjarkefur Sep 27, 2018
87e4717
add N row to table
kbjarkefur Sep 28, 2018
99cb165
add option to set disp format
kbjarkefur Sep 28, 2018
a30c3e8
add diformat option to runfile
kbjarkefur Sep 28, 2018
a280a1f
add not explaining N
kbjarkefur Sep 28, 2018
711fbf6
Fix typo in title of the master dofile
MRuzzante Oct 1, 2018
acccc39
Merge pull request #151 from MRuzzante/patch-1
kbjarkefur Oct 1, 2018
f8549d8
Added texoutput option
luizaandrade Oct 3, 2018
3f61e0b
Added run do file
luizaandrade Oct 3, 2018
af56ca4
Issue #142 : Added options for custom barlabel
luizaandrade Oct 10, 2018
ebf0b07
Added tests for mlabpos and mlabsize
luizaandrade Oct 10, 2018
13929e3
ieduplicates - better string/num prectice #146
kbjarkefur Oct 12, 2018
d5e86fb
iedup - dont worry about alldup #146
kbjarkefur Oct 12, 2018
6ee4610
iedup - more coherent intro section #146
kbjarkefur Oct 12, 2018
5ee864e
iedup - fix to #146 - merge only on uniquevars
kbjarkefur Oct 12, 2018
69b988f
iedup - re-write report input test section #146
kbjarkefur Oct 12, 2018
cc561fa
iedup - naming conventions and missing best practices #146
kbjarkefur Oct 12, 2018
bc43793
iedup - comments and sec numbering - #146
kbjarkefur Oct 12, 2018
40409b7
iedup - issue #146 helpfile update
kbjarkefur Oct 12, 2018
2d2e35d
typos in Author section
kbjarkefur Oct 15, 2018
5be71e3
Merge pull request #154 from worldbank/issue-146
kbjarkefur Oct 15, 2018
b5903f5
iedup : tempfix to #152
kbjarkefur Oct 15, 2018
2b6930a
Merge pull request #155 from worldbank/issue-152
kbjarkefur Oct 15, 2018
7be9d77
#142 more informative error messages for label options
luizaandrade Oct 15, 2018
09027e6
all helpfiles: fix issue #153
kbjarkefur Oct 15, 2018
fcc7ea9
Update README.md
kbjarkefur Oct 15, 2018
cfbba63
Merge pull request #156 from worldbank/issue-153
kbjarkefur Oct 15, 2018
0c94c1c
#142: added new options to helpfile
luizaandrade Oct 15, 2018
c4cfe8a
iegraph : minor test output leakage
kbjarkefur Oct 15, 2018
87b50fe
Merge pull request #143 from worldbank/issue-142
kbjarkefur Oct 15, 2018
4179076
ieddtable : add test if onerow is valid
kbjarkefur Oct 16, 2018
1d45b4c
update ieddtable test file
kbjarkefur Oct 16, 2018
7fd7728
added rowlabels option to outputtex
luizaandrade Oct 16, 2018
f5b4665
Revert "added rowlabels option to outputtex"
luizaandrade Oct 16, 2018
4927e65
Added rowvarlabels option to outputtex
luizaandrade Oct 16, 2018
2fd4cc7
Moved test of tex file name to separate program
luizaandrade Oct 16, 2018
1bae342
Moved texdocument option to texpreamble program
luizaandrade Oct 16, 2018
14a731f
Fixed onerow option in outputtex
luizaandrade Oct 16, 2018
48007c4
Added errortype option to outputtex
luizaandrade Oct 16, 2018
4b890d9
Added note to outputtex
luizaandrade Oct 16, 2018
6a2c8fe
ieddtab : rewrite note prep logic
kbjarkefur Oct 17, 2018
098ecc1
ieddtab : using the prepped note to window output
kbjarkefur Oct 17, 2018
32710f8
Changed note option in outputtex to match new prep function
luizaandrade Oct 17, 2018
2b72dd6
Missing one line in last commit
luizaandrade Oct 17, 2018
f8e97e1
ieddtab : first draft helpfile
kbjarkefur Oct 18, 2018
6da0728
ieddtab : small edits when writing helpfile
kbjarkefur Oct 18, 2018
2ab54fe
ieddtab : add examples to helpfile
kbjarkefur Oct 18, 2018
c4dcb4e
ieddtab : add decsription section in help file
kbjarkefur Oct 18, 2018
ba37003
ieddtab : change name of command #135
kbjarkefur Oct 18, 2018
32e5d4f
ieddtab : more change name of command
kbjarkefur Oct 18, 2018
d460bc7
update email in first line all ado files
kbjarkefur Oct 18, 2018
84641a8
Editing helpfile
luizaandrade Oct 18, 2018
faf0837
Merge branch 'develop-ieddtable' of https://github.com/worldbank/ieto…
luizaandrade Oct 18, 2018
d4aed8a
Added texvspace option
luizaandrade Oct 18, 2018
d332c07
Added example of tex use to helpfile
luizaandrade Oct 18, 2018
642d604
test instruction, how to run temp ado
kbjarkefur Oct 18, 2018
5fb6bc0
Removed run file
luizaandrade Oct 18, 2018
6a7742d
Update src/test-instructions.md
kbjarkefur Oct 18, 2018
79fea1c
Update src/test-instructions.md
kbjarkefur Oct 18, 2018
8b085dd
test instructions fix numbering
kbjarkefur Oct 18, 2018
321aed1
Update test-instructions.md
bbdaniels Oct 18, 2018
14a04ea
test file how to view help file
kbjarkefur Oct 18, 2018
abc93b6
Merge branch 'develop' of https://github.com/worldbank/ietoolkit into…
kbjarkefur Oct 18, 2018
1a62182
re add the description section
kbjarkefur Oct 18, 2018
4ef0115
ieddtab help : type in starlevels abbreviation
kbjarkefur Oct 18, 2018
d54b930
ieddtab help : expicit about time DUMMY
kbjarkefur Oct 18, 2018
109364a
ieddtab help : small typos
kbjarkefur Oct 18, 2018
e31c91f
ieddtab : atom file size saver
kbjarkefur Oct 18, 2018
9dafd15
ieddtab help : edit acknowledgement section
kbjarkefur Oct 18, 2018
fdb87f7
ieddtab : change t and tmt to time and treatment
kbjarkefur Oct 18, 2018
937d88d
ieddtab : change Coef to Coef. (like in regress)
kbjarkefur Oct 18, 2018
ffaf0a5
Changed name of option tblnonote to nonotes
luizaandrade Oct 18, 2018
6aaaf57
ieddtab : test that time and treat is not in varlist
kbjarkefur Oct 18, 2018
11b417b
ieddtab : fix error without smcl
kbjarkefur Oct 18, 2018
678b427
Merge branch 'develop-ieddtable' of https://github.com/worldbank/ieto…
kbjarkefur Oct 18, 2018
5d75ae4
Fixed texfooter program
luizaandrade Oct 18, 2018
892070c
ieddtab : option name diformat to format
kbjarkefur Oct 18, 2018
b8d87d5
Merge branch 'develop-ieddtable' of https://github.com/worldbank/ieto…
kbjarkefur Oct 18, 2018
9ab0557
ieddtab : return result matrix
kbjarkefur Oct 18, 2018
af1db2d
ieddtab : no string vars in outcome vars
kbjarkefur Oct 18, 2018
8e82ce4
Change option name from tblnote to addnotes
luizaandrade Oct 18, 2018
dec0a7c
Solved confict and added rclass
luizaandrade Oct 18, 2018
240dcfe
Added vce option
luizaandrade Oct 18, 2018
47a1827
ieddtab : if/in added
kbjarkefur Oct 19, 2018
6dd5fe0
ieddtab : add num cluster to result matrix
kbjarkefur Oct 19, 2018
e6effa4
update README
bbdaniels Oct 19, 2018
c041b87
ieddtab : add cluster to testonerow
kbjarkefur Oct 19, 2018
7741471
ieddtab : add cluster to result window ouptut
kbjarkefur Oct 19, 2018
5a1376e
Proofread and allow ts/fv covars in iebaltab
bbdaniels Oct 19, 2018
293f9b5
ieddtab : 1st col min width short varnames
kbjarkefur Oct 19, 2018
50f24e5
Added 15.1 to ieboilstart versions; proofed
bbdaniels Oct 19, 2018
95bf7cc
Allow ts and fv variables in ieddtab covar option; proofread
bbdaniels Oct 19, 2018
ea6c2b9
use `marksample touse` to parse if/in conditions
bbdaniels Oct 19, 2018
369cd20
Proofread iedropone
bbdaniels Oct 19, 2018
9b70555
Prrofread ieduplicates
bbdaniels Oct 19, 2018
086aff7
Proofread iefolder
bbdaniels Oct 19, 2018
538cce7
Proofread iegitaddmd and add path-length safety
bbdaniels Oct 19, 2018
09d627e
proofread iegraph
bbdaniels Oct 19, 2018
65d2888
proofread iematch
bbdaniels Oct 19, 2018
c4e9496
Proofread helpfiles
bbdaniels Oct 19, 2018
97a664f
Merge remote-tracking branch 'origin/develop-ieddtable' into develop-…
bbdaniels Oct 19, 2018
f71e485
ieddtab : fix incorrect interaction term calc
kbjarkefur Oct 19, 2018
e070b20
Merge branch 'develop-ieddtable' of https://github.com/worldbank/ieto…
kbjarkefur Oct 19, 2018
55a29ee
ieddtab: display number of clusters in latex
luizaandrade Oct 19, 2018
56d9999
Merge branch 'develop-ieddtable' of https://github.com/worldbank/ieto…
luizaandrade Oct 19, 2018
8beec51
ieddtab: added vce options to mean calculation
luizaandrade Oct 19, 2018
1cf17f9
ieddtab : allow missing vars in varlist, unless onerow is used
kbjarkefur Oct 19, 2018
16c7f9d
ieddtab : move return matrix before generate output
kbjarkefur Oct 19, 2018
5fb330e
iebaltab : add option novarlist to marksample
kbjarkefur Oct 19, 2018
4e06767
Merge branch 'develop' into develop-ieddtable
kbjarkefur Oct 19, 2018
4bec7f6
Merge pull request #159 from worldbank/develop-ieddtable
kbjarkefur Oct 19, 2018
de49ab4
ietoolkit v6.0 - v number update
kbjarkefur Oct 19, 2018
60cc7ab
ieddtab help : replace time#treat with interaction #163
kbjarkefur Oct 19, 2018
15731e2
ieddtab help : update credit #135
kbjarkefur Oct 20, 2018
00f69dc
Adding Leo's suggestion to test instructions
luizaandrade Oct 20, 2018
29cafa8
ieddtab : typo in name
kbjarkefur Oct 20, 2018
296a7bf
iegraph: adding syntax lines that were not merged properly
luizaandrade Oct 20, 2018
75c4757
ieddtab: added names to acknowledgements
luizaandrade Oct 20, 2018
2114dc3
iegraph : option lost when reformatting syntax
kbjarkefur Oct 22, 2018
f6f9b93
Merge branch 'master' into develop
kbjarkefur Oct 22, 2018
7bfa420
ieddtab help : explain varlist is outcome vars
kbjarkefur Oct 22, 2018
ec8253c
ieddtab : add min version
kbjarkefur Oct 22, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,47 +2,47 @@
=====

### **Install and Update**
To install **ietoolkit**, type **`ssc install ietoolkit`** in Stata. If you see anything mentioned here (in the master branch) that you do not see reflected in the commands in ietoolkit in Stata on your computer, then you might not have the latest version of **ietoolkit** installed. To update all files associated with **ietoolkit** type **`adoupdate ietoolkit, update`** in Stata. (It is wise to be in the habit of regularly checking if any of your .ado files installed in Stata need updates by typing **`adoupdate`**.)
To install **ietoolkit**, type **`ssc install ietoolkit`** in Stata. If you see anything mentioned here (in the master branch) that you do not see reflected in the commands in **ietoolkit** in Stata on your computer, then you might not have the latest version of **ietoolkit** installed. To update all files associated with **ietoolkit** type **`adoupdate ietoolkit, update`** in Stata. (It is wise to be in the habit of regularly checking if any of your .ado files installed in Stata need updates by typing **`adoupdate`**.)

Stata version 11 or later is required for this package of commands.

### **Background**
These commands are developed by people that work at or with the unit for Development Impact Evaluations (DIME) at the The World Bank. While the commands are developed with best practices for impact evaluations in mind, we still hope and think that these commands can be useful outside our field as well.
These commands are developed by people that work at or with the Development Impact Evaluations (DIME) unit at the World Bank. While the commands are developed with best practices for impact evaluations in mind, these commands can be useful outside that field as well.

### **Bug Reports and Feature Requests**
If you are familiar with GitHub go to the **Contributions** section below for advanced instructions.

An easy but still very efficient way to provide any feedback on these commands is to create an *issue* in GitHub. You can read *issues* submitted by other users or create a new *issue* in the top menu below [**worldbank**/**ietoolkit**](https://github.com/worldbank/ietoolkit) at [https://github.com/worldbank/ietoolkit](https://github.com/worldbank/ietoolkit). While the word *issue* has a negative connotation outside GitHub, it can be used for any kind of feedback. If you have an idea for a new command, or a new feature on an existing command, creating an *issue* is a great tool for suggesting that. Please read already existing *issues* to check whether someone else has made the same suggestion or reported the same error before creating a new *issue*.

While we have a slight preference of receiving any kind of feedback here on GitHub, you are still very welcomed to send a regular email with your feedback to lcardosodeandrad@worldbank.org.
While we have a slight preference for receiving feedback here on GitHub, you are still very welcome to send a regular email with your feedback to [dimeanalytics@worldbank.org](mailto:dimeanalytics@worldbank.org).

### **Content**

**ietoolkit** provides a set of commands that address different aspects of data management and data analysis in relation to Impact Evaluations. The list of commands will be extended continuously, and suggestions for new commands are greatly appreciated. Some of the commands are related to standardized best practices developed at DIME (The World Bank’s unit for Impact Evaluations). For these commands, the corresponding help files provide justifications for the standardized best practices applied.

- **ietoolkit** returns meta info on the version of _ietoolkit_ installed. Can be used to ensure that the team uses the same version.
- **ieduplicates** and **iecompdup** are useful tools to identify and correct for duplicates, particulary in primary survey data
- **iefolder** sets up project folders and creates master do-files that links to all sub-folders
- **ietoolkit** returns meta info on the version of _ietoolkit_ installed. Can be used to ensure that the team uses the same version.
- **iebaltab** is a tool for multiple treatment arm balance tables
- **iematch** is an algortihm for matching observations in one group to "the most similar" observations in another group
- **iegraph** produces graphs of estimation results in common impact evaluation regression models
- **ieddtab** is a tool for difference-in-difference regression tables
- **ieduplicates** and **iecompdup** are useful tools to identify and correct for duplicates, particulary in primary survey data
- **ieboilstart** standardizes the boilerplate code at the top of all do-files
- **iedropone** drops observations and controls that the correct number was dropped
- **iefolder** sets up project folders and master do-files according to DIME's recommended folder structure
- **iegitaddmd** adds placeholder README.md files to all empty subfolders allowing them to be synced on GitHub
- **iematch** is an algorithm for matching observations in one group to the "most similar" observations in another group
- **iegraph** produces graphs of estimation results in common impact evaluation regression models
- **iedropone** drops observations and controls that the correct number was dropped
- **ieboilsave** performs checks before saving a data set

### **Contributions**
If you are not familiar with GitHub see the **Bug reports and feature requests** section above for a less technical but still very helpful way to contribute to **ietoolkit**.

GitHub is a wonderful tool for collaboration on code. We appreciate contributions directly to the code and will of course give credit to anyone providing contributions that we merge to the master branch. If you have any questions on anything in this section, please do not hesitate to email lcardosodeandrad@worldbank.org. See [CONTRIBUTING.md](https://github.com/worldbank/ietoolkit/blob/master/CONTRIBUTING.md) for some more details on for example naming conventions.
GitHub is a wonderful tool for collaboration on code. We appreciate contributions directly to the code and will of course give credit to anyone providing contributions that we merge to the master branch. If you have any questions on anything in this section, please do not hesitate to email [dimeanalytics@worldbank.org](mailto:dimeanalytics@worldbank.org). See [CONTRIBUTING.md](https://github.com/worldbank/ietoolkit/blob/master/CONTRIBUTING.md) for some more details on for example naming conventions.

The Stata files on the `master` branch are the files most recently released on the SSC server. README, LICENSE and similar files are updated directly to `master` in between releases. Check out any of the `develop` branches (if there are any) if you want to see what future updates we are currently working on.

Please make pull requests to the `master` branch **only** if you wish to contribute to README, LICENSE or similar meta data files. If you wish to make a contribution to any Stata file, then please **do not** use the `master` branch. If you wish to make a contribution to any Stata files that we have published at least once, then please fork from and make your pull request to the `develop` branch. The `develop` branch includes all minor edits we have made to already published commands since the last release that we will include in the next version released on the SSC server. If your addition is related to a specific issue in this repository, then see the naming convention in the [CONTRIBUTING.md](https://github.com/worldbank/ietoolkit/blob/master/CONTRIBUTING.md) file.

All Stata commands we are working on that we have yet to release a first version of, are found in the branches called `develop-NAME` where *NAME* corresponds to the working name of the command that is yet to be published. If you wish to contribute to any of those commands, then please fork from the branch of the command you want to contribute to, and only make edits to the .ado/.do and .sthlp that correspond to that command. If you want to make contributions to multiple commands that have yet to be released, then you will have to fork from and make pull request to multiple branches.

If you wish to make a contribution by making *forks and pull requests* but are not exactly sure how to do so, feel free to send an email to lcardosodeandrad@worldbank.org.
If you wish to make a contribution by making *forks and pull requests* but are not exactly sure how to do so, feel free to send an email to [dimeanalytics@worldbank.org](mailto:dimeanalytics@worldbank.org).

### Other DIME Anlytics Repositories
* [Stata adofiles repository](https://github.com/worldbank/stata)
Expand All @@ -53,7 +53,7 @@ If you wish to make a contribution by making *forks and pull requests* but are n
**ietoolkit** is developed under MIT license. See http://adampritchard.mit-license.org/ or see [the `LICENSE` file](https://github.com/worldbank/ietoolkit/blob/master/LICENSE) for details.

### **Main Contact**
Luiza Cardoso de Andrade (lcardosodeandrad@worldbank.org)
Luiza Cardoso de Andrade ([dimeanalytics@worldbank.org](mailto:dimeanalytics@worldbank.org))

### **Authors**
Kristoffer Bjärkefur, Mrijan Rimal, and Luiza Cardoso de Andrade.
Kristoffer Bjärkefur, Luiza Cardoso de Andrade, Benjamin Daniels, Mrijan Rimal
25 changes: 12 additions & 13 deletions src/ado_files/iebaltab.ado
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*! version 5.5 26APR2018 DIME Analytics lcardosodeandrad@worldbank.org
*! version 6.0 19OCT2018 DIME Analytics dimeanalytics@worldbank.org

capture program drop iebaltab
program iebaltab
Expand All @@ -25,7 +25,7 @@
///
/*Statistics and data manipulation*/ ///
FIXedeffect(varname) ///
COVariates(varlist) ///
COVariates(varlist ts fv) ///
COVARMISSOK ///
vce(string) ///
BALMISS(string) ///
Expand Down Expand Up @@ -83,9 +83,8 @@ qui {
version 11

*Remove observations excluded by if and in
if ("`if'`in'"!="") {
keep `if' `in'
}
marksample touse, novarlist
keep if `touse'

if 1 {

Expand Down Expand Up @@ -493,7 +492,7 @@ qui {

*Testing that no label is missing
if "`label'" == "" {
noi display as error "{phang}For variable [`name'] listed in rowlabels(`rowlabels') you have not specified any label. Labels are requried for all variables listed in rowlabels(). The variable name itself will be used for any variables omitted from rowlabels(). See also option {help dmtab:rowvarlabels}"
noi display as error "{phang}For variable [`name'] listed in rowlabels(`rowlabels') you have not specified any label. Labels are requried for all variables listed in rowlabels(). The variable name itself will be used for any variables omitted from rowlabels(). See also option {help iebaltab:rowvarlabels}"
noi tab `grpvar', nol
error 198
}
Expand Down Expand Up @@ -552,7 +551,7 @@ qui {
else {

*Error for vce() incorrectly applied
noi display as error "{phang}The vce type `vce_type' in vce(`vce') is not allowed. Only robust, cluster and bootstrap is allowed. See {help vce_option :help vce_option} for more information."
noi display as error "{phang}The vce type `vce_type' in vce(`vce') is not allowed. Only robust, cluster and bootstrap are allowed. See {help vce_option :help vce_option} for more information."
error 198

}
Expand Down Expand Up @@ -676,14 +675,14 @@ qui {
if `MISSMINMEAN_USED' == 0 local replaceoptions `" `replaceoptions' minobsmean(10) "'

*Excute the command. Code is found at the bottom of this ado file
if (`COVMISS_USED' | `COVMISSREG_USED') iereplacemiss `covancevar', `replaceoptions'
if (`COVMISS_USED' | `COVMISSREG_USED') iereplacemiss `covariates', `replaceoptions'

if `COVARMISSOK_USED' != 1 {

cap assert `covar' < .
if _rc == 9 {

noi display as error "{phang}The variable `covar' specified in covariates() has missing values for one or several observations. This would cause observations to be dropped in the estimation regressions. To allow for observations to be dropped see option covarmissok and to make the command treat missing values as zero see option covmiss() and covmissreg(). Click {stata tab `covar' `if' `in', m} to see the missing values.{p_end}"
noi display as error "{phang}The variable `covar' specified in covariates() has missing values for one or more observations. This would cause observations to be dropped in the estimation regressions. To allow for observations to be dropped see option covarmissok and to make the command treat missing values as zero see option covmiss() and covmissreg(). Click {stata tab `covar' `if' `in', m} to see the missing values.{p_end}"
error 109
}
}
Expand Down Expand Up @@ -2225,7 +2224,7 @@ qui {
*Remove the first comman before the first variable
local fmiss_error_list = subinstr("`fmiss_error_list'" ,",","",1)

noi di as error "{phang}F-test is possible but perhaps not advisable. Some observations have missing values in some of the balance variables and therfore dropped from the f-stat regression. This happened in the f-tests for the following group(s): [`fmiss_error_list']. Solve this by manually restricting the balance table using if or in, or disable the f-test, or by using option {help dmtab:balmiss()}. Suppress this error message by using option {help dmtab:fmissok}"
noi di as error "{phang}F-test is possible but perhaps not advisable. Some observations have missing values in some of the balance variables and therfore dropped from the f-stat regression. This happened in the f-tests for the following group(s): [`fmiss_error_list']. Solve this by manually restricting the balance table using if or in, or disable the f-test, or by using option {help iebaltab:balmiss()}. Suppress this error message by using option {help iebaltab:fmissok}"
error 416
}

Expand Down Expand Up @@ -2286,7 +2285,7 @@ qui {

if `warn_ftest_num' > 0 {

noi di as text "{pmore}{bf:F-Test for Joint Orthogonality:} The variance all groups is zero for the varible indicated and a test of joint orthogonality for all groups is therefore not valid. Tests are reported as N/A in the table.{p_end}"
noi di as text "{pmore}{bf:F-Test for Joint Orthogonality:} The variance all groups is zero for the variable indicated and a test of joint orthogonality for all groups is therefore not valid. Tests are reported as N/A in the table.{p_end}"
noi di as text ""

noi di as text "{col 9}{c TLC}{hline 25}{c TRC}"
Expand All @@ -2306,7 +2305,7 @@ qui {

if `warn_joint_novar_num' > 0 {

noi di as text "{pmore}In the following tests, F-tests were not valid as all variables were omitted in the joint significance test due to colliniarity. Tests are reported as N/A in the table.{p_end}"
noi di as text "{pmore}In the following tests, F-tests were not valid as all variables were omitted in the joint significance test due to collinearity. Tests are reported as N/A in the table.{p_end}"
noi di as text ""

noi di as text "{col 9}{c TLC}{hline 12}{c TRC}"
Expand Down Expand Up @@ -2710,7 +2709,7 @@ program define iereplacemiss

*Test that there are enough observations to base the mean on
if `r(N)' < `minobs' {
noi display as error "{phang}Not enough observations. There are less than `minobs' observations with a non missing value in `varlist'. Missing values can therefore not be set to the mean. Click {stata tab `varlist', missing} for detailed information.{p_end}"
noi display as error "{phang}Not enough observations. There are less than `minobs' observations with a nonmissing value in `varlist'. Missing values can therefore not be set to the mean. Click {stata tab `varlist', missing} for detailed information.{p_end}"
error 2001
}

Expand Down
2 changes: 1 addition & 1 deletion src/ado_files/ieboilsave.ado
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*! version 5.5 26APR2018 DIME Analytics lcardosodeandrad@worldbank.org
*! version 6.0 19OCT2018 DIME Analytics dimeanalytics@worldbank.org

capture program drop ieboilsave
program ieboilsave , rclass
Expand Down
Loading