Reverse difference column option in iebaltab.ado #221
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi IE-team, thanks again for the stellar tool kit. Got a small edit for you if you like. Currently, the difference column tests the difference of control minus treatment group. I find that counterintuitive and would rather think of it in terms of how did my treatment group differ (treatment - control). In a two-armed study, I can game that by calling my treatment group control in the
control()
option. But for multi-armed studies this doesn't work. If anyone has a neat trick up their sleeves for how to do it without my edit, I stand corrected (and would love to know it). In the meantime, I've added an optiontreatminuscontrol
where the sign of the difference is switched to (what I feel) the more intuitive difference of treatment minus control group. Use with caution, only tested for my own purposes (savetex with 3 treatment arms) and I especially hope I didn't mess up the titlerow and texrow bits. Best, Moritz.PS: Shoot, rows 2864 and 2865, and 2667 and 2668 have a row2/row3 mix-up.