Implements Bayesian phase I repeated measurement design that 
    accounts for multidimensional toxicity endpoints and longitudinal efficacy 
    measure from multiple treatment cycles. The package provides flags to 
    fit a variety of model-based phase I design, including 1 stage models with
    or without individualized dose modification, 3-stage models with or without
    individualized dose modification, etc. Functions are provided to recommend 
    dosage selection based on the data collected in the available patient cohorts 
    and to simulate trial characteristics given design parameters. 
    Yin, Jun, et al. (2017) <doi:10.1002/sim.7134>.

Implements our Bayesian phase I repeated measurement design that accounts for multidimensional toxicity endpoints from multiple treatment cycles. The package also provides a novel design to account for both multidimensional toxicity endpoints and early-stage efficacy endpoints in the phase I design. For both designs, functions are provided to recommend the next dosage selection based on the data collected in the available patient cohorts and to simulate trial characteristics given design parameters. Yin, Jun, et al. (2017) <doi:10.1002/sim.7134>.

Estimation and inference for coefficients of linear EIV models with symmetric measurement errors. 
      The measurement errors can be homoscedastic or heteroscedastic, for the latter, replication for at least some observations needs to be available. The estimation method and asymptotic inference are 
      based on a generalised method of moments framework, where the estimating equations are formed from (1) minimising the distance between the empirical phase function (normalised characteristic function) of the response and that of the linear combination of all the covariates at the estimates, 
      and (2) minimising a corrected least-square discrepancy function. Specifically, for a linear EIV model with p error-prone and q error-free covariates, if replicates are available, the GMM approach is based on a 2(p+q) estimating equations if some replicates are available and based on p+2q estimating equations if no replicate is available. 
      The details of the method are described in Nghiem and Potgieter (2020) <doi:10.1093/biomet/asaa025> and Nghiem and Potgieter (2025) <doi:10.5705/ss.202022.0331>.