Coder Social home page Coder Social logo

statisticalrethinkingjulia / statisticswithjuliaplutonotebooks.jl Goto Github PK

View Code? Open in Web Editor NEW
80.0 5.0 19.0 8.5 MB

Pluto notebooks accompanying the book Statistics With Julia (https://statisticswithjulia.org).

License: MIT License

Julia 100.00%
julia-project statistics-learning pluto-notebooks book

statisticswithjuliaplutonotebooks.jl's Introduction

StatisticsWithJuliaPlutoNotebooks

This (Pkg & DrWatson) project contains a reproducible Julia project named StatisticsWithJuliaPlutoNotebooks.

The code base is directly derived from an upcoming book Statistics with Julia by Yoni Nazarathy and Hayden Klok.

For a good while I have been looking for a great statistics book using Julia as an introductory text to StatisticalRethinking and I believe the first five chapters of this book are exactly that.

As StatisticalRethinking v3 will be based on projects (e.g. StatisticalRethinkingStan or StatisticalRethinkingTuring) and use Pluto notebooks, I have converted the book's listings in the first four chapters to Pluto Notebooks. Clearly, Julia code and statistical explanations are only available in the Statistics With Julia book.

From chapter 4 onwards, Statistical Rethinking follows the Bayesian approach while Statistics With Julia opts mostly for the frequentist view (see section 5.7). The corresponding material in chapters 5 and 6 of Statistics With Julia is covered in the early chapters of the StatisticalRethinkingStan and StatisticalRethinkingTuring projects.

Usage

Note: A few scripts in chapter 4 will require R to be installed. See here.

To (locally) reproduce and use this project, do the following:

  1. Download above project from Github, e.g.:
$ git clone https://github.com/StatisticalRethinkingJulia/StatisticsWithJuliaPlutoNotebooks.jl
  1. In the Julia REPL:
julia> cd("path/to/cloned/project")
pkg> activate .
pkg> instantiate

Use ']' to activate Pkg mode in the Julia REPL and 'delete' to exit Pkg mode.

  1. Start a Pluto notebook server.
julia> using Pluto
julia> Pluto.run()

By default the Pluto server uses port 1234 and will start a new page in your browser using to http://localhost:1234/....

Layout

Notebooks are stored by chapter. Each notebook contains a single listing from the book and activates the project StatisticsWithJuliaPlutoNotebooks.

I deviated from the naming scheme used in the book as I feel it is easier to find code snippets using the listing numbering, e.g. listing3-07.jl.

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.