Closed dariorrr closed 1 week ago
Thanks for the post @dariorrr
A bootstrap method is currently underway. you can follow progress here: https://github.com/insightsengineering/cardx/pull/205
Can you provide a code example for calculating the profile CI and a reference? If it does not require an additional dependency, we can consider adding it to the package.
Hi Daniel,
The issue I raised is wrong as it relates to the modelsummary package and not to gtsummary. I am so sorry for the inconvenience.
Thank you for your great work
Best
Dario
On Thu, 12 Sept 2024 at 20:34, Daniel Sjoberg @.***> wrote:
Thanks for the post @dariorrr https://github.com/dariorrr
A bootstrap method is currently underway. you can follow progress here: insightsengineering/cardx#205 https://github.com/insightsengineering/cardx/pull/205
Can you provide a code example for calculating the profile CI and a reference? If it does not require an additional dependency, we can consider adding it to the package.
— Reply to this email directly, view it on GitHub https://github.com/ddsjoberg/gtsummary/issues/1963#issuecomment-2346980743, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARH56B7IBJ7FRKAGI55EBOLZWHNCBAVCNFSM6AAAAABODNKTJCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBWHE4DANZUGM . You are receiving this because you were mentioned.Message ID: @.***>
If it helps, here's how to implement bootstrap https://www.danieldsjoberg.com/gtsummary/reference/custom_tidiers.html
And here's an example on how to use Wald CIs (which is easily modifiable to any method you prefer) https://www.danieldsjoberg.com/gtsummary/articles/gallery.html#wald-ci
It would be great to add the option to specify the methods 'profile' and 'bootstrap' (in addition to 'wald') for the calculation of the confidence intervals in the
add_ci
function. This would make it more consistent with the options of the theconfint
function.Thank you