Skip to main content

A statistical power analysis application

Project description

superpower-gui

This application provides a graphical wrapper to access functions in the superpower R pacakge.

Latest Release

Regression

T-Test

Previous

ANOVA

Correlation and Chi Squared

<iframe width="400" height="300" src="https://www.youtube.com/embed/5cNr5Dvzvrs" frameborder="0" allowfullscreen ></iframe>

Run the Development Version on MyGeoHub

  1. Log into https://mygeohub.org
  2. Go to https://mygeohub.org/tools/superpower/
  3. Click the "Launch Tool" button

png

Installing superpower-gui

Installing the superpower-gui locally is pretty straight forward with one exception. The SuperPower R package needs to be installed on your machine, and Python needs to know where to find your prefered version of R. In most cases, superpower_gui will install it for you, but if you have trouble you may need to install it on your own and use a config file to specify its location.

Installing from PyPi

pip install superpower-gui

Installing From Source

git clone https://github.rcac.purdue.edu/brewer36/superpower_gui.git

cd superpower_gui

pip install superpower_gui

Installing SuperPower R Package

From Github

This application does not run without the companion R package, Superpower. You can install it any way you like. The application will check every library location listed by .libPaths. If the package isn't installed, the application can do that for you, but you must provide the path to the package source file. Since the package doesn't release these yet, so you will have to create one by building it from the original repository.

git clone https://github.rcac.purdue.edu/brewer36/SuperPower.git`
R CMD build SuperPower
R CMD INSTALL Superpower_<version>.tar.gz

From a source file

Open ~/.superpower_gui/config.ini source file. You can optionally provide a library location if you'd like the source file to be installed in a particular place.

['R']
source = <source_dir>
lib_loc = <optional_lib_loc>

How to use

This application runs in a single cell of a Jupyter Notebook, or an Javascript enabled IPython environment.

#hide_output
from superpower_gui.main import Main

main = Main()
main

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

superpower_gui-0.3.0.tar.gz (73.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

superpower_gui-0.3.0-py3-none-any.whl (90.9 kB view details)

Uploaded Python 3

File details

Details for the file superpower_gui-0.3.0.tar.gz.

File metadata

  • Download URL: superpower_gui-0.3.0.tar.gz
  • Upload date:
  • Size: 73.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for superpower_gui-0.3.0.tar.gz
Algorithm Hash digest
SHA256 58ed378fd9435b7930dd519884856988597a0fde3b31e45ccdb1821c150b5cca
MD5 466adc14d30d8e94dac013b374d64999
BLAKE2b-256 7773176b1adb9fb12eca2a29eacc8d8fbcef8e553ed29df21a342af51104b84a

See more details on using hashes here.

File details

Details for the file superpower_gui-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: superpower_gui-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 90.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for superpower_gui-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db47be050489c3f3366d4f399e421eaba983dca55064a3f5bab84c5fc32abde3
MD5 e2cb2b357df85e3fb1a85603d0d55e95
BLAKE2b-256 7a9d9965cc1086ea4f3caf22bf0cafb7eacd2ea7313fee3704788382721d9bc5

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