Skip to main content

No project description provided

Project description

Shapiro-Francia normality test

Description:

The statistical test of Shapiro-Francia considers the squared correlation between the ordered sample values and the (approximated) expected ordered quantiles from the standard normal distribution. The p-value is computed from the formula given by Royston (1993).

This function performs the Shapiro-Francia test for the composite hypothesis of normality, according to Thode Jr. (2002).

Install

pip install sfrancia

Usage

from sfrancia import shapiroFrancia
import pandas as pd

df = pd.read_csv('fake_table.csv')

# any array, series or list of numeric values
shapiroFrancia(df['column'])

References:

  • Royston, P. (1993). A pocket-calculator algorithm for the Shapiro-Francia test for non-normality: an application to medicine. Statistics in Medicine, 12, 181-184.
  • Thode Jr., H. C. (2002). Testing for Normality. Marcel Dekker, New York.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tentativa_descricao-1.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file tentativa_descricao-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tentativa_descricao-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ec38ca04841b85633391db3ed30ea94f949d72bad73dee359c28c7f03a502c8d
MD5 c26f14553140bd6864d0ff44bd2f65ac
BLAKE2b-256 1f99ad4bb6e7685ffe8f4ff264271810a62de53b4f3430a197476531386d8bba

See more details on using hashes here.

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