1 of 28

Advantages of using CogStat

Attila Krajcsi

​

https://www.cogstat.org

​

Last update: 2022 April

2 of 28

Outline

  • CogStat in a nutshell
  • Advantages of using CogStat
    • Faster
    • More informed and more precise
    • More coherent
    • Better for learning and teaching

3 of 28

CogStat in a nutshell

4 of 28

CogStat in a nutshell

  • Statistical and data analysis software
    • Mostly covering analyses discussed in Psychology BA, Stat 101 classes (as of version 2.2)
  • Free
    • and open source
  • Automatic analysis, e.g.,
    • Selects the hypothesis tests, displays in APA format
    • Collects the charts and tables
  • Carefully designed output to make the results more informative, e.g.,
    • Shows the aspect the analyses rely on, e.g., ordinal information for ordinal scales
    • Strict separation of sample and population properties
  • Localized to many languages

5 of 28

6 of 28

Practical steps

  1. Load your data (measurement levels included)
    • A lot of file formats are supported, you can use your former data
  2. Choose the analysis task and your data
  3. Check the results and copy them to your report
  4. Optionally, run individual analysis if needed

7 of 28

Advantage: Faster

8 of 28

Convenient to use

In SPSS (v25)

1. Graphs > Graphboard template chooser

2. Set dependent and grouping variable and select 2-D Dot Plot

3. Hit OK

4. Analyze > Descriptive Statistics > Explore

5. Set dependent and factor list

6. In Plots, set Normality plots with tests, and hit Continue

7. Hit OK

8. Find the normality test in the output, and check if normality is violated

If normality is not violated:

9. Analyze > Compare means > Independent-samples t test

10. Set the test and grouping variables

11. In Grouping variable set the group levels, and hit Continue

12. Hit OK

13. Find the Levene’s test, and depending on the result, find the appropriate test result

If normality is violated:

9. Analyze > Nonparametric tests > Independent samples

10. Set objective to Compare medians across groups

11. On Fields, set test fields and groups

12. Hit Run

13. The result misses the test statistics (it only includes the p value), a reviewer may miss�

14. SPSS does not calculate Cohen’s d and Hedges’ g, so calculate it by hand or with custom SPSS syntax file

15. For sensitivity analyses you need SPSS Statistics Base Edition. In Analyze > Power Analysis > Means > Independent-Samples T Test, set the variables, choose Plot and enable Power estimation versus effect size.

​

In CogStat (v2.1)

1. Analysis > Compare groups

2. Set dependent and grouping variables

3. Hit OK

9 of 28

Faster analysis

  • (Surprisingly fast even for me)
  • Often no need to save the results - rerunning the analysis is equally fast or faster than opening the saved results
  • (Empirical test is in progress)

10 of 28

APA format

  • E.g., simply copy-paste the result vs. compile various values from different cells of the result table

11 of 28

Advantage: More informed and more precise

12 of 28

Always displays the raw data

​

13 of 28

Graphs reflect the measurement level

  • Different axis style
    • Solid for interval
    • Dashed for ordinal (as “gaps” in the line)
    • Dotted for nominal (there are no relation between the values)
  • For group comparison the grouping variable is nominal
    • This is how it is handled
  • For ordinal variables the order of the values
    • That’s what the analysis “sees”
    • E.g., Spearman correlation is a Pearson correlation on the order information

14 of 28

Repeated measures data – example of diagnostic information

15 of 28

Strict separation of sample and population properties

  • I.e., descriptive and inferential statistics
    • Since we hardly measure full population, these almost always refer to sample and population
  • Sample property is the hard data, population property is always uncertain

16 of 28

See relevant information next to each other

Output is grouped in a smarter way

  • Numerical results with charts
  • Sensitivity power analysis together with the hypothesis test
  • Interval estimations before hypothesis tests
  • Standardized effect sizes after the “plain” descriptives/parameters

17 of 28

Automatic analysis is more reliable

  • No copy-paste errors (e.g., see Bakker & Wicherts, 2011)
  • No similar performance error

18 of 28

Advantage: More coherent

​

See also this slideshow

19 of 28

Replication crisis

  • Biased or random incorrect results (Masicampo & Lalande, 2012; Open Science Collaboration, 2015)
  • Many factors contribute to the crisis
    • E.g., performance errors, efficiency (reasonable laziness), lack of statistical knowledge, incorrect statistical knowledge, bad practices, p-hacking, HARKing, publishing data selectively, intentional cheating, lack of consensus on the analysis pipeline
  • Many existing proposals to decrease the crisis
    • E.g., preregistration, data sharing, replications and meta-analyses, improved training
  • Various actions affect various factors and various symptoms
    • Different actions partly complement each other
  • Automatic analysis and informed results are also essential

20 of 28

Lack of consensus

  • Various processing pipelines: in 241 studies 207 unique pipelines (Carp, 2012, NeuroImage)
    • And the details of the analyses are not reported entirely
  • The results depend highly on the methods (except the most robust effects) (Carp, 2012, Frontiers in Neuroscience)

21 of 28

Building automatic analysis in CogStat

  • Analysis is data driven
  • Pipeline is based on the methodology literature
  • Reduces the researchers’ degrees of freedom
    • No cherry-picking, etc.
  • Transparent
    • E.g., in a preregistration, there is no need for detailed analysis plan
  • Still, user can use other solutions, but it should require an appropriate justification
  • Forms consensus
    • Can foster consensus in the community

22 of 28

Advantages of the more informative and cheaper (in terms of UI) results

  • More precise results
  • No blind analyses
  • More appropriate interpretations
  • Users can apply methods they’re not aware of

23 of 28

Advantage: Better for learning and teaching

​

See also this slideshow

24 of 28

Learning and teaching in classrooms

  • Faster technical training on software use
  • Less explanation for specific procedures are needed (e.g., for specific hypothesis tests)
  • Save time when explaining where the individual procedures can be found
  • More time to explain and understand the conceptual background
  • Easier to see the relations of various concepts for the same task/analysis
  • Feedback of students show clear advantage: easier to use and understand
  • Feedback of teachers reveal faster training
  • (You can still use your previous textbooks, data files, and examples)

25 of 28

Multiple software in education

  • It is a good practice to teach several software in a parallel way so that students reach a more general and abstract knowledge
  • Useful to start with CogStat (and focus on the conceptual understanding), and then teach individual analysis software to demonstrate current practice

26 of 28

Learning new things as researcher

  • Do you use Kolmogorov-Smirnov test for checking normality?
    • E.g., Shapiro-Wilk works better
  • Do you use mean ± SD to filter outlier?
    • Median ± MAD (median absolute deviation) is a more robust option (new in v2.2)
  • Do you check normality of hypothesis test for Pearson correlation?
    • Henze-Zirkler multivariate normality test (planned for v2.3)
  • Assumptions for nonparametric hypothesis tests?

27 of 28

Summary

  • CogStat is
    • faster to use than individual analyses software
    • more informative
    • more coherent across studies
    • easier to use in the classrooms
  • You can use it with your current software�
  • Finally, join our efforts
    • Give feedback either as a researcher, teacher or student
    • Propose additional analyses or functions
    • Help us to document, translate, code, etc.

28 of 28

Thank you!

​

Attila Krajcsi

https://www.cogstat.org