CDsampling0.1.6 package

Constrained Sampling in Paid Research Studies

approxtoexact_func

Convert the approximate allocation (proportion) to exact allocation (i...

bounded_uniform

Find (constrained) uniform exact allocation of the study for bounded d...

F_func_GLM

Fisher information matrix of generalized linear model (GLM)

F_func_MLM

The Fisher information matrix of multinomial logistic model (MLM)

Fdet_func_GLM

Determinant of Fisher information matrix for GLM

Fdet_func_MLM

Determinant of Fisher information matrix of multinomial logistic model...

Fdet_func_unif

Determinant function to be used for finding constrained uniform sampli...

approxtoexact_constrained_func

Convert the approximate allocation (proportion) to exact allocation (i...

Fi_func_MLM

Generate Fisher information matrix F_x at a design point x_i for Multi...

iset_func_trauma

trauma_data example (see Huang, Tong, Yang (2023)) specific function f...

iset_func_trial

trial_data example (see Huang, Tong, Yang (2023)) specific function fo...

liftone_constrained_GLM

Find constrained D-optimal approximate design for generalized linear m...

liftone_constrained_MLM

Find constrained D-optimal designs for Multinomial Logit Models (MLM)

liftone_GLM

Unconstrained lift-one algorithm to find D-optimal allocations for GLM

liftone_MLM

Unconstrained lift-one algorithm to find D-optimal allocations for MLM

print.list_output

Print Method for list_output Objects

print.matrix_list

Print Method for matrix_list Objects

print.matrix_output

Print Method for matrix_output Objects

W_func_GLM

Calculate the diagonal elements nu of Fisher information matrix

In the context of paid research studies and clinical trials, budget considerations and patient sampling from available populations are subject to inherent constraints. We introduce the 'CDsampling' package, which integrates optimal design theories within the framework of constrained sampling. This package offers the possibility to find both D-optimal approximate and exact allocations for samplings with or without constraints. Additionally, it provides functions to find constrained uniform sampling as a robust sampling strategy with limited model information. Our package offers functions for the computation of the Fisher information matrix under generalized linear models (including regular linear regression model) and multinomial logistic models.To demonstrate the applications, we also provide a simulated dataset and a real dataset embedded in the package. Yifei Huang, Liping Tong, and Jie Yang (2025)<doi:10.5705/ss.202022.0414>.

  • Maintainer: Yifei Huang
  • License: MIT + file LICENSE
  • Last published: 2025-04-05