convert.d.to.nnc

Helper functions for Numbers Needed for Change

These two functions are used by nnc to compute the Numbers Needed for Change.

Keywords
utilities
Usage
convert.d.to.nnc(d, cer, r = 1,
                 eventDesirable = TRUE,
                 eventIfHigher = TRUE)
convert.d.to.eer(d, cer,
                 eventDesirable = TRUE,
                 eventIfHigher = TRUE)
Arguments
d

The value of Cohen's d.

cer

The Control Event Rate.

r

The correlation between the determinant and behavior (for mediated Numbers Needed for Change).

eventDesirable

Whether an event is desirable or undesirable.

eventIfHigher

Whether scores above or below the threshold are considered 'an event'.

Details

These two functions are used by nnc to compute the Numbers Needed for Change.

Value

The converted value.

References

Gruijters, S. L. K., & Peters, G.-J. Y. (2017). Introducing the Numbers Needed for Change (NNC): A practical measure of effect size for intervention research.

See Also

nnc

Aliases
  • convert.d.to.nnc
  • convert.d.to.eer
Examples
# NOT RUN {
convert.d.to.eer(d=.5, cer=.25);
convert.d.to.nnc(d=.5, cer=.25);
# }
Documentation reproduced from package userfriendlyscience, version 0.6-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.