Skip to main content

Comparing Statistical Differences of Measurements

Project description

COSDEM

Cosdem is a python package for comparing statistical differences of measurements in two-dimension data especially equivalent medical devices

Introduction

Cosdem aims to compare two-dimension data with many statistical tests and graphs in one method.

As an open-source tasking library, cosdem, provides one report on the following tests and graphs:

Tests

  • Descriptive Statistics
  • Homogeneity Tests of Variances
  • Normality Test: Shapiro Wilk
  • Statistical Difference Tests
  • Correlation Tests
  • Regression Result

###Graphs

  • Violin Plot
  • Regression Line in Scatter Plot
  • Blant Altman Plot

Installation

Prerequisites: python3 >= 5 and pip3.

pip install cosdem

or

git clone git@github.com:yigitsener/cosdem.git

Usage

from cosdem import Cosdem
import pandas as pd
import random

a = []
b = []
for i in range(50):
    a.append(random.uniform(10,15))
    b.append(random.uniform(10,15))

df = pd.DataFrame({"Feature A":a, "Feature B":b})

tests = Cosdem(df)

Functions

Text results

print(tests.report())

Save all tables in Excel file

print(tests.save_all_tables())

Save all graphs/figures in Excel file

print(tests.save_all_figures())

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

cosdem-0.0.1.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file cosdem-0.0.1.tar.gz.

File metadata

  • Download URL: cosdem-0.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.2

File hashes

Hashes for cosdem-0.0.1.tar.gz
Algorithm Hash digest
SHA256 82dca9ffb4a32b4ef63d7c39968b32059de64d7a61ccf0ce0a5213de79924250
MD5 d11902e6fabd928415f070c75cc709e1
BLAKE2b-256 621b35d7f4fb9614f079de48e34fc76bb4c8a71ff1f070477ccb6857d4379386

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