• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

StatisticalRethinkingJulia/StatisticsWithJuliaPlutoNotebooks.jl: Pluto notebooks ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

StatisticalRethinkingJulia/StatisticsWithJuliaPlutoNotebooks.jl

开源软件地址:

https://github.com/StatisticalRethinkingJulia/StatisticsWithJuliaPlutoNotebooks.jl

开源编程语言:

Julia 100.0%

开源软件介绍:

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap