File: dsscden.Rd

package info (click to toggle)
r-cran-gss 2.1-3-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,740 kB
  • ctags: 1,400
  • sloc: fortran: 5,241; ansic: 1,388; makefile: 1
file content (49 lines) | stat: -rw-r--r-- 1,542 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\name{dsscden}
\alias{dsscden}
\alias{psscden}
\alias{qsscden}
\alias{d.sscden}
\alias{d.sscden1}
\title{Evaluating PDF, CDF, and Quantiles of Smoothing Spline
    Conditional Density Estimates}
\description{
    Evaluate pdf, cdf, and quantiles for smoothing spline conditional
    density estimates.
}
\usage{
dsscden(object, y, x)
psscden(object, q, x)
qsscden(object, p, x)
d.sscden(object, x, y)
d.sscden1(object, x, y, scale=TRUE)
}
\arguments{
    \item{object}{Object of class \code{"sscden"} or \code{"sscden1"}.}
    \item{x}{Data frame of x values on which conditional density f(y|x)
        is to be evaluated.}
    \item{y}{Data frame or vector of points on which conditional density
        f(y|x) is to be evaluated.}
    \item{q}{Vector of points on which cdf is to be evaluated.}
    \item{p}{Vector of probabilities for which quantiles are to be
        calculated.}
    \item{scale}{Flag indicating whether to use approximate scaling
        without quadrature.}
}
\value{
    A matrix or vector of pdf, cdf, or quantiles of f(y|x), with each
    column corresponding to a distinct x value.
}
\details{
    The arguments \code{x} and \code{y} are of the same form as the
    argument \code{newdata} in \code{\link{predict.lm}}, but \code{y} in
    \code{dsscden} can take a vector for 1-D responses.

    \code{psscden} and \code{qsscden} naturally only work for 1-D
    responses.
}
\seealso{
    Fitting function \code{\link{sscden}} and \code{\link{cdsscden}}.
}
\keyword{models}
\keyword{distribution}
\keyword{smooth}