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

Feature Request: Simplify working with contrasts #28

Open
billdenney opened this issue Aug 28, 2018 · 1 comment
Open

Feature Request: Simplify working with contrasts #28

billdenney opened this issue Aug 28, 2018 · 1 comment

Comments

@billdenney
Copy link

After generating a linear model, I often need to do subsequent operations to compute differences between contrasts and more accurately the difference between the coefficients of the fixed effects. Typically, I do this with the contrast package, but I also often need to compare multiple sets of contrasts which I can't do with contrast (as far as I know).

It would be helpful if I could provide a contrast matrix, a vector of coefficients (or fixed effects), and a variance-covariance matrix and use that to operate on the fixed effects of a model. I'd guess that this would be a new subclass of "errors" (something like a class of c("contrast_errors", "errors")) where the main "errors" object would work on the contrast values directly, and the "contrast_errors" object would work at the coefficient/fixed effects levels.

What do you think?

@Enchufa2
Copy link
Member

Sorry, I'm not familiar with contrasts; an example would be helpful. How do you use errors with contrasts and what do you want to simplify?

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

2 participants