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

weights #7

Open
Ali777927 opened this issue Jan 22, 2022 · 2 comments
Open

weights #7

Ali777927 opened this issue Jan 22, 2022 · 2 comments

Comments

@Ali777927
Copy link

Dear regmedint team,

First of all, thank you very much for this valuable package.

I wonder if there is any possibility to add "weights" as an argument in the function of regmedint. If that is not possible at this moment, is there is any indirect way to add them? I did my best to get the function "calc_myreg_mreg_linear_yreg_linear" working (because I know how to add weights in lm or survreg), but unfortunately, even after adding all the relevant functions related to the package (ie, here from the documentation in github), I was not able to see results (I was able to run it, but I was not able to see the outcomes. I hope that you can help me out.

Thanks in advance.
Kind regards,
Ali Al Mubarak

@kaz-yos
Copy link
Owner

kaz-yos commented Feb 3, 2022

Hi Ali,
It is not currently implemented. You may be able to fit unweighted versions of both models, get the result object, and inject separately fit weighted fits. I haven't tried it though.

@Ali777927
Copy link
Author

Thanks Kaz-yos for the reply. I'll try to get it working. Hopefully future updates will include that option.
Best, Ali

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