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

Table 7 #7

Open
IoannisPapadakis opened this issue Jun 7, 2018 · 4 comments
Open

Table 7 #7

IoannisPapadakis opened this issue Jun 7, 2018 · 4 comments

Comments

@IoannisPapadakis
Copy link

  1. In this line it seems to me that it should be table7_k'_index' . I do not understand what the following line does : naxSaveOutput "Table6 7 index=index' k=k'" "rtiShare".

  2. It seems that you have skipped the wage analysis. That is, Panel B of table 7.

@neilalex
Copy link
Owner

neilalex commented Jun 9, 2018

1:
Yeah good question -- that line saves the coefficients and standard errors from the regression in the previous line to a new row in a dataset called outputs.dta (done via the naxSaveOutput macro. In general, outputs.dta keeps track of these kinds of outputs from all the different tables).

The Table6 7 index=`index' k=`k' part just gives that new line a description (with `index' being the 1, 2, or 3 from this line, and `k' one of the values from this line -- maybe that's obvious).

All these things said, I think the description should start with "Table7 A" not "Table6 7" -- probably a typo.

2:
Yes unfortunately I wasn't able to replicate Table 7 Panel B, due to insufficient personal hardware haha. More recently I've been using Stata for cloud / AWS, which I think could resolve that, so perhaps I'll try again

@IoannisPapadakis
Copy link
Author

Thanks, @neilalex! The confusing part of the syntax is the last bit "rtiShare". Is this a way to rename the data-file? In naxMerge, for instance, you also have "1 0 1" or "0 0 1" between the last bit (which seems like a name) and the previous bits of the syntax.

@neilalex
Copy link
Owner

neilalex commented Jul 2, 2018

rtiShare is the specific regression variable whose estimated coefficient and standard error we want to save; the regression on line 56 includes a host of variables, though rtiShare is what we want to report on.

So, all in all we have "Table6 7 index=`index' k=`k'", which is the description mentioned above, and "rtiShare", which is the regression variable whose beta and SE we output to outputs.dta.

Does that seem to help? Let me know if I still misunderstood?

Regarding the "1 0 1" syntax in naxMerge, does what I wrote here help at all?

@IoannisPapadakis
Copy link
Author

Thanks Neil!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants