-
Notifications
You must be signed in to change notification settings - Fork 77
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
[iebaltab] March 2022 rewrite review #270
Comments
SE and SD went missing when I capitalized the titles. It is fixed in 33117f7 |
Yes,
I prefer to keep it an option for backward compatibility reasons and that it is cleaner IMO to add options for things you add instead of add options to remove things. I can also see someone who does not like f-test come with feedback saying that we should not promote this or that test. |
I like |
The options |
I don't think it even needs the sub-functions -- if it always takes two arguments then it must be some combination of the specification for the estimate and the specification for the uncertainty. ie, |
Preference can and are often different across tests and, for example, The syntax will be I can see |
No due to backward compatibility
I assume that this is comment in relation to
done in 11d283b |
I do not understand what this means |
We decided in the meeting that this is not part of this version
This option is replaced by
Done for
|
No due to backward compatibility
Done in d3705ba |
@bbdaniels, can you give me a correct formula? Preferable in terms of Stata code? I understand a text like this, but I need your help to translate this into code at the level of accuracy a big command like this requires |
Hesitant to remove |
I don't disagree if the command was new. I do not see an issue with |
Again, I don't disagree if the command was new, but do not see what would justify to break backward compatibility. Let me know if there is anything I am missing. |
Are you sure the table notes is the right place for this? Missing values should never end up in the table. And I see a big risk for confusion if the table note explains things that are found in other places rather then the table. I was thinking of explaining this in the helpfile. Only people skilled enough to look in the helpfile would be skilled enough to use |
Risking to sound like a record on repeat, I think backward compatibility is important so I am reluctant to change default behavior. Multiple stats for the pair tests is out of the scope for this re-write.
The first section of the helpfile is updated in 3a0a9f8 The rest of the helpfile will be updated once we have finalized the code of the command |
Agreed, I will implement |
I don't think it needs to break anything -- just deprecate it and remove the option from the help file on this version. It will still work backwards, but people should prefer to use the modern syntax directly as a covariate -- for example, things like two-way fixed effects might require explicit regression specs. I don't think you need to do any more coding to make that work correctly since it just passes through the string, but I will test and check. |
I think this would have no impact other than flipping the signs, which I understand is not ideal, but it would align better with the normal meaning of "treatment" and "control". So Alternatively, to avoid breaking, |
I just mean this is a good default and I like that you have done it. No need for any changes |
Sorry -- the first comment was only to refer to the help-file organization, not the functionality. I will suggest improvements there in commits on my next run-through. |
Yes, I will do this. Edit: Done. But needs resolution on comment below about which difference will be used. Should be the adjusted difference! The correct formula will be:
|
Hmm, I'm not sure why I was getting them then. I'll test again and see what I'd done and let you know. |
One more big thing that I somehow missed before -- is it correct that the output table does not reflect the actual regression coefficients when the |
Ok I am trying to test the
But there is no
Then I get normalized differences for all comparisons. For these, we will replace by the formula above. I don't think these use significance stars in any case so those will drop as well -- the magnitude should be the only metric reported. |
The two tables blow was created using syntax |
I agree with your high level point and is softening up to this. However, where I have yet to understand what you envision is in the details. If In a multiarm treatment situation, what do you envision |
Where |
You are expected to get them in |
It does not affect the value displayed in the output if If you use covariates and When you are using no covariates or fixed effects then there is no difference between Both are used, and |
I think it is difficult enough to find time to work on the code, and while I will indeed update the helpfile before publishing, doing it for each version at this stage would make it even more difficult to find time to make progress with this command. This is why I have intentionally been slow with updating the helpfile. Feel free to ask on Slack for anything where you are so stuck you are not able to make progress. Use my runfile to see how I intend to use the command: https://github.com/worldbank/ietoolkit/blob/iebaltab-rewrite-kb/run/iebaltab.do |
I was able to re-create the
This should have some kind of better handling on output, unless it is supposed to be suppressed from exporting. |
Unless I'm mistaken, something has gone weird with the calculation or storage of standard errors. I didn't think I needed to do anything special to get basic stats. But I can't tell -- desperately need to write the help file!!
|
You were not mistaken. There was a typo. Fixed in 7f8a363. Never has a bigger bug been solved with a smaller commit. 😄 (EDIT: It looked more fun in my client where only a single character was highlighted) |
I was able to reproduce this error. I have handled this error by testing that var in This fixes the error in your reproducible example. Did you get the |
@bbdaniels, in 2e1d71c I implemented what we decided with one difference. It was too tricky to only add when it applied to the table note a reference about the missing values ( |
General:
main
branchrun-old-versions.md
link in deprecation error message 404sHelp file / Options:
save
,browse
)grpcodes
is unclear -- I cannot determine what it doesfnoobs
should be with the display options.missminmean()
do?pairoutput
option accepts multiple inputs, such aspairoutput(beta t)
, which I want to do, but then causes error and returns:option pout_lbl() required
without explanation. Recommend to also allowse
andci
.Math:
ftest
is doing -- is this the omnibus test? If so I would enable it by default.pairoutput
option could be required, which would remove any issue of default functionality? It could also be called something more intuitive likeStats()
nrmd
(normalized differences) are correctly calculated. See this link:control()
option should flip all regression signs (and subtraction order)treatment()
option should replace currentcontrol()
option functionalityfixedeffect()
option as long as indicatori.
variables can be appropriately included in thecovariates()
optioncovarmissok
do? Could this potentially be combined with the requestedcasewise
option somehow, since it appears conceptually similar?balmiss()
,balmissreg()
,covmiss()
, andcovmissreg()
options, or at least move them somewhere else ("Advanced"?)... this is quite dangerous....Display:
rowvarlabels
behavior should be the default, with the option to disable.v
.Misc:
onerow
returns an unhelpful error if the number of observations varies across regressions. The follow, for example, occurs, but the number of obs in the regressions is not reported in the table without the command, so the source of the failure can't be found.The text was updated successfully, but these errors were encountered: