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

Provide functionality for response variable transformation #21

Closed
graysonwhite opened this issue Feb 19, 2024 · 1 comment
Closed

Provide functionality for response variable transformation #21

graysonwhite opened this issue Feb 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@graysonwhite
Copy link
Contributor

It would be really nice to have flexibility in the linear mixed model to model the response as a function of $y$, but still return estimates with respect to $y$, i.e.,
$f(y) = X\beta + u_j + e_{ij}$,
but return $\hat \mu$ as the average of $y$, not $f(y)$.

Here, we should only have to require that $f$ has an inverse. We will need find and then compute the inverse on each unit the linear mixed model has predicted onto in the estimation and bootstrap MSE estimation processes.

@joshyam-k
Copy link
Collaborator

implemented in b7e74ba

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

No branches or pull requests

2 participants