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

in two sample tests, grouping variable should show *all* categorical variables, but then alert if select a variable with more than two groups #3223

Open
gweinberg opened this issue Apr 20, 2023 · 0 comments

Comments

@gweinberg
Copy link

Problem

Every semester I have to explain to students why, in two-sample tests, they can't select certain variables to group by (because they don't realize those variables have more than two categories). In fact, apparently this semester, even a TA didn't understand, and told the students the wrong thing (they said there was a bug in the platform).

So, request as follows:

In two-sample tests, when selecting the "group by" variable, all the variables should appear in the drop-down; then the functionality is as follows:

  • If a categorical variable with more than two groups is selected, the panel shows an alert like, "cannot group by that variable, since it has more than two categories."
  • If a quantitative variable is selected, the panel shows an alert like, "cannot group by that variable, since it is not categorical."

Solution

see above

Alternatives

No response

Additional context

None.

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