Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
scikit-posthocs is a Python package that provides post hoc tests for pairwise multiple comparisons that are usually performed in statistical data analysis to assess the differences between group levels if a statistically significant result of ANOVA test has been obtained.
scikit-posthocs is tightly integrated with Pandas DataFrames and NumPy arrays to ensure fast computations and convenient data import and storage.
This package will be useful for statisticians, data analysts, and researchers who use Python in their work.
Python statistical ecosystem comprises multiple packages. However, it still has numerous gaps and is surpassed by R packages and capabilities.
SciPy <https://www.scipy.org/>
_ (version 1.2.0) offers Student, Wilcoxon,
and Mann-Whitney tests that are not adapted to multiple pairwise comparisons.
Statsmodels <http://statsmodels.sourceforge.net/>
_ (version 0.9.0) features
TukeyHSD test that needs some extra actions to be fluently integrated into
a data analysis pipeline. Statsmodels also has good helper methods:
allpairtest
(adapts an external function such
as scipy.stats.ttest_ind
to multiple pairwise comparisons) and
multipletests
(adjusts p values to minimize type I and II errors).
PMCMRplus <https://rdrr.io/cran/PMCMRplus/>
_ is a very good R package that
has no rivals in Python as it offers more than 40 various tests (including post
hoc tests) for factorial and block design data. PMCMRplus was an inspiration
and a reference for scikit-posthocs.
scikit-posthocs attempts to improve Python statistical capabilities by offering a lot of parametric and nonparametric post hoc tests along with outliers detection and basic plotting methods.
Parametric pairwise multiple comparisons tests:
Non-parametric tests for factorial design:
Non-parametric tests for block design:
Other tests:
Outliers detection tests:
Plotting functionality (e.g. significance plots).
All post hoc tests are capable of p adjustments for multiple pairwise comparisons.
NumPy and SciPy packages <https://www.scipy.org/>
_Statsmodels <http://statsmodels.sourceforge.net/>
_Pandas <http://pandas.pydata.org/>
_Matplotlib <https://matplotlib.org/>
_Seaborn <https://seaborn.pydata.org/>
_Package is compatible with Python 2 and Python 3.
You can install the package using pip
:
.. code:: bash
$ pip install scikit-posthocs
FAQs
Statistical post-hoc analysis and outlier detection algorithms
We found that scikit-posthocs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.