[Depmix-commits] r32 - trunk/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 4 22:43:00 CET 2008


Author: ingmarvisser
Date: 2008-03-04 22:43:00 +0100 (Tue, 04 Mar 2008)
New Revision: 32

Modified:
   trunk/man/depmix.Rd
Log:
Added help for logLik, AIC and BIC methods

Modified: trunk/man/depmix.Rd
===================================================================
--- trunk/man/depmix.Rd	2008-03-04 16:23:26 UTC (rev 31)
+++ trunk/man/depmix.Rd	2008-03-04 21:43:00 UTC (rev 32)
@@ -17,9 +17,14 @@
 		prior=~1, initdata=NULL, respstart=NULL, trstart=NULL, instart=NULL,
 		ntimes=NULL,...)
 	
-	
+	\S4method{logLik}{depmix}(object)
+	\S4method{AIC}{depmix}(object)
+	\S4method{BIC}{depmix}(object)
+
 }
 \arguments{
+	\item{object}{An object with class \code{depmix}.}
+	
 	\item{response}{The response to be modeled; either a formula or a list 
 		of formulae in the multivariate case. See details.}
 	
@@ -88,7 +93,7 @@
 \code{depmix} returns an object of class \code{depmix} which has print and 
 summary methods. It has the following slots: 
 
-	\item{response}{A list of a list of (GLM)response models; the first
+	\item{response}{A list of a list of response models; the first
 		index runs over states; the second index runs over the independent 
 		responses in case a multivariate response is provided.}
 	
@@ -98,12 +103,8 @@
 	\item{prior}{A multinomial logistic model for the initial state
 		probabilities.}
 
-	\item{dens,trDens,init}{For internal use, ie for computing the
-		loglikelihood.  An array of dimensions sum(ntimes) by nresp by
-		nstates providing the individual densities of the obeservations
-		given the current parameter values.  trDens has the current
-		predictions for the transition matrix at each time point.  init has
-		the current predictions for the initial state probabilities.}
+	\item{dens,trDens,init}{See depmix-class help for details. For internal
+		use.}
 	
 	\item{stationary}{Logical indicating whether the transitions are
 		time-dependent or not; for internal use.}
@@ -120,7 +121,10 @@
 		the degrees of freedom, ie there are redundancies in the
 		parameters, in particular in the multinomial models for the
 		transitions and prior.}
-	
+
+\code{logLik}, \code{AIC}, and \code{BIC} return the respective associated 
+with the current parameter values. 
+
 }
 
 \author{Ingmar Visser \email{i.visser at uva.nl}} 
@@ -146,10 +150,8 @@
 	data(speed)
 	depmix(list(rt~1,corr~1),data=speed,nstates=2,family=list(gaussian(),mulitnomial()))
 	
-	
-
 }
-
+\author{Ingmar Visser}
 \keyword{models}
 
 



More information about the depmix-commits mailing list