questionaire: Calculate scores from questionaires (questionaire)

View source: R/questionaire.R

questionaireR Documentation

Calculate scores from questionaires (questionaire)

Description

questionaire() is a function which calculates scores from a questionaire.

Usage

questionaire(df,id,questions,scale,prefix,...)

Arguments

df

dataframe. (df)

id

Column name of participant id (string)

questions

Column names of ordered list of questions (list)

scale

name of the questionaire (string)

prefix

prefix of column names of questionaire scores (string)

...

additional questionaire specific parameters

Details

PARCA-R (Parent Report of Children’s Abilities-Revised)

This only calculates the scores for the 34 Non-verbal cognitive score. The questionaire needs to have 34 questions, scale = "PARCA-R", and the following additional parameters need to be set:

  • birthday | The name of the column for the birthday; if children are born before 37 weeks of gestatoin it is suggested to have corrected age; and then the column should be date of term.

  • date | The name of the column for the date of when the participants went through the questionaire.

  • sex | The name of the column for the sex of the participants. Male's must be coded as M and females as F.

The calculation summarizes both the raw score and the standard score. As per the PARCA-R manual from 2019 and from the protocol from SafeBoosC-III follow-up study Rasmussen et al. 2029 moderate-or-severe cognitive impairment is defined as < -2SD. This corresponds to a standard score below 70.

CBI (Copenhagen Burnout Inventory)

Using the 19 questions from the CBI it will both calculate score and group.

Using setting it can either be the English version (default; score = 'english') or the Danish version (score = 'danish'). In the English version the Likert-scale is converted to 100, 75, 50, 25, 0. Here, no more than 3 questions may be missing in each subscore English CBI.

The groups are based on the average score:

  • 0-25: 'no burnout'

  • 25-50: 'light burnout'

  • 50-75: 'moderate burnout'

  • 75-100: 'severe burnout'

In the Danish score the questions are summed up from 0 to 4 points. Here, all questions must be answered. Danish CBI

The groups are based on the summed score:

  • 0-5: 'no burnout' (0-6 for Work-related burnout)

  • 6-11: 'light burnout' (7-13 for Work-related burnout)

  • 12-17: 'moderate burnout' (14-20 for Work-related burnout)

  • 18+: 'severe burnout' (21+ for Work-related burnout)

KIDSCREEN-52

Works, but not documented

SF-36

Works, but not documented. However, used https://www.rand.org/health-care/surveys_tools/mos/36-item-short-form/scoring.html

CBCL

Not yet documented

AFEQ

Not yet documented

Value

Returns summarised information in dataframe.

Examples

## Not run: 

   df <- df_b[,grepl("ssid|KIDSCREEN52_D_",colnames(df_b))][,c(1:53)]
   k52 <- questionaire(df,id = "ssid",
   questions=colnames(df)[grepl("KIDSCREEN",colnames(df))],
   scale="Kidscreen-52",
   setting="proxy")#'

## End(Not run)


lilleoel/clintools documentation built on April 17, 2025, 6:09 p.m.