⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kde.rd

📁 r软件 另一款可以计算核估计的软件包 需安装r软件
💻 RD
字号:
\name{kde}\alias{kde}\title{Kernel density estimate for multivariate data}\description{  Kernel density estimate for 1- to 6-dimensional data.}\usage{kde(x, H, h, gridsize, gridtype, xmin, xmax, supp=3.7, eval.points,    binned=FALSE, bgridsize, positive=FALSE, adj.positive)}\arguments{  \item{x}{matrix of data values}  \item{H}{bandwidth matrix}  \item{h}{scalar bandwidth}  \item{gridsize}{vector of number of grid points}  \item{gridtype}{not yet implemented}  \item{xmin}{vector of minimum values for grid}  \item{xmax}{vector of maximum values for grid}  \item{supp}{effective support for standard normal is [\code{-supp, supp}]}  \item{eval.points}{points at which density estimate is evaluated}  \item{binned}{flag for binned estimation (default is FALSE)}  \item{bgridsize}{vector of binning grid sizes - required if \code{binned=TRUE}}  \item{positive}{flag if 1-d data are positive (default is FALSE)}  \item{adj.positive}{adjustment added to data i.e. when	\code{positive=TRUE} KDE is carried out on \code{log(x +	  adj.positive)}. Default is the minimum of \code{x}.}}  \value{  Kernel density estimate is an object of class \code{kde} which is a  list with 4 fields  \item{x}{data points - same as input}  \item{eval.points}{points at which the density estimate is evaluated}  \item{estimate}{density estimate at \code{eval.points}}  \item{H}{bandwidth matrix}  \item{h}{scalar bandwidth (1-d only)}}\details{  For d = 1, 2, 3, 4,   and if \code{eval.points} is not specified, then the  density estimate is computed over a grid   defined by \code{gridsize} (if \code{binned=FALSE}) or  by \code{bgridsize} (if \code{binned=TRUE}).  For d = 1, 2, 3, 4,   and if \code{eval.points} is specified, then the  density estimate is computed exactly at \code{eval.points}.    For d > 4, the kernel density estimate is computed exactly  and \code{eval.points} must be specified.  The default \code{xmin} is \code{min(x) - Hmax*supp} and \code{xmax}  is \code{max(x) + Hmax*supp}  where \code{Hmax} is the maximim of the  diagonal elements of \code{H}. }\references{ Wand, M.P. \& Jones, M.C. (1995) \emph{Kernel Smoothing}.  Chapman \& Hall. London. } \seealso{\code{\link{plot.kde}}}\examples{### See examples in ? plot.kde  }\keyword{smooth}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -