sig.trace(expn, hvec, display="lines")
h
omitted from
the function call."none"
will cause the significance
trace to be plotted.Only tests involving a univariate smoothing parameter may be used.
x <- runif(50, 0, 1)
y <- 5*x^2 + rnorm(50)
sig.trace(sm.regression(x, y, model = "linear", display="none"),
hvec = seq(0.05, 0.3, length = 10))
Run the code above in your browser using DataLab