Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: smoother
See also: regxest regxci regxcb regxbwcrit canker

Quantlet: regxbwsel
Description: interactive tool for bandwidth selection in univariate kernel regression estimation.

Reference(s):

Usage: {hcrit,crit}= regxbwsel(x {,h {,K} {} })
Input:
x n x 2 vector, the data.
h m x 1 vector, vector of bandwidths.
K string, name of kernel function on [-1,1] or Gaussian kernel "gau". If not given, "qua" is used.
Output:
hcrit p x 1 vector, selected bandwidths by the different criteria.
crit p x 1 string vector, criteria considered for bandwidth selection.

Example:
library("smoother")
x=read("motcyc")
tmp=regxbwsel(x)

Result:
You may interactively choose the bandwidth
selector. The parameters (range of bandwidths,
kernel K) can be changed as well.



Author: M. Mueller, 19990413
(C) MD*TECH Method and Data Technologies, 05.02.2006