Displaying 20 results from an estimated 40000 matches similar to: "MLE"
2008 Oct 08
1
Fw: MLE
I made one typo in my previous mail.
May I ask one statistics related question please? I have one query on MLE itself. It's property says that, for large sample size it is normally distributed [i.e. asymptotically normal]. On the other hand it is "Consistent" as well. My doubt is, how this two asymptotic properties exist simultaneously? If it is consistent then asymptotically it
2004 Jun 10
1
overhaul of mle
So, I've embarked on my threatened modifications to the mle subset
of the stats4 package. Most of what I've done so far has *not* been
adding the slick formula interface, but rather making it work properly
and reasonably robustly with real mle problems -- especially ones
involving reasonably complex fixed and default parameter sets.
Some of what I've done breaks backward
2005 Jul 21
1
About object of class mle returned by user defined functions
Hi,
There is something I don't get with object of class "mle" returned by a
function I wrote. More precisely it's about the behaviour of method
"confint" and "profile" applied to these object.
I've written a short function (see below) whose arguments are:
1) A univariate sample (arising from a gamma, log-normal or whatever).
2) A character string
2002 Apr 12
1
summary: Generalized linear mixed model software
Thanks to those who responded to my inquiry about generalized linear
mixed models on R and S-plus. Before I summarize the software, I note
that there are several ways of doing statistical inference for
generalized linear mixed models:
(1)Standard maximum likelihood estimation, computationally intensive
due to intractable likelihood function
(2) Penalized quasi likelihood or similar
2007 Oct 24
1
vectorized mle / optim
Hi the list,
I would need some advice on something that looks like a FAQ: the
possibility of providing vectors to optim() function.
Here is a stupid and short example summarizing the problem:
-------------------------------- example 1 ------------ 8<
----------------------
library(stats4)
data <- rnorm(100,0,1)
lik1 <- function(m, v, data) {
N <- length(data)
lik.mean <-
2002 Jun 20
1
new package `multcomp'
New package `multcomp' for general multiple comparisons
written by Frank Bretz, Torsten Hothorn and Peter Westfall
We've uploaded the package `multcomp' to CRAN.
The R package allows for multiple comparisons of
k groups in general linear models. We use the unifying
representations of multiple contrast tests, which include all
common multiple comparison procedures, such as the
2002 Jun 20
1
new package `multcomp'
New package `multcomp' for general multiple comparisons
written by Frank Bretz, Torsten Hothorn and Peter Westfall
We've uploaded the package `multcomp' to CRAN.
The R package allows for multiple comparisons of
k groups in general linear models. We use the unifying
representations of multiple contrast tests, which include all
common multiple comparison procedures, such as the
2011 Jun 14
1
Using MLE Method to Estimate Regression Coefficients
Good Afternoon,
I am relatively new to R and have been trying to figure out how to estimate regression coefficients using the MLE method. Some background: I am trying to examine scenarios in which certain estimators might be preferred to others, starting with MLE. I understand that MLE will (should) produce the same results as Ordinary Least Squares if the assumption of normality holds. That
2000 Apr 09
2
(1) arima.mle implementation; (2) r-newbie forum
Has arima.mle (MASS, Ch.15, p.464) been implemented in R?
[A search through contributed packages and R-FAQ suggests not,
and I don't think function 'lme' from package 'nlme' would
accomplish the same sort of thing, although it permits
correlated errors. A search of the CRAN site shows this
question has been asked some time ago, and it was suggested
that Paul Gilbert's
2013 Jun 30
0
[LLVMdev] [LNT] Question about results reliability in LNT infrustructure
Hi Tobias,
> I trust your knowledge about statistics, but am wondering why ministat (and
> it's t-test) is promoted as a statistical sane tool for benchmarking
> results.
I do not know... Ask author of ministat?
> Is the use of the t-test for benchmark results a bad idea in
> general?
No, in general. But one should be aware about the assumptions of the
underlying theory.
2006 Feb 10
8
Fitdistr and MLE for parameter lambda of Poisson distribution
Hello!
I would like to get MLE for parameter lambda of Poisson distribution. I
can use fitdistr() for this. After looking a bit into the code of this
function I can see that value for lambda and its standard error is
estimated via
estimate <- mean(x)
sds <- sqrt(estimate/n)
Is this MLE? With my poor math/stat knowledge I thought that MLE for
Poisson parameter is (in mixture of LaTeX
2006 Nov 10
3
Confidence interval for relative risk
The concrete problem is that I am refereeing
a paper where a confidence interval is
presented for the risk ratio and I do not find
it credible. I show below my attempts to
do this in R. The example is slightly changed
from the authors'.
I can obtain a confidence interval for
the odds ratio from fisher.test of
course
=== fisher.test example ===
> outcome <- matrix(c(500, 0, 500, 8),
2004 Apr 19
1
error message in mle function
I am getting an error message concerning the estimation of confidence
intervals when fitting a mixed model and don't know what the problem is,
or its solution.
Just to provide context: the model is describing the effects of age,
exp(age), harvest age, and climate variables on bighorn horn annular
length.
The data structure is repeated measures (between individuals, within
individuals
2005 Feb 24
2
a question about function eval()
Hi,
I have a question about the usage of eval(). Wonder if any experienced user can help me out of it.
I use eval() in the following function:
semireg.pwl <- function(coef.s=rnorm(1),coef.a=rnorm(1),knots.pos=knots.x,knots.ini.val=knots.val){
knotn <- length(knots.pos)
def.par.env <- sys.frame(1)
print(def.par.env)
print(environment(coef.s))
tg <- eval( (parse(text=
2011 Aug 05
0
[Bug 14647] profile.mle can not get correct result
Thank you very much.
now, i call
mle(minuslogl=loglik, start=start, method <<- method, fixed=list())
in the mle.wrap() function, and the profile.mle() worked.
however, it created a variable named "method" in user workspace. if
there had been a variable with same name, then the value of that
variable would be destroyed.
Is there a way to avoid that happen? Thanks again.
2006 Oct 31
0
help with extended mle package?
A while back, I wrote to the list/engaged in some debate with
Peter Dalgaard about the mle() function in the stats4 package --
in particular, I wanted it to have a data= argument so that
parameters could be estimated for different sets of data with
the same minuslogl function: Peter disagreed, suggesting that
a function-defining-function (e.g. something like
minusloglfun <- function(data) {
2010 Jul 08
2
Using nlm or optim
Hello,
I am trying to use nlm to estimate the parameters that minimize the
following function:
Predict<-function(M,c,z){
+ v = c*M^z
+ return(v)
+ }
M is a variable and c and z are parameters to be estimated.
I then write the negative loglikelihood function assuming normal errors:
nll<-function(M,V,c,z,s){
n<-length(Mean)
logl<- -.5*n*log(2*pi) -.5*n*log(s) -
2005 Jun 07
1
R and MLE
I learned R & MLE in the last few days. It is great! I wrote up my
explorations as
http://www.mayin.org/ajayshah/KB/R/mle/mle.html
I will be most happy if R gurus will look at this and comment on how
it can be improved.
I have a few specific questions:
* Should one use optim() or should one use stats4::mle()?
I felt that mle() wasn't adding much value compared with optim, and
2007 Aug 13
1
[Fwd: behavior of L-BFGS-B with trivial function triggers bug in stats4::mle]
I sent this in first on 30 July. Now that UseR! is over I'm trying again
(slightly extended version from last time).
With R 2.5.1 or R 2.6.0 (2007-08-04 r42421)
"L-BFGS-B" behaves differently from all of the
other optim() methods, which return the value of the function
when they are given a trivial function (i.e., one with no
variable arguments) to optimize. This is not
a bug in
2012 Jul 05
3
Maximum Likelihood Estimation Poisson distribution mle {stats4}
Hi everyone!
I am using the mle {stats4} to estimate the parameters of distributions by
MLE method. I have a problem with the examples they provided with the
mle{stats4} html files. Please check the example and my question below!
*Here is the mle html help file *
http://stat.ethz.ch/R-manual/R-devel/library/stats4/html/mle.html
http://stat.ethz.ch/R-manual/R-devel/library/stats4/html/mle.html