Git Product home page Git Product logo

shiny_app_ab_rpu_calc's Introduction

Revenue per Visitor Statistical Significance Calculator

Trying to understand the underlying statistics, I developed this RPU A/B test calculator (with frequentist calculations) based upon an existing calculator that I have been using in my CRO work by BLAST; But in this case I created the calculator as a Shiny app with Python, they did with R (RStudio IDE -> Posit). R is great for statistical calculations, and Shiny for R is way more robust and mature than the new version for Python that was just released last year. But... I've just enjoy more coding with Python than R, sorry ๐Ÿ˜… Documentation is not that super great, but got there in the end. Other frameworks in Python are also great like streamlit, but I Shiny offers free hosting and also is well known in data science.

For deploying the Shiny app

  • For deploying the app I followed the deployment instructions on their web.
  • Basically create an account on shinyapps.io, which offers hosting up to 5 apps per user for free
  • Get your token from the account (Account > Tokens > Add Token > Show > With Python > Copy to clipboard)
  • run in your app folder the followig command in a terminal to initialize the connections and credentials with shinyapps.io. Example of what I run: rsconnect add --account maquedano --name maquedano --token XXXXXXXXXX
  • Deploy the app with the following command (with your own name of your account), example of what I run: rsconnect deploy shiny . --name maquedano --title RPU-AB-test-calc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.