-
Notifications
You must be signed in to change notification settings - Fork 3
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
Elaborating on the Utilities #1
Comments
Sorry this is confusing. The two main utilities are naxMerge and naxJoinby, and their points are really just to print more information to the log file than the built-in Stata commands do; their outputs are the same. More specifically these commands also print how many records end up not included in the joined/merged dataset--if not performing a full (outer) join/merge. For example, at line 36 in etlIpumsCzOcc.do, we could have actually used:
Had we done so, Stata would have printed the following to the log:
Yet I find this deceiving--the '0' on the 'from using' line is actually not accurate; for some reason Stata prints a 0 here whenever we ask it to not keep any unmatched 'using' records (i.e. whenever we specify Yet not wanting to keep these records doesn't mean we wouldn't have liked to know how many there were--for debugging and quality control. Alternatively, naxMerge prints the following:
Notice the '9' next to 'from using'--there were 9 records in occ1990ddAssembled that weren't matched and which we ended up dropping. SyntaxAs for the syntax, the first part in quotes is no different than what we would have given the built-in merge command: Other utilitiesAs for the other utilities, subfile_occ1990dd_occgroups is Dorn's occupation grouping file ([A8] from his data page) and naxSaveOutput saves whatever fitted regression parameters may be in memory to outputs.dta (discussed more here). Does this help at all? |
Thanks Neil! Now, it is clear what your utilities do and they are definitely helpful! |
In the folder Utilities @neilalex creates several routines. It is not clear to me what is he after i.e. what was missing in the standard STATA built-in commands. Please elaborate more on what each of your Utilities does.
Also, It is not clear to me when you call these Utilities what task they perform and what is the syntax rules you follow. For instance, what
naxMerge "m:1 year occ using occ1990ddAssembled" 1 0 1 "etlIpumsCzOcc"
does, and how it differs fromnaxMerge "1:1 czone ind1990 using temp/cz_industry_exRti, keepusing(rtiShare)" 0 0 1 "czIV"
?The text was updated successfully, but these errors were encountered: