Skip to content

simstudy 0.7.1

Compare
Choose a tag to compare
@kgoldfeld kgoldfeld released this 24 Nov 21:08

Breaking Changes

  • trtAssign with ratio=NULL used to produce 0-index values but 1-indexed values if ratio was set. This was adjusted so now both versions produce 0-indexed values. This is a potentially breaking change for existing scripts that use the generated treatment values while assuming the old behavior (e.g. using hardcoded values to filter).

New features

  • Function logisticCoefs determines the intercept and treatment/exposure
    parameter for a data generating process (based on a logistic regression model)
    that has a specific target population prevalence of a binary outcome, and an
    option to target a risk ratio, risk difference, or AUC.

Major fix

  • Data generation speed has been improved for very large data sets with many
    variables.