score_brief2: score_brief2: Scored data from the Behavioral Rating...

View source: R/score_brief2.R

score_brief2R Documentation

score_brief2: Scored data from the Behavioral Rating Inventory of Executive Function-2

Description

This function scores the Behavioral Rating Inventory of Executive Function-2 and provides subscale scores for the following behaviors: brief2_inhibit, Self-Monitor, Shift, Emotional Control, Initiate, Working Memory, Plan/Organize, Task Monitoring, Organization of Materials. There are also 4 index scores: Behavioral Regulation Index, Emotion Regulation Index, Cognitive Regulation Index, and the General Executive Composite. Three scores help indicate if responses were valid: Negativity Score, Inconsistency Score, and Infrequency Score

Usage

score_brief2(brief_data, age_var, sex_var, male = 0, female = 1, parID)

Arguments

brief_data

a data.frame all items for the Behavioral Rating Inventory of Executive Function-2 following the naming conventions described above

age_var

a string with the name of the age variable in brief_data

sex_var

a string with the name of the sex variable in brief_data

male

(optional) value for male. Default value is male = 0

female

(optional) value for female. Default value is female = 1

parID

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

Details

These data are scored using the brief2_scoretables data available in the kellertools package to look up age- and sex-nomed t-scores and percentiles.

To use this function, the data must be prepared according to the following criteria: 1) The data must include sex, age in years, and all individual questionnaire items 2) The questionnaire items must match the following naming convention: brief#' where # is the question number (1-63) 3) Questions must have the numeric value for the choices: 1 - Never, 2 - Sometimes, 3 - Often

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

Value

A dataset with subscale scores for the Behavioral Rating Inventory of Executive Function-2

References

Gioia GA, Isquith PK, Guy SC, Kenworthy L. BRIEF-2: Behavior Rating Inventory of Executive Function: Professional Manual. Psychological Assessment Resources; 2015.

See Also

Raw data from Qualtrics was processed using the following script: util_fbs_parent_v4dat, util_fbs_parent_v7dat and util_fbs_parent_v7dat. Normed values were be identified using ref_brief2_lookup but could also be done through ref_lookup_fm

Examples


# scoring for the brief with IDs
brief_score_data <- score_brief2(brief_data, age_var = 'age', sex_var = 'sex', parID = 'ID')

# scoring for the brief with specified levels for male and female
brief_score_data <- score_brief2(brief_data, age_var = 'age', sex_var = 'sex', male = 'male', female = 'female', parID = 'ID')

## Not run: 

# age and sex variable names must be strings - the following would not be correct
brief_score_data <- score_brief2(brief_data, age_var = age, sex_var = sex)

# male and female specification must match the data in brief_data. Do not give the value label if brief_data has label attributes for sex.

#check attributes for sex
attributes(brief_data$sex)

#$labels
#Male Female
# 0      1

#with the above attributes, the following will not run as the data.frame contains 0's and 1's, not the labels
brief_score_data <- score_brief2(brief_data, age_var = 'age', sex_var = 'sex', male = 'Male', female = 'Female')


## End(Not run)


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