getmasd function

Get maximum of the absolute standard deviations

Get maximum of the absolute standard deviations

This code is based on Dr. Gavin Simpson's blog post https://fromthebottomoftheheap.net/2016/12/15/simultaneous-interval-revisited/.

getmasd(mod, newdat, nsim, term)

Arguments

  • mod: Object of class "striprawdata", returned from strip_rawdata.
  • newdat: Grid of values over which to create a simultaneous confidence interval.
  • nsim: Number of Monte Carlo samples.
  • term: Character vector of smooth terms.

Returns

A vector of maxima of absolute standard deviations.