Question: Create a summary scoring function in R using the following summary score information: Baby Pediatric Symptom Checklist Summary score Variables: BSCNWPPL _ C , BSCNWPLCS

Create a summary scoring function in R using the following summary score information:
Baby Pediatric Symptom Checklist
Summary score
Variables: BSCNWPPL_C, BSCNWPLCS_C, BSCCHG_C, BSCHLOPPL_C, BSCCRYALT_C,
BSCCLMDWN_C, BSCFUSSY_C, BSCSTHE_C, BSCSCHD_C, BSCPTSLP_C,
BSCSTYSLP_C, BSCPRLKSL_C
Values of Refused,Not Ascertained, and Dont Know should be coded as NA
Requires at least 8 of the 12 items to be non-missing in order to calculate the score. Otherwise,
the score should be missing.
This summary score is the mean of all items
High score means higher symptoms
Variable name: BPSC_SCORE
Child Behavior
Summary Score
Variables: BEHDFPLYG_C, BEHKBHYG_C, BEHDFCNTR_C, BEHDFFCS_C, BEHDFCHG_C,
BEHDFMKFR_C
Values of Refused,Not Ascertained, and Dont Know should be coded as NA
Requires at least 4 of the 6 items to be non-missing om order to calculate the score. Otherwise,
the score should be missing.
Reverse code all variables by subtracting the value from 5
The summary score is the mean of all items after recoding multiplied by 6
Variable name: BEH_SCORE

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!