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

[iebaltab] - allow for multiple stats per stats type #293

Open
kbjarkefur opened this issue Sep 20, 2022 · 2 comments
Open

[iebaltab] - allow for multiple stats per stats type #293

kbjarkefur opened this issue Sep 20, 2022 · 2 comments

Comments

@kbjarkefur
Copy link
Contributor

For example, stats(pair( beta se)) would show both Beta and the standard errors.

This is not possible today, but the introduction of stats() was the first step towards allowing the in an later version.

@kbjarkefur
Copy link
Contributor Author

@bbdaniels original comment in #288 (comment)_

Ok I have looked through this now and it looks hugely improved, great work! I just have one last question, which is, how can I request a mean and a variance statistic for the pairwise comparisons at the same time (ie, beta and p)? That is the only thing I would want to do that I can't figure out and there appears to be room in the table for that where there are currently blank spaces.

For example, I run:

iebaltab pop medage, grpvar(region) savex("/users/bbdaniels/desktop/test.xlsx") replace stats(pair( beta ))

And get:

Screen Shot(17)

But this fails, so it is not clear how to fill the blanks (as in K5):

.  iebaltab pop medage, grpvar(region) savex("/users/bbdaniels/desktop/test.xlsx") replace stats(pair( beta se))

The [pair(beta se)] in [stats(pair( beta se))] is not formatted properly. Make sure that each test name is follewed by a single stat inside a ().
invalid syntax
r(198);

@kbjarkefur
Copy link
Contributor Author

As suggested in #295. Consider adding multiple stats in extra columns rather than extra rows as in Mean/SE in the screen shot above.

I think it is important that we only allow row/column to be an option if it can be done without making the command too complex. That is what lead to iebaltab to need a re-write in the first place. In the post re-write version there is also the result matrix and from that any user can create tables with infinite amount of customization.

@kbjarkefur kbjarkefur added this to the v7.4 milestone Feb 7, 2024
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

1 participant