score_bes: score_bes: Scored data from the Binge Eating Scale

View source: R/score_bes.R

score_besR Documentation

score_bes: Scored data from the Binge Eating Scale

Description

This function scores the Binge Eating Scale

Usage

score_bes(bes_data, parID)

Arguments

bes_data

a data.frame all items for the Binge Eating Scale following the naming conventions described above

parID

(optional) name of participant ID column in bes_data. If included the output dataset will be matched by parID, if not included the output dataset will be in the order of bes_data but will have no participant identifier.

Details

To use this function, the data must be prepared according to the following criteria: 1) The data must include all individual questionnaire items 2) The columns/variables must match the following naming convention: 'bes#' where # is the question number (1-16) 3) All questions must have the numeric value for the choice: 1 - 4 from least to most severe 4) This script will apply specific scoring transformations that are specific to each question. For example, the first 2 statement are reset to 0 for question 1 but not for question 2.

Note, as long as variable names match those listed, the dataset can include other variables

Value

A dataset with total score for the Binge Eating Scale

References

Gormally, J., Black, S., Daston, S., & Rardin, D. (1982). The assessment of binge eating severity among obese persons. Addictive Behaviors, 7(1), 47–55. https://doi.org/10.1016/0306-4603(82)90024-7 (PubMed)

Timmerman, G. M. (1999). Binge Eating Scale: Further Assessment of Validity and Reliability. Journal of Applied Biobehavioral Research, 4(1), 1–12. https://doi.org/10.1111/j.1751-9861.1999.tb00051.x

See Also

Raw data from Qualtrics was processed using the following script: util_fbs_parent_v2dat

Examples


# scoring for the bes with IDs
bes_score_data <- score_bes(bes_data, parID = 'ID')

## Not run: 



alainapearce/kellertools documentation built on Feb. 25, 2024, 7:16 a.m.