The gtsummary::tbl_summary functionality is wonderful and I am looking for a way to add SMD for categorical variables. The tableone function provided smd for all types of covariates including character. I tried adding SMD to tbl_summary by add_stat with effsize::cohen.d or effsize::cohen.d. but both worked for numeric covariates and not for character. Any guidance is appreciated. Thanks
SMD for categorical variable using tbl_summary
1.1k views Asked by Inbal Goldshtein At
1
There are 1 answers
Related Questions in GTSUMMARY
- Struggling with gtsummary and "empty" data
- Preserve big.mark = " " when updating modify_header() of gt_summary object
- gtsummary tables include striping by default in latest update, can it be turned off?
- gtsummary: Is it possible to add 'n' for each column of table when the tbl_summary is stratified by two groups
- How to move row group name into stubhead and center stub using gt()
- GTsummary PIndent Third Time Issue
- How to display confidence intervals coorrectly with multiple stats in tbl_summary
- Adding p-values in tbl summary
- How to specify covariates in gtsummary ANCOVA
- how to do conditional logic in gtsummary?
- How can I create a cross-table by multiple variables in R?
- Using gtsummary in R to display multiple logistic regressions in one table
- Summarize categorical data by 2 categories in R using gtsummary
- How do you calculate a success rate for a column in tbl_summary using a different column value?
- When using the table function and sorting by variable, how to exclude a subcategory
Related Questions in SMD
- How to reference proportions when making a custom statistic in gtsummary
- Add SMDs for each level of a categorical variable in gtsummary
- I'm unable to solve an unused arguments error I get when using the smd package
- How to calculate Standardized Mean Difference for Table1 Package in R?
- Standardised mean differences for categorical variables
- How to calculate SMD between 3 groups or more?
- SMD for categorical variable using tbl_summary
- Effect Size Calculation with metafor (using "SMD"): insert standard deviation of difference of groups rather than group-specific SDs?
- no smd (standardized mean differences) shown by tableone::CreateTableOne
- Can't get my app to work everyday! I user time.sleep() for > 12 hours
- Download files as .zip via cmis
- How to get exception inside ActionInvocation.invoke()
- Android application fetch data from SQLite
- XPages jsonRpcService - Possible to get SMD description remotely?
- jsonrpc2 returning remote reference
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Use the
add_difference()function with method"smd"to get the standardized mean differences. Review this page for a list of all available methods https://www.danieldsjoberg.com/gtsummary/reference/tests.html