Skip to main content

A unified, self-contained statistical analysis library for Python -- an SPSS/R replacement.

Reason this release was yanked:

Old version

Project description

SPSSMirror

A unified, self-contained statistical analysis library for Python -- an SPSS/R replacement.

What's new in 2.1.0

  • Full pandas passthrough: any method not defined by SPSSMirror falls through automatically to the underlying pandas DataFrame -- mirror.head(), mirror.dtypes, mirror.groupby(...), mirror.fillna(...), all of pandas, completely unmodified.
  • Flat API: every statistical method now lives directly on SPSSMirror (mirror.t_test_independent(...), mirror.linear_regression(...), mirror.cronbach_alpha(...)) -- no more .regression().linear(...) nesting required (the old grouped accessors like .regression() still work too, unchanged).
  • Pandas-style output: every result renders as a real pandas Series or DataFrame (print(result) gives a clean aligned table; bare result in Jupyter renders as a grid).
  • .hint(): mirror.hint() lists every available statistical method as a DataFrame; mirror.hint("regression") filters to one group.
from spssmirror import SPSSMirror

mirror = SPSSMirror().load_csv("survey.csv")
mirror.head()                                   # normal pandas
result = mirror.linear_regression("score ~ age + C(group)")
print(result)                                    # pandas-style table
mirror.hint("regression")                        # see what else is available

Installation

pip install spssmirror
pip install spssmirror[bayesian,timeseries,survival,multivariate]  # optional extras

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spssmirror-2.1.0.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spssmirror-2.1.0-py3-none-any.whl (60.0 kB view details)

Uploaded Python 3

File details

Details for the file spssmirror-2.1.0.tar.gz.

File metadata

  • Download URL: spssmirror-2.1.0.tar.gz
  • Upload date:
  • Size: 47.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for spssmirror-2.1.0.tar.gz
Algorithm Hash digest
SHA256 4cf756682e91923894043268aa92abbbc77a7276ab310083adf1d42c5207d160
MD5 11e49caaf82d3dbf405f06ca65f81193
BLAKE2b-256 b4fa06d6d5c8dd2c5cf779daa81c1e86cb9a95ddf6e4a6f2eb14a17dce4fac48

See more details on using hashes here.

File details

Details for the file spssmirror-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: spssmirror-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 60.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for spssmirror-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca8db6122f3fef150ac5d4ed779370c4b35ccad74e764604faedf2c0f768ef6
MD5 32400c1f252b3eed6bf86d0e717e7fc4
BLAKE2b-256 0dc979c74c708de5d65a0b24ca31f3be92578c71567c553f4e8af5d51d2e6068

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page