Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numerical Literacy in R—First Draft #12

Open
6 tasks
oleks opened this issue Mar 17, 2016 · 1 comment
Open
6 tasks

Numerical Literacy in R—First Draft #12

oleks opened this issue Mar 17, 2016 · 1 comment
Assignees

Comments

@oleks
Copy link
Contributor

oleks commented Mar 17, 2016

Give a concise summary of Chapter 1 of Accuracy and Stability of Numerical Algorithms,
Nicholas J. Higham, 2002
, with a
particular emphasis on R and IEEE-754 double-precision binary floating-point,
the default floating-point type in R. In particular, Section 1.18, "Designing Stable
Algorithms" gives some advice on how to keep things stable. The initial draft
should only illustrate the instability that results from doing things "by
hand", and show how e.g. using built-in functions, and vectorizing your code can
help maintain numerical stability. The first draft is not intended to define any
additional constructs, beyond those already available in R.

Contrary to what seems to be the tradition (e.g. 2), focus on giving demotivating examples rather than saying things like "numerically it can be disastrous" — convince the reader by showcasing a "disaster".

Another good source seems to be Numerical Methods in Finance and Economics: A MATLAB®-Based Introduction, Paolo Brandimarte, 2006, also wrt. option pricing using Monte Carlo methods.

  • The IEEE-754 double-precision binary floating-point format
    • Binary Approximation
    • Scientific Notation
    • Basic Operations
  • Computing sums
  • Computing means and sample variance
@oleks oleks self-assigned this Mar 17, 2016
@kfl
Copy link
Contributor

kfl commented Mar 17, 2016

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants