-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Bug or feaure request? #235
Comments
Well, you want to adjust a model containing only interactions ? Does it make sense ? I don't think so. You probably mean here For other variants, if you use |
No, this is not a model with interactions. This equation is simply a model representing different slopes. Standard model. You would then test the H0: beta_j = beta. |
With the default treatment contrast matrix, the first level is considered as reference and the other betas are change in the slope. Hence, if you want a model with a different slope for each level of beta_1 is the slope adjusted to cyl = 4, then beta_2 and beta_3 are changes from the beta_1 slope, respectively for cyl = 6 and cyl = 8. I think this is what you are looking for, although parameterized differently. |
Here, you have to check that beta_2 and beta_3 are not significantly different to zero to match your H0:beta_j = beta hypothesis. |
Thanks @phgrosjean . I am just looking for a clean representation of a formula. I am not using lm. I just used lm to create an example model that i can translate through this package into a form that i want. And the specific example i gave is just that. I am not using mtcars for anything, just to give an example of a representation of a formula i was hoping your package might be able to translate. You have a nice package i'll use it for other things but probably not for this project |
Not sure if it is a bug or something that is not yet been considered
Created on 2024-07-17 with reprex v2.1.0
The output should be something like:
The text was updated successfully, but these errors were encountered: