|
| 1 | +--- |
| 2 | +format: |
| 3 | + pdf: |
| 4 | + toc: false |
| 5 | + toc-depth: 1 |
| 6 | + number-sections: false |
| 7 | + colorlinks: true |
| 8 | + papersize: a4 |
| 9 | + geometry: |
| 10 | + - top=35mm |
| 11 | + - left=25mm |
| 12 | + - right=25mm |
| 13 | + - heightrounded |
| 14 | + include-in-header: |
| 15 | + text: | |
| 16 | + \usepackage{scrlayer-scrpage} |
| 17 | + \renewcommand{\titlepagestyle}{scrheadings} |
| 18 | + \rohead{\includegraphics[height=2cm]{../sticker/openstatsware-hex-300.png}} |
| 19 | + \raggedright |
| 20 | + include-before-body: |
| 21 | + text: | |
| 22 | + \title{\vspace{-2.5cm}openstatsware} |
| 23 | + \subtitle{Who we are and what we build together} |
| 24 | +execute: |
| 25 | + echo: false |
| 26 | + include: false |
| 27 | +--- |
| 28 | + |
| 29 | + |
| 30 | +<!-- title: openstatsware --> |
| 31 | +<!-- subtitle: "Who we are and what we build together" --> |
| 32 | + |
| 33 | +```{=latex} |
| 34 | +\maketitle |
| 35 | +\vspace{-2.5cm} |
| 36 | +``` |
| 37 | + |
| 38 | +# Introducing openstatsware |
| 39 | + |
| 40 | +## Background |
| 41 | + |
| 42 | +```{r calc-stats} |
| 43 | +library(readr) |
| 44 | +library(dplyr) |
| 45 | +members <- read_csv("../data/members.csv") |> filter(SWE_WG_Member == 1) |
| 46 | +n_members <- nrow(members) |
| 47 | +unique_orgs <- members |> pull("Affiliation") |> unique() |> sort() |
| 48 | +``` |
| 49 | + |
| 50 | + |
| 51 | +- Formed on 19 August 2022 |
| 52 | +- Official working group of the [American Statistical Association (ASA) Biopharmaceutical section (BIOP)](https://community.amstat.org/biop/home) |
| 53 | +- Special Interest Group (SIG) of the [European Federation of Statisticians in the Pharmaceutical Industry (EFSPI)](https://www.efspi.org/). |
| 54 | +- Cross-industry collaboration (`r n_members` members from `r length(unique_orgs)` organizations) |
| 55 | +- Homepage: [openstatsware.org](https://www.openstatsware.org/) |
| 56 | +- We welcome new members to join! |
| 57 | + |
| 58 | + |
| 59 | +## Motivation |
| 60 | + |
| 61 | +- Open-source software increasingly popular in Biostatistics |
| 62 | + - Rapid uptake of novel statistical methods |
| 63 | + - Unprecedented opportunities for collaboration |
| 64 | + - Transparency of methods and implementation |
| 65 | +- Variability in software quality |
| 66 | + - No statistical quality assurance on open-source extension package repositories, e.g. CRAN |
| 67 | + - No industry standard for assessing quality of R packages |
| 68 | +- **Reliable software for core statistical analyses is paramount** |
| 69 | + |
| 70 | + |
| 71 | +# Our work |
| 72 | + |
| 73 | +## Objectives |
| 74 | + |
| 75 | +- **Engineer selected packages** to fill in gaps in the open-source statistical software landscape, and to promote software tools designed by the working group through publications, conference presentations, workshops, and training courses. |
| 76 | + |
| 77 | +- **Develop good SWE practices** for engineering high-quality statistical software and promote their use in the broader Biostatistics community via public training materials. |
| 78 | + |
| 79 | +- **Communicate and collaborate** with other R software initiatives including via the [R Consortium](https://www.r-consortium.org/). |
| 80 | + |
| 81 | +We complement the various other R and open source initiatives and statistics SIGs as a bridge between statistical methodology and software. |
| 82 | +Other groups that we have connections to are Pharmaverse, R Submission Working Group, R Repository Working Group, PSI AIMS, CAMIS, and R Validation Hub. |
| 83 | + |
| 84 | +## Workstreams in Package Development |
| 85 | + |
| 86 | +Members from different companies have collaborated on a number of statistical software projects: |
| 87 | + |
| 88 | +- Mixed Models for Repeated Measures (MMRM) |
| 89 | + - Developed the [`mmrm`](https://cran.r-project.org/package=mmrm) R package for frequentist inference in MMRM |
| 90 | +- Bayesian MMRM |
| 91 | + - Developed the [`brms.mmrm`](https://cran.r-project.org/package=brms.mmrm) R package for Bayesian inference in MMRM |
| 92 | +- Health Technology Assessment (HTA) |
| 93 | + - Developed the [`maicplus`](https://hta-pharma.github.io/maicplus/) R package for matching-adjusted indirect comparison (MAIC) |
| 94 | +- Bayesian Safety Signal Detection |
| 95 | + - Developed the [`SafetySignalDetection.jl`](https://openpharma.github.io/SafetySignalDetection.jl/) Julia package |
| 96 | + |
| 97 | +## Best Practices Dissemination |
| 98 | + |
| 99 | +Our members are widely engaged with teaching and outreach to encourage best practice in statistical software development. |
| 100 | + |
| 101 | +### Workshops |
| 102 | + |
| 103 | +- Workshop "Good Software Engineering Practice for R Packages" on world tour |
| 104 | +- To teach hands-on skills and tools to engineer reliable R packages |
| 105 | + - Topics: R package structure, engineering workflow, ensuring quality, version control, collaboration and publication, and shiny development |
| 106 | +- 5 events in 2023 in Basel, Shanghai, San José, Rockville, and Montreal |
| 107 | +- 4 events in 2024 in Zurich, Salzburg, Beijing, and [online at R/Pharma APAC](https://openpharma.github.io/workshop-r-swe-rinpharma-2024/) |
| 108 | + |
| 109 | +### openstatsguide |
| 110 | + |
| 111 | +- [Found online here](https://openstatsware.org/guide.html) |
| 112 | +- Small and concise set of recommendations for package developers |
| 113 | +- Opinionated, but aims to be based on experienced majority opinions |
| 114 | +- Focus are developers, while users might find complementary "validation" frameworks valuable |
| 115 | +- Primarily for statistical packages (not plotting, data wrangling, etc.) |
| 116 | +- Generic principles which can be used across functional data science languages R, Python, and Julia |
| 117 | +- Concrete tools are mentioned as examples |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | +<!-- Photo by Vie Studio [link](https://www.pexels.com/photo/thank-you-lettering-on-white-surface-4439457/) --> |
0 commit comments