response.analysis: Response Analysis

View source: R/response.analysis.R

response.analysisR Documentation

Response Analysis

Description

Computes the difference in the total and unique number of responses between two groups (follows Christensen et al., 2018)

Usage

response.analysis(...)

Arguments

...

Matrix or data frame. Responses matrices for two different groups

Value

A list containing objects:

total

A vector with the total responses given by each participant. A t-test is used to compare, on average, whether one group provides more response than the other

unique

A vector with the number of unique responses provided by both groups (Total Across Groups), the number of unique responses provided by each group (Total), and the number of unique resposnes provided by each group that were not provided by the other group (Unique). A McNemar's test is used to compare whether the number of unique responses are different between groups

Author(s)

Alexander Christensen <alexpaulchristensen@gmail.com>

References

Christensen, A. P., Kenett, Y. N., Cotter, K. N., Beaty, R. E., & Silvia, P. J. (2018). Remotely close associations: Openness to experience and semantic memory structure. European Journal of Personality, 32, 480-492.

Examples

# Obtain data
low <- open.clean[which(open.group == "Low"),]
high <- open.clean[which(open.group == "High"),]

# Perform analysis
response.analysis(low, high)


AlexChristensen/SemNetToolbox documentation built on Aug. 20, 2023, 11:46 a.m.