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

Overarching questions about Gaussian models #37

Closed
psolymos opened this issue Mar 7, 2017 · 1 comment
Closed

Overarching questions about Gaussian models #37

psolymos opened this issue Mar 7, 2017 · 1 comment

Comments

@psolymos
Copy link
Owner

psolymos commented Mar 7, 2017

Non-centered covariates in Gaussian models can lead to negative estimates. This is undesirable from various reasons:

  • Lorenz-curve based thresholding will not work, and in the absence of that, we cannot assign split labels to multicut1 objects.
  • mu1/mu0 type prior indicator potential measures will be incorrect (even x + abs(mu0) will be NaN due to division by 0). mu0=0 (or -10^-14) is quite likely when data has lots of 0.
  • Lognormal, Gamma etc models have 0 mass at 0, thus require ZI component for almost all practical purposes

Having negative values, however, might be justified when one used non-abundance data, e.g. instrument measurements that can take negative values (and do not want to transform due to variances, 0s, etc)

Possible options:

  • Do not care (no error/warning), let the users do what they want.
  • Warning: give warning and a workaround (e.g. centering, fix_fitted option) for methods that otherwise fail (like bestpart, summary, plot). But the estimates can be processed further.
  • Error: constrain the analysis workflow to abundance type data.

Right now the implementation uses warnings. This is maybe as good as it gets.

@psolymos
Copy link
Owner Author

Keep this note for the record, and maintain current implementation (warning + workarounds).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant