Coder Social home page Coder Social logo

gjkerns / ipsur Goto Github PK

View Code? Open in Web Editor NEW
136.0 24.0 71.0 14.05 MB

IPSUR, Introduction to Probability and Statistics Using R, is a textbook written for an undergraduate course in probability and statistics. IPSUR is FREE, in the GNU sense of the word.

Home Page: http://ipsur.org

License: GNU General Public License v3.0

R 39.03% TeX 60.97%

ipsur's Introduction

IPSUR: Introduction to Probability and Statistics Using R

Copyright (C) 2022 G. Jay Kerns

Version 3.0

This package is the source code to generate IPSUR, a free textbook on Probability and Statistics.

Install

This package is not distributed on CRAN. The easiest/quickest way to get IPSUR (which at the moment doesn't do what it is supposed to do) is to install the devtools package if you don't have it already and run

devtools::install_github("gjkerns/prob")
devtools::install_github("gjkerns/IPSUR")

You will get lots of errs due to missing dependencies. See the file renv.lock to understand which packages you need to run IPSUR---there are quite a few.

The source code for IPSUR is released under the GNU General Public License, version 3. See the file COPYING for details.

Load

Once IPSUR is downloaded and installed, it must be loaded into R. Load the package with the library function:

library(IPSUR)

and finally launch your PDF viewer with

read(IPSUR)

ipsur's People

Contributors

gjkerns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ipsur's Issues

Remark 5.1

Remark 5.1. Note that although we say X is 3.5 on the average, we must keep in mind that our X
never actually equals 3.5 (in fact, it is impossible for X to equal 3.5).

should be

Remark 5.1. Note that although we say X is 1.5 on the average, we must keep in mind that our X
never actually equals 1.5 (in fact, it is impossible for X to equal 1.5).

Example 4.34 or Section 4.6.4

Original text:

What is the probability of observing "red", then "green", then "red"?

prob(N, isin(N, c("red", "green", "red"), ordered = TRUE))
[1] 0.175
Note that the exact value is 7/20 (do it with the Multiplication Rule).

Should say:

What is the probability of observing "red", then "green", then "red"?

prob(N, isin(N, c("red", "green", "red"), ordered = TRUE))
[1] 0.175
Note that the exact value is 7/40 (do it with the Multiplication Rule).

Justification: (7/10)(3/9)(6/8)=126/720=7/40=.175

Example 4.26

Example 4.26 says:

(11 * 10 * 9) * (7 * 6 * 5 * 4) * 313
[1] 260290800
or alternatively
prod(9:11) * prod(4:7) * 313
[1] 260290800
or even
prod(factorial(c(11, 7))/factorial(c(8, 3))) * 313
[1] 260290800

It should say:

(11 * 10 * 9) * (7 * 6 * 5 * 4) * 31^3
[1] 24774195600
or alternatively
prod(9:11) * prod(4:7) * 31^3
[1] 24774195600
or even
prod(factorial(c(11, 7))/factorial(c(8, 3))) * 31^3
[1] 24774195600

Installing from github

Hello,
I noticed that IPSUR is noticeably more recent on github than on the R repository. I would like to use the newer one but I'm a pure beginner and unfortunately don't know how to install it from github. Could you please write a short install explanation ?

thanks a lot

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.