Skip to main content

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.

Download files

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

Source Distribution

tentativa_descricao-1.0.0.tar.gz (2.0 kB view details)

Uploaded Source

File details

Details for the file tentativa_descricao-1.0.0.tar.gz.

File metadata

  • Download URL: tentativa_descricao-1.0.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for tentativa_descricao-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8730fb6b15b6013583d8f3dac222471327e058954ca074f1c5f50eb69471f160
MD5 98effed04fd42d13067ed6182d45930a
BLAKE2b-256 67a0e7f58a409da10922ac2ace625036da2ef8a4d0e3eae88085b306e5ca65a2

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