src.analyse.questionnaire
Unused code stub for analysis of questionnaire data
Functions
|
Unused |
Classes
|
Deprecated |
|
Deprecated |
- class src.analyse.questionnaire.InterRaterReliability(**kwargs)
Bases:
object
Deprecated
- _recode_categorical_variables(s: Series) Series
Replaces a ordinal variable from 1-9 with three categories, in accordance with those in the questionnaire
- _return_cohen_kappa(grp: groupby, var: str) float
Returns Cohen’s kappa value
- _return_interclass_correlation(grp: groupby, var: str) float
Returns the interclass correlation, in the form of Pearson’s R statistic
- _return_kendall_w(grp: groupby, var: str) float
Returns Kendall’s w value
- format_df() DataFrame
Called from outside the class, returns a dataframe grouped by class containing all the required summary stats
- class src.analyse.questionnaire.TestRetestReliability(**kwargs)
Bases:
object
Deprecated
- format_df_for_regplot(var: str) DataFrame
Returns a dataframe that can be provided to RegPlotSingle class to create a regression plot of scores of one variable across both measures, for all trials
- format_trr_df() DataFrame
Returns a dataframe of test-retest reliability scores for all variables, stratified by individual duos
- src.analyse.questionnaire.questionnaire_analysis(raw_data: list[list], output_dir: str) None
Unused