Skip to content

Chapter 6: Functions #21

@stephaneguerrier

Description

@stephaneguerrier

Hi everyone,

Thanks a lot to @robertomolinari for this excellent first draft. Here are a few comments:

  • I would make 6.0.1 part of the introduction and maybe add (or make clear) that linear regression is used through this chapter to motivate the use of functions.
  • In section 6.1, the image is based on something done by James Balamuta (in his class STAT385) we should definitely cite this. Also, I would prefer to make some change to it. I will try to do this in the coming days.
  • In section 6.1, I would add two very simple examples. Like here is a function to multiply two numbers, to compute an average or even a simple "hello world" and I would show how to call function on data (maybe use the data from the bootstrap example in the previous chapter)
  • I think section 6.1.1 should be moved elsewhere (see later).
  • I would make section 6.2 a subsection of current section 6.1 which should come before the examples. Also it might be a good idea to move all reference to linear regression into another section (see later).
  • I think section 6.3 should be a subsection of section 6.1 and I would move elsewhere all ref to linear regression (if any).
  • I would make a section 6.2 on bootstrap, i.e. re-vist our previous example by making a function and maybe show another example (maybe with the mice problem of the previous section; I have a code somewhere).
  • I would make a section 6.3 on Monte-Carlo integration, where we would just re-vist our previous example.
  • I would make a section 6.4 on linear regression with all content we currently have. Also, the info boxes about the derivations should be made a show/hide boxes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions