Displaying 20 results from an estimated 1000 matches similar to: "initial value in 'vmmin' is not finite"
2009 Jan 29
1
Optim error: initial value in 'vmmin' is not finite
Error in optim(method = "BFGS", c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, :
initial value in 'vmmin' is not finite
I am running a logit model with latent class segments. I successfully got
estimates for 2 segments. However when I tried to increase the no. of
segments, I got this error message at the end. I checked my code again but
can't find anything wrong. Is this error
2009 Jan 28
3
initial value in 'vmmin' is not finite
Dear r helpers
I run the following code for nested logit and got a message that
Error in optim(c(0, 0, 0, 0, 0.1, -2, -0.2), fr, hessian = TRUE, method = "BFGS") : initial value in 'vmmin' is not finite
What does this mean? and how can I correct it?
Thank you
June
> yogurt = read.table("yogurtnp.csv", header=F,sep=",")> attach(yogurt)>
2009 Jul 10
2
error: optim(rho, n2ll.rho, method = method, control = control, beta = parm$beta, : initial value in 'vmmin' is not finite
I am trying to use the lnam autocorrelation model from the SNA package. I have it running for smaller adjacency matrices (<1,500) it works just fine but when my matrices are bigger 4000+. I get the error:
> lnam1_01.adj<- lnam(data01$adopt,x01,ec2001.csr)
Error in optim(rho, n2ll.rho, method = method, control = control, beta = parm$beta, :
initial value in 'vmmin' is not
2011 Feb 16
1
error in optim, within polr(): "initial value in 'vmmin' is not finite"
Hi all. I'm just starting to explore ordinal multinomial regression. My dataset is 300,000 rows, with an outcome (ordinal factor from 1 to 9) and five independent variables (all continuous). My first stab at it was this:
pomod <- polr(Npf ~ o_stddev + o_skewness + o_kurtosis + o_acl_1e + dispersal, rlc, Hess=TRUE)
And that worked; I got a good model fit. However, a variety of other
2009 Mar 02
1
initial gradient and vmmin not finite
Dear Rhelpers
I have the problem with initial values, could you please tell me how to solve it?
Thank you
June
> p = summary(maxLik(fr,start=c(0,0,0,1,0,-25,-0.2)))
Error in maxRoutine(fn = logLik, grad = grad, hess = hess, start = start, :
NA in the initial gradient
> p = summary(maxLik(fr,start=c(0,0,0,1,0,-25,-0.2),method="BFGS"))
Error in optim(start, func, gr =
2012 Feb 23
0
error in optim: initial value in 'vmmin' is not finite
Dear r-helpers,
I'm experiencing some problems in fitting a maximum likelihood binomial
model to some of my data. The error is in optim, which founds: Error in
optim(par = c(0.2, 0.5), fn = function (p) :
initial value in 'vmmin' is not finite
Yes, I know it's a common problem, and I've carefully searched and readed
all the posts about the issue, But, I can't find a
2007 Nov 10
1
polr() error message wrt optim() and vmmin
Hi,
I'm getting an error message using polr():
Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess, ...) :
initial value in 'vmmin' is not finite
The outcome variable is ordinal and factored, and the independant variable
is continuous. I've checked the source code for both polr() and optim()
and can't find any variable called
2004 Dec 30
1
optim/vmmin and R_alloc
I am calling 'vmmin' several times from a C function (which is called via
.C). It works very well, except for memory consumption. The cause is that
vmmin allocates memory via R_alloc, and this memory is not freed as vmmin
exits. Instead all the allocated memory is freed on return of the .C
call.
In one application, I have 2000 functions of 500 variables each to
minimize. In each call to
2006 Jul 05
1
i suspect that there a memory leak in "vmmin"?
Dear listers,
Am currently using MCMC approaches to estimate some parameters of my model.
One parameter has to be updated using a tuned gamma distribution. So at each
iteration I estimate the mean and variance of the density of the gamma
approximation using "vmmin" (i also supply the gradient argument). For
moderate replications the procedure works, but if I increase them R crashes.
2003 Mar 03
2
samin and vmmin
I am writing code in C and would like to call R's functions samin and
vmmin (optimization routines: simulated annealing and BFGS)
I do not understand how to create and pass in the function (as well as the
extra arguments it needs) I am optimizing.
I have read the R Extensions manual but it is still unclear to me.
Could you give me some pointers and/or direct me to some example code
which
2011 Oct 12
0
Usng MCMCpack,error is \\\"initial value in vmmin is not finite\\\"
[This email is either empty or too large to be displayed at this time]
2012 Jun 24
2
equality of values
Dear list,
I'm trying to do a loop where I should choose a cell of a data frame
comparing it with another. The code actually works for the majority of the
loop but for some reason it doesn't and I can't figure out why.
When I tried to understand why I've noticed this:
> dif[11]
[1] 118.8333
> linhasUpdate[10,6]
[1] 118.8333
> dif[11]==linhasUpdate[10,6]
[1] FALSE
Even
2012 Jun 07
1
R2wd error in wdGet
Dear list,
I'm trying to use R2wd package. I've installed the package and try wdGet().
However a error message came up. I'm presently using R 2.15.0
> wdGet()
Error in if (wdapp[["Documents"]][["Count"]] == 0)
wdapp[["Documents"]]$Add() :
argument is of length zero
Does anyone knows what this means?
Thanks a lot.
Andreia Leite
--
View this
2012 Jun 06
1
Error in installing packages
Dear list,
I'm trying to install a package but every time I select the option form the
menu this error message appears:
> utils:::menuInstallPkgs()
Error in read.dcf(file = tmpf) :
Line starting '<!DOCTYPE html PUBLI ...' is malformed!
Do you have any clue of the reason why is it happening? I'm using a older
version (2.9.2) but it always worked perfectly!
Best regards,
2001 Oct 24
1
cannot create /padrao/.oi2.sJ5loG : No such file or directory
Hi,
I'm trying to use rsync.
my /usr/local/etc/rsyncd.conf is:
log file = /var/log/rsyncd
pid file = /etc/rsyncd.pid
syslog facility = local5
[padrao]
comment= Arquivos para Configuracao Maq RedHat
path=/usr/adm/padrao
read only=no
list = yes
I want to write in /usr/adm/padrao with the command
"rsync -uve ssh ./oi2 drcpc1:/padrao/oi2"
of client machine but I received this
2017 Oct 21
2
Help_urgent_how to calculate mean and sd in biomod 2
Hello
I am new in R. I am trying to implement Biomod 2 package.
However, I have a doubt. I want to calculate the mean and sd of
"Testing.data"
(ROC and TSS)
> # let's print the ROC scores of all selected models
> myBiomodModelEval_55["ROC","Testing.data",,,]
RUN1 RUN2 RUN3 RUN4 RUN5 RUN6 RUN7 RUN8 RUN9 RUN10
0.938 0.938 0.926 0.931 0.939
2009 Nov 11
1
problems in installing biomart
Dear Forum
my machine runs Ubuntu 9.04. I am trying to install Biomart, what I realize
is that something is missing and it can't install XML, RCurl but I don't
know what more to do, I looked in previous posts but I did not find
infoprmation that helped.
Thanks
Andreia
biocLite("biomaRt")
Running biocinstall version 2.3.14 with R version 2.8.1
Your version of R requires version
2012 Apr 10
2
Error: cannot allocate vector of size...
Hello:
While running R doing the analysis of my data I (using packages such as
BIOMOD or e1071) get the following error as a result of several of my
analysis:
Error: cannot allocate vector of size 998.5 Mb
In addition: Warning messages:
1: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) :
Reached total allocation of 4095Mb: see help(memory.size)
2: In array(c(rep.int(c(1,
2012 Jul 30
1
Package index help file question.
Dear R developers,
I come to you because nobody was able to answer the following request yet.
I'm developing a release of BIOMOD package called biomod2
( https://r-forge.r-project.org/R/?group_id=302).
I'm writing my package helps files and I'm not really satisfied by the
visual results.
I would like to make subsections in the package "function help index" file.
I would
2013 Jan 22
2
Assistant
Good-day Sir,
I am R.Language users but am try to? estimate parameter of beta distribution particular dataset but give this error, which is not clear to me: (Initial value in "vmmin" is not finite)
beta.fit <- fitdistr(data,densfun=dbeta,shape1=value , shape2=value)
kindly assist.
expecting your reply: