Skip to content

pssmooth

Flexible and Efficient Evaluation of Principal Surrogates/Treatment Effect Modifiers

v1.0.3 · Nov 18, 2020 · GPL-2

Description

Implements estimation and testing procedures for evaluating an intermediate biomarker response as a principal surrogate of a clinical response to treatment (i.e., principal stratification effect modification analysis), as described in Juraska M, Huang Y, and Gilbert PB (2020), Inference on treatment effect modification by biomarker response in a three-phase sampling design, Biostatistics, 21(3): 545-560 <doi:10.1093/biostatistics/kxy074>. The methods avoid the restrictive 'placebo structural risk' modeling assumption common to past methods and further improve robustness by the use of nonparametric kernel smoothing for biomarker density estimation. A randomized controlled two-group clinical efficacy trial is assumed with an ordered categorical or continuous univariate biomarker response measured at a fixed timepoint post-randomization and with a univariate baseline surrogate measure allowed to be observed in only a subset of trial participants with an observed biomarker response (see the flexible three-phase sampling design in the paper for details). Bootstrap-based procedures are available for pointwise and simultaneous confidence intervals and testing of four relevant hypotheses. Summary and plotting functions are provided for estimation results.

Downloads

170

Last 30 days

19669th

170

Last 90 days

170

Last year

CRAN Check Status

5 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Michal Juraska <mjuraska@fredhutch.org>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘summary.riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testConstancy.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testEquality.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Michal Juraska <mjuraska@fredhutch.org>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘summary.riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testConstancy.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testEquality.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Michal Juraska <mjuraska@fredhutch.org>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘summary.riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testConstancy.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testEquality.Rd’:
    https://doi.org/1
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Michal Juraska <mjuraska@fredhutch.org>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

Found the following URLs which should use \doi (with the DOI name only):
  File ‘riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘summary.riskCurve.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testConstancy.Rd’:
    https://doi.org/10.1093/biostatistics/kxy074
  File ‘testEquality.Rd’:
    https://doi.org/1
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies osDesign np chngpt MASS pssmooth

Version History

new 1.0.3 Mar 9, 2026