Skip to contents

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

Usage

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.

Value

A vector of maxima of absolute standard deviations.