Coder Social home page Coder Social logo

konggas / scipy2015_tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fonnesbeck/scipy2015_tutorial

0.0 1.0 0.0 4.55 MB

Computational Statistics II Tutorial at SciPy 2015

License: Creative Commons Zero v1.0 Universal

Python 60.22% CSS 39.78%

scipy2015_tutorial's Introduction

Computational Statistics II Tutorial

SciPy 2015, Austin, TX

August 7, 2015

This intermediate-level tutorial will provide students with hands-on experience applying practical statistical modeling methods on real data. Unlike many introductory statistics courses, we will not be applying "cookbook" methods that are easy to teach, but often inapplicable; instead, we will learn some foundational statistical methods that can be applied generally to a wide variety of problems: maximum likelihood, bootstrapping, linear regression, and other modern techniques. The tutorial will start with a short introduction on data manipulation and cleaning using pandas, before proceeding on to simple concepts like fitting data to statistical distributions, and how to use Monte Carlo simulation for data analysis. Slightly more advanced topics include bootstrapping (for estimating uncertainty around estimates) and flexible linear regression methods. By using and modifying hand-coded implementations of these techniques, students will gain an understanding of how each method works. Students will come away with knowledge of how to deal with very practical statistical problems, such as how to deal with missing data, how to check a statistical model for appropriateness, and how to properly express the uncertainty in the quantities estimated by statistical methods.

Intended audience

This session will be of interest to scientists and data analysts looking to gain robust statistical inference from their data.

Prerequisites

To get the most out of the tutorial, attendees should have had some previous exposure to statistics, such as an undergraduate statistics course, and be an intermediate-level Python programmer. Some familiarity with NumPy and SciPy is also recommended, but not required.

Python package requirements

The tutorial will make use of the following 3rd party packages:

  • NumPy
  • SciPy
  • pandas
  • scikit-learn
  • matplotlib
  • Seaborn
  • patsy

Outline

  • Data preparation
  • Density estimation
  • Regression modeling and model selection
  • Resampling methods and missing data imputation
  • Bayesian statistics

Installation instructions

It is recommended that new users install the Anaconda Python distribution, which includes many of the required packages.

If you are using Anaconda, I recommend creating a new environment for the tutorial. You can do this by running:

conda create --name statcomp2 python=3 scipy numpy matplotlib pandas ipython=3.0

which will create an environment called statcomp2 running Python 3. However, feel free to call it whatever you wish, or use an existing environment if you have one.

Once created, you can activate the environment via:

source activate statcomp2

on Mac OS X or Linux, or via:

activate statcomp2

on Windows.

Now that Anaconda is installed, the following installation steps should be executed in the terminal.

Clone tutorial repository

Run the following command in the location where you wish to keep your tutorial files:

git clone [email protected]:fonnesbeck/scipy2015_tutorial.git

If you get an error saying that git does not exist, you can download and install git, then re-run this command.

Install packages

Once you have cloned the repository, move into the project directory and install the required packages:

cd scipy2015_tutorial
pip install -r requirements.txt

Check installation

To check whether the required packages have been installed correctly and are functioning, run the following script:

python check_env.py

Creative Commons License
Computational Statistics II Tutorial by Christopher Fonnesbeck is licensed under a Creative Commons Attribution 4.0 International License.

scipy2015_tutorial's People

Contributors

scw avatar mcurcic avatar

Watchers

 avatar

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.