Skip to main content

No project description provided

Project description

error_param_cal

Calculate any of the 6 parameters of the power of a test iteratively. The function will ask the user to specify the parameter to calulate and the user can terminate the current session with a simple y/n(i.e yes/no).

This error calculator function calculates the different parameter with the given data. The parameters include:

  1. Sample Size(n)
  2. Type I Error(alpha)
  3. Type II Error(beta)
  4. Population Mean
  5. Sample Mean
  6. Population Standard Deviation

How does it work?

  1. Select the error parameter number from above list.
  2. Enter the asked required data.
  3. Get the calculated output of the required parameter.
  4. Repeat steps 1,2,3 for different parameters to be calculated continuing the code.
  5. When you wish to quit type "n".

Installation

Run the following to install:

pip install error_param

Usage

import error_parameters_calculator

# function usage
error_parameters_calculator.error_param()

# For individual parameter calculation if you do not like to iterate and apply it simply. Use any of the below:

import error_parameters_calculator
error_parameters_calculator.calculate_alpha()
error_parameters_calculator.calculate_beta()
error_parameters_calculator.calculate_population_mean()
error_parameters_calculator.calculate_sample_mean()
error_parameters_calculator.calculate_sample_size()
error_parameters_calculator.calculate_sigma()

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

error_param_cal-0.0.6.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

error_param_cal-0.0.6-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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