MyNixOS website logo
Description

A Toolbox for Clinical Significance Analyses in Intervention Studies.

A clinical significance analysis can be used to determine if an intervention has a meaningful or practical effect for patients. You provide a tidy data set plus a few more metrics and this package will take care of it to make your results publication ready.

clinicalsignificance

R-CMD-check

The goal of this powerful package is to provide all necessary tools for analyses of clinical significance in clinical intervention studies. In contrast to statistical significance, which assesses if it is probable that there is a treatment effect, clinical significance can be used to determine if a treatment effect is of practical use or meaningful for patients. This package is designed to help researchers and healthcare professionals determine the clinical relevance of their findings. It provides various functions and tools for quantifying and visualizing clinical significance, making it easier to make informed decisions in the medical field.

Installation

You can install the clinicalsignificance package from CRAN using the following command:

install.packages("clinicalsignificance")

Alternatively, you can install the development version from GitHub:

devtools::install_github("pedscience/clinicalsignificance")

Main Functions

The main functions of the package are based on the main approaches for clinical significance analyses, i.e., the anchor-based approach, the percentage-change approach, the distribution-based approach, the statistical, and combined approaches. Hence, the main functions are

  • cs_anchor()
  • cs_percentage()
  • cs_distribution()
  • cs_statistical()
  • cs_combined()

See the package vignettes for additional details on the various clinical significance approaches.

Example

Claus et al. (2020) implemented a novel intervention to enhance the effectiveness of antidepressants by boosting the inherent placebo effect of that medication. The randomized patients to treatment as usual (TAU) and a placebo amplification (PA) group and measured the severity of depressive symptoms over time.

In the anchor-based approach, a clinical significant change is believed to have occured if a given change is greater or equal to the minimally important difference of the used instrument. Given a tidy dataset of the study and a minimally important difference for the Beck Depression Inventory (second edition, BDI-II) of 7 points, the study data by Claus et al. (2020) may be analyzed as follows:

library(clinicalsignificance)

cs_results <- claus_2020 |>
  cs_anchor(
    id = id,
    time = time,
    outcome = bdi,
    pre = 1,
    post = 4,
    mid_improvement = 7
  )

cs_results
#> 
#> ── Clinical Significance Results ──
#> 
#> Individual anchor-based approach with a 7 point decrease in instrument scores
#> indicating a clinical significant improvement.
#> Category     |  n | Percent
#> ---------------------------
#> Improved     | 25 |  62.50%
#> Unchanged    | 11 |  27.50%
#> Deteriorated |  4 |  10.00%

You can receive a detailed summary of the analysis by

summary(cs_results)
#> 
#> ── Clinical Significance Results ──
#> 
#> Individual anchor-based analysis of clinical significance with a 7 point
#> decrease in instrument scores (bdi) indicating a clinical significant
#> improvement.
#> There were 43 participants in the whole dataset of which 40 (93%) could be
#> included in the analysis.
#> 
#> ── Individual Level Results
#> Category     |  n | Percent
#> ---------------------------
#> Improved     | 25 |  62.50%
#> Unchanged    | 11 |  27.50%
#> Deteriorated |  4 |  10.00%

or plot the cs_results with

plot(cs_results)

Including Groups

Group-wise results may be obtained by setting the group argument

cs_results_grouped <- claus_2020 |>
  cs_anchor(
    id = id,
    time = time,
    outcome = bdi,
    pre = 1,
    post = 4,
    mid_improvement = 7,
    group = treatment
  )

summary(cs_results_grouped)
#> 
#> ── Clinical Significance Results ──
#> 
#> Individual anchor-based analysis of clinical significance with a 7 point
#> decrease in instrument scores (bdi) indicating a clinical significant
#> improvement.
#> There were 43 participants in the whole dataset of which 40 (93%) could be
#> included in the analysis.
#> 
#> ── Individual Level Results
#> Group |     Category |  n | Percent
#> -----------------------------------
#> TAU   |     Improved |  8 |  20.00%
#> TAU   |    Unchanged |  7 |  17.50%
#> TAU   | Deteriorated |  4 |  10.00%
#> PA    |     Improved | 17 |  42.50%
#> PA    |    Unchanged |  4 |  10.00%
#> PA    | Deteriorated |  0 |   0.00%
plot(cs_results_grouped)

Clinical Significance Categories

The individual categories may be visualized by adjusting the argument show in the plot() function call.

plot(cs_results, show = category)

Contributing

We welcome contributions from the R community to enhance the package. If you find any bugs, have feature requests, or would like to contribute improvements, please open an issue or submit a pull request on GitHub.

License

This package is released under the GNU General Public License. You are free to use and distribute it according to the terms of the license.


Thank you for using the clinicalsignificance R package! We hope it proves to be a valuable tool for assessing clinical significance in your medical and healthcare research. If you find it helpful, consider giving us a star on GitHub and spreading the word.

Metadata

Version

2.0.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows