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

linear-mixed-effects: upgrade diagnostic plots #156

Open
nbokulich opened this issue Jun 23, 2020 · 0 comments
Open

linear-mixed-effects: upgrade diagnostic plots #156

nbokulich opened this issue Jun 23, 2020 · 0 comments
Labels
help wanted Extra attention is needed time:2|medium May take some time to complete (even with familiarity).

Comments

@nbokulich
Copy link
Member

Improvement Description
The old static seaborn plots look a bit clunky. Especially when plotting numeric group effects (this will probably also be an issue with the ANOVA residual plots but have not tested). See example below.

Current Behavior
Clunkiness galore.

Proposed Behavior

  1. better handling of numeric variables. E.g., use a color gradient instead of categorical colors when numeric values are passed (need to look at the data type, so that numbers cast as str are handled appropriately).
  2. maybe use a better visualization overall? Static is fine for diagnostics, but something like a "volatility" chart might be a good upgrade here. E.g., turn linear-mixed-effects into a pipeline, merge diagnostics + metadata into a single file, and pass to volatility to create a separate visualization as output.
  3. Maybe make the visualizations optional?

References
Example of ugly handling of numeric group variables:
a QZV:
linear-mixed-effects.zip
screengrab:
image

@nbokulich nbokulich added help wanted Extra attention is needed time:2|medium May take some time to complete (even with familiarity). labels Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed time:2|medium May take some time to complete (even with familiarity).
Projects
None yet
Development

No branches or pull requests

1 participant