Skip to content

PowerTOST v1.4-8

Choose a tag to compare

@Detlew Detlew released this 30 Aug 09:57

Bug fixes

  • scABEL.ad(), sampleN.scABEL.ad(): CVwT was not given in output if CVwas a vector.
  • In scABEL.ad.R regulatorwas NULL. Corrected to reg$name.
  • Smaller font in 4th screen of pwrA_S3methods.R of pa.NTID() (more lines required). Plain font instead of bold in main.
  • Broken FDA URL in many man pages corrected.
  • In expsampleN.noninf() wrt operator && with vector arguments (new check in R 3.6.0).
  • CI.RatioF() fixed. Thanks to Michael (mittyri).

Major changes

  • New function sampleN.RSABE2L.sdsims() for sample size estimation via subject simulations for the ‘exact’ method of Tóthfalusi & Endrényi “Algorithms for evaluating reference scaled average bioequivalence: power, bias, and consumer risk”.
  • New function sampleN.scABEL.sdsims() for sample size estimation for ABEL via subject simulations. Useful in case of assumed heteroscedasticity in the partial replicate design (TRT|RTR|RRT).
  • NEWS.md instead of NEWS.
  • README.md (knitted from README.Rmd).
  • Function power.TOST.sds() to simulate subject data & evaluate via models with group effect implemented.
  • Unified Code base for the scaled ABE functions.

Minor changes

  • LaTeX-builder on CRAN laments about UTF-8 charcters in man-pages. No problem rendering the PDF-manual locally! Replaced all UTF-8 characters by \enc{foo}{bar}.
  • In power.scABEL(): If nsims not given, defaults to 1e5 (like before). If theta0 equals one of the expanded limits, deafault s to 1e6. Man-page updated.
  • Output of sampleN.TOST(): Same name of replicate designs like in the scaled functions.
  • In power.scABEL() name of scaled component "p(BE-ABEL)" instead of "p(BE-wABEL)".
  • Updated test_ABEL.R in inst/tests to support subject simulations.
  • power.scABEL(): More informative warning about heteroscedasticity in the partial replicate design (use of power.scABEL.sdsims() suggested).
  • Add/subtract .Machine$double.eps if rho is -1 or +1 given in power_type1_2TOST.R (similar to sampleN_2TOST_sim.R). Removed warning in the latter function. Less confusing for users and the example in the man-page looks nicer.
  • Man pages reworked.