behavdata

R Package with auxiliary functions to facilitate data pre-processing and analysis of behavioral data

https://github.com/samueltobler/behavdata

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 7 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary

Keywords

behavioral-data eth-zurich likert-data qualitative-data r statistics
Last synced: 6 months ago · JSON representation ·

Repository

R Package with auxiliary functions to facilitate data pre-processing and analysis of behavioral data

Basic Info
  • Host: GitHub
  • Owner: samueltobler
  • License: other
  • Language: R
  • Default Branch: main
  • Homepage: https://samueltobler.ch
  • Size: 95.7 KB
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
behavioral-data eth-zurich likert-data qualitative-data r statistics
Created over 3 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

behavdata

CC BY-NC-SA 4.0

DOI

Introduction

The behavdata package allows easy pre-processing and analysis of behavioral data. This package includes the following functions:

Scale Analysis Related

  • likert_transform: for fastly transforming text inputs like from Likert scale answers into numerical values
  • likert_switch: to invert numerical values Likert scales
  • AlphaCI_Bounds: to determine the confidence interval for Cronbach's Alpha values
  • combined_scaleanalysis: To quickly determine standard values for scale analyses
  • scales: An extension of the function combined_scaleanalysis
  • likert_means_4p: Average Likert score for 4-point Likert scales
  • likert_means_5p: Average Likert score for 5-point Likert scales
  • likert_means_7p: Average Likert score for 7-point Likert scales
  • in.numeric: for transforming data on any scale (i.e., non-numeric Likert scale) into numeric valuess

Qualitative Data Related

  • answer_rating: for facilitated and unbiased rating of student answers on qualitative or open-ended questions

Correlation Analyses

  • correlation_table: to calculate all pairwise correlations of a big data set and directly obtain a CSV table
  • single_correlation_table: to calculate pairwise correlations of a single vector with many others and directly obtain a CSV table

Effect Size Analyses

  • eta_to_d: to calculate Cohen's d values from eta-squared scores
  • r_to_d: to calculate Cohen's d values from correlation values
  • f_to_d: to calculate Cohen's d values from ANOVA F scores
  • gse: to determine the standard error of Hedge's g effect sizes
  • finding_d: to determine the lowest Cohen's d value with which two group means are statistically equivalent
  • finding_d_from_df: to determine the lowest Cohen's d value with which two group means are statistically equivalent from a data frame

Outlier Analysis

  • outliers: to determine statistical outliers
  • truefalsecounter: compare two vectors to make a vector with true/false values to indicate where the values in vector 1 are present in vector 2

Other Functions

  • se_propagation: to propagate standard errors
  • ci_to_sd: to find standard deviation values from confidence intervals
  • pathback: to go one folder up in the working directory
  • stat.info: to get descriptive test statistics of numerical data
  • stat.info_chr: to get descriptive test information of non-numerical data
  • count_if: to count how many times a certain number or element is present in the data
  • p.signs: to assign symbols to p-values

More functions will be added over time.

Installation

r library(devtools) devtools::install_github("samueltobler/behavdata", force = TRUE) library(behavdata)

Citation

To cite the repository behavdata in publications, please use:

Tobler, S. (2022). behavdata: R Package for Behavioral Data Preprocessing and Analysis (Version 0.1.1) [Computer software]. https://github.com/samueltobler/behavdata


If you used the finding_d function, please cite additionally:

Tobler, S. (2022, October). Finding equivalence: a novel tool to investigate the effect size at which two groups are statistically equivalent. In 7th Annual Learning Sciences Graduate Student Conference (LSGSC 2022). https://doi.org/10.3929/ethz-b-000575508


References

Some of the functions require previously published R packages. These are the references of these packages (in alphabetical order).

  • Hmisc: Harrell Jr F (2022). Hmisc: Harrell Miscellaneous. R package version 4.7-0, https://CRAN.R-project.org/package=Hmisc.
  • psych: Revelle, W. (2022) psych: Procedures for Personality and Psychological Research, Northwestern University, Evanston, Illinois, USA. https://CRAN.R-project.org/package=psych
  • sjmisc: Lüdecke D (2018). “sjmisc: Data and Variable Transformation Functions.” Journal of Open Source Software, 3 (26), 754. doi:10.21105/joss.00754
  • TOSTER: Lakens, D. (2017). Equivalence tests: A practical primer for t-tests, correlations, and meta-analyses. Social Psychological and Personality Science, 8(4), 355-362. doi:10.1177/1948550617697177

Owner

  • Name: Samuel
  • Login: samueltobler
  • Kind: user
  • Location: Zurich

Doctoral Candidate at ETH Zurich in Learning Sciences and Higher Education

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Tobler"
  given-names: "Samuel"
  orcid: "https://orcid.org/0000-0002-0661-6055"
title: "behavdata: R Package for Behavioral Data Preprocessing and Analysis"
version: 0.1.1
date-released: 2022-10-13
url: "https://github.com/samueltobler/behavdata"

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Dependencies

DESCRIPTION cran
  • Hmisc * imports
  • TOSTER * imports
  • psych * imports
  • sjmisc * imports