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 hashes)

Uploaded Source

Supported by

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