[Distr-commits] r370 - pkg/distrMod/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Dec 9 15:06:55 CET 2008


Author: stamats
Date: 2008-12-09 15:06:55 +0100 (Tue, 09 Dec 2008)
New Revision: 370

Modified:
   pkg/distrMod/man/MLEstimator.Rd
Log:
minor corrections

Modified: pkg/distrMod/man/MLEstimator.Rd
===================================================================
--- pkg/distrMod/man/MLEstimator.Rd	2008-12-09 10:11:09 UTC (rev 369)
+++ pkg/distrMod/man/MLEstimator.Rd	2008-12-09 14:06:55 UTC (rev 370)
@@ -44,13 +44,13 @@
         Peter Ruckdeschel \email{Peter.Ruckdeschel at itwm.fraunhofer.de}}
 %\note{}
 \seealso{\code{\link{ParamFamily-class}}, \code{\link{ParamFamily}}, 
-         \code{\link{MCEstimator}, \code{\link{MCEstimate-class}}},
-\code{\link[MASS]{fitdistr}} }
+         \code{\link{MCEstimator}}, \code{\link{MCEstimate-class}},
+         \code{\link[MASS]{fitdistr}}, \code{\link[stats4]{mle}} }
 \examples{
 #############################
 ## 1. Binomial data
 #############################
-## generate a sample of contaminated data
+## (empirical) data
 x <- rbinom(100, size=25, prob=.25)
 
 ## ML-estimate
@@ -72,7 +72,7 @@
 #############################
 ## 3. Normal (Gaussian) location and scale
 #############################
-## Generate a contaminated sample
+## (empirical) data
 x <- rnorm(100)
 
 ## ML-estimate
@@ -84,7 +84,7 @@
 #############################
 ## 4. Gamma model
 #############################
-## (empirical) Data
+## (empirical) data
 x <- rgamma(50, scale = 0.5, shape = 3)
 
 ## parametric family of probability measures
@@ -149,11 +149,12 @@
 ## 5. Cauchy Location Scale model
 #############################
 (C <- CauchyLocationScaleFamily())
-loc.true <- 1; scl.true <- 2
+loc.true <- 1
+scl.true <- 2
 
-## (empirical) Data
+## (empirical) data
 x <- rcauchy(50, location = loc.true, scale = scl.true)
- 
+
 ## Maximum likelihood estimator
 (res <- MLEstimator(x = x, ParamFamily = C))
 ## Asymptotic (CLT-based) confidence interval



More information about the Distr-commits mailing list