question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Misspecified var_names

See original GitHub issue

In certain cases, if an element of var_names is not in the dataset, should we should throw an exception? Right not, it will plot any var_names it can find, and ignore the others. This behavior has actually been kind of nice when plotting a centered eight trace vs a non-centered eight trace, but confusing if you typo one of the var_names.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ColCarrollcommented, Oct 13, 2018

right now the behavior is equivalent to data.posterior[var_names] (and specifically, data.posterior[var_names].sel(**coords), though, which I like: i.e., matching xarray’s behavior.

0reactions
canyon289commented, Oct 13, 2018

Fair point, matching xarrays behavior is good idea! We can focus this discussion on how verbose we want to be to user.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Model Misspecification - Statistics How To
Model Misspecification is where the model you made with regression analysis is in error. In other words, it doesn't account for everything it...
Read more >
xuyiqing/fect source: R/get_cohort.r - Rdrr.io
get.cohort <- function(data, D, index, varname = NULL, ... varnames <- colnames(data) if(! ... stop("Elements in \"entry.time\" are misspecified.
Read more >
Misspecified effect name in `marginal_effects` · Issue #58 · paul ...
I've fit a nonlinear model with one random effect. Calling plot(marginal_effects(fit)) produces marginal effects plots as intended, but trying to specify ...
Read more >
Panel data regression - Statalist
This is why I am running the regression using i.varname to indicate ... 1) your first (trivial) model is surely misspecified (one predictor ......
Read more >
Define a cube view data source - IBM
Click Set variables to initially set variable names and types based on a review of the ... Similarly, if the data type for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found