[Depmix-commits] r172 - trunk/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Jun 17 16:31:08 CEST 2008
Author: maarten
Date: 2008-06-17 16:31:08 +0200 (Tue, 17 Jun 2008)
New Revision: 172
Added:
trunk/man/depmix.sim-class.rd
Log:
added depmix.sim help
Added: trunk/man/depmix.sim-class.rd
===================================================================
--- trunk/man/depmix.sim-class.rd (rev 0)
+++ trunk/man/depmix.sim-class.rd 2008-06-17 14:31:08 UTC (rev 172)
@@ -0,0 +1,75 @@
+\name{depmix.sim-class}
+
+\docType{class}
+
+\alias{depmix-class}
+
+\alias{nresp,depmix.sim-method}
+
+\alias{ntimes,depmix.sim-method}
+
+\alias{nstates,depmix.sim-method}
+
+
+\title{Class "depmix.sim"}
+
+\description{A \code{depmix.sim} model. The \code{depmix.sim} class directly
+extends the \code{\link{depmix}} class, and has an additional slot for the
+true states. A \code{depmix.sim} model can be generated by
+\code{simulate(mod,...)}, where \code{mod} is a \code{\link{depmix}} model.}
+
+\section{Slots}{
+
+ \describe{
+
+ \item{\code{response}:}{List of list of \code{response} objects.}
+
+ \item{\code{transition}}{List of \code{\link{transInit}} objects.}
+
+ \item{\code{prior}:}{\code{\link{transInit}} object.}
+
+ \item{\code{dens}:}{Array of dimension sum(ntimes)*nresp*nstates
+ providing the densities of the observed responses for each state.}
+
+ \item{\code{trDens}:}{Array of dimension \code{sum(ntimes)}*nstates
+ providing the probability of a state transition depending on the
+ predictors.}
+
+ \item{\code{init}:}{Array of dimension \code{length(ntimes)}*nstates with
+ the current predictions for the initial state probabilities.}
+
+ \item{\code{stationary}:}{Logical indicating whether the transitions are
+ time-dependent or not; for internal use.}
+
+ \item{\code{ntimes}:}{A vector containing the lengths of independent time
+ series; if data is provided, sum(ntimes) must be equal to
+ nrow(data).}
+
+ \item{\code{nstates}:}{The number of states of the model.}
+
+ \item{\code{nresp}:}{The number of independent responses.}
+
+ \item{\code{npars}:}{The total number of parameters of the model. This is not
+ the degrees of freedom, ie there are redundancies in the
+ parameters, in particular in the multinomial models for the
+ transitions and prior.}
+
+ \item{\code{states}:}{A matrix with the true states.}
+
+ }
+}
+
+\section{Accessor Functions}{
+ The following functions should be used for accessing the corresponding
+ slots:
+ \describe{
+ \item{\code{npar}:}{The number of parameters of the model.}
+ \item{\code{nresp}:}{The number of responses.}
+ \item{\code{nstates}:}{The number of states.}
+ \item{\code{ntimes}:}{The vector of independent time series lengths.}
+ }
+}
+
+\author{Maarten Speekenbrink}
+
+\keyword{classes}
More information about the depmix-commits
mailing list