Statcheck

Latest version: v0.0.4

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.4.0

<!---searched in commits on statcheck repo: `committer-date:2020-03-15..2020-04-30`
and checked out changes in the beta releases --->

Major external changes
* The variable names from the output of `statcheck()` have changed to increase consistency in style and naming. This means that the variable names in the output of `checkPDF()`, `checkHTML()`, `checkdir()`, `checkPDFdir()`, and `checkHTMLdir()` have also changed.

Major internal changes
There have been major updates to the internal structure of statcheck. Some of the most notable are:

* The main `statcheck()` function has been significantly shortened by summarizing a lot of repeating actions into general functions, and by moving functions from within `statcheck()` to their own scripts.
* Combine the regular expressions for all separate tests into one main regex and write generic functions to parse the extracted NHST results. In the previous version, a lot of the regexes overlapped, and many actions were performed multiple times throughout the code, which made the script inefficient and error-prone
* Update the way that errors and decision_errors are determined. Now, checking for correct rounding is done within the error function, instead of in a separate function
* Calculate one-tailed p-values more sophisticatedly: instead of simply doing p/2, statcheck now actually calculates a one-tailed p-value based on the surface under one tail of the appropriate distribution. This ensures that for one-tailed p-values, correct rounding is also taken into account
* All documentation and the NAMESPACE are now generated with roxygen2
* The variable names in the output are now based on a file with constants. This makes it easier to update the names in a later stage if necessary, without having to go through every script

Small updates
* Don't show a message to warn for the potential presence of one-tailed tests and other significance levels. This text was mainly distracting.

Bug fixes
* accurately take correct rounding into account with negative test statistics
* extract punctuation that could signal a wrongly encoded minus sign
* added additional html encodings of mathematical symbols
* ignore result when test value == NA
* test results with multiple comparison signs are no longer extracted (e.g.: "t(38) >= 2.25, p = .03")

1.3.2

<!---searched in commits on statcheck repo: `committer-date:2018-05-28..2020-03-15` --->

Updates
* Added unit tests for all main statcheck functions
* Make it possible to suppress progress bars and other messages when running statcheck

Small updates
* In `checkdir()`, add an argument to specify whether or not to also search subdirectories.
* Take case into account for Q-tests, so

Bug fixes
* Close connection after reading html file
* In inexactly reported p-values, statcheck only recognized possible one-tailed tests in p < .05, not other numbers. Unclear why. Fixed.
* Don't recognize Kolmogorov-Smirnov test statistic D as a chi-square
* Take case into account for Q-tests to avoid wrongly considering Cohen's q as a heterogeneity test.

1.3.1

<!---searched in commits on statcheck repo: `committer-date:2018-04-05..2018-05-28` --->

Small updates
* Updates to statcheck report template

Bug fixes
* Summary function now gives back the Source name (instead of Source number)
* Reset working directory after running statcheckReport()

1.3.0

<!---searched in commits on statcheck repo: `committer-date:2016-12-20..2018-04-05` --->

New features
* **Q-tests**: statcheck is now able to find Q-tests for heterogeneity (in meta-analyses). As always, the Q-tests need to be APA reported. statcheck recognizes general Q-tests, Q-within, and Q-between.
* **HTML reports**: it is now possible to generate nicely formatted HTML reports with statcheck results with the function `statcheckReport()`.

Small updates
* Formatted code to improve readability
* Removed text for the help files from the R scripts (the help files are not created automatically anymore, and having all this text in between the R code decreased readability)

Bug fixes
* Fixed mistake in error coding. statcheck flagged cases such as "F(1, 138) < 1, p = .812" as inconsistent, and opposite cases as consistent, but it should be the other way around.
* Changed PDF import function so that statcheck can now also handle files saved with double file extensions (e.g., myfile.pdf.pdf or myfile.html.pdf). HT to Nick Brown for pointing out this problem.
* Summary function now gives back the Source names instead of Source numbers
* Recognize minus signs in HTML coded as `&minus`
* Fixed bug in `summary.statcheck()` so that it gives back the number of articles instead of the article name

1.2.3

<!---searched in commits on statcheck repo: `committer-date:2016-08-17..2016-12-20` --->

Bug fixes
* statcheck flagged cases such as "F(1, 138) < 1, p = .812" as inconsistent, and opposite cases as consistent, but it should be the other way around.
* Fix issue with reading html in a Linux environment by using `useBytes = TRUE`

1.2.2

<!---searched in commits on statcheck repo: `committer-date:2016-08-16..2016-08-17` --->

Small internal updates
* Updated documentation
* Small updates in NAMESPACE to pass R CMD check

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.