Lecture 13 - Presentation and Speed Flashcards
What is lie factor?
Ratio of size of effect shown in the graph to size of effect in data
What is data density?
Ratio of number or entries in data matrix to area of data graphic
What are the two goals when presenting data?
convey story
establish credibility
What steps should you take when producing a plot?
Plot the graph Highlight residuals Refine the fit Fake CI about the predictions Add a legend Mathematics specifying the model Add parameter estimates
What are two reasons why R is slow?
The language itself - decisions made when it was invented
The way the language is implemented - changes to base R made by members of core R team, only 6 active members, overriding concern is to make R stable rather than fast.
What is a profiler?
Piece of software that records instructions computer is executing
Why do profilers slow code?
Observer effect - act of observation influences the phenomenon being observed
What does profvis do?
Provides visual depiction of slow portions of the code