Displaying 20 results from an estimated 500 matches similar to: "first value from nlm (non-finite value supplied by nlm)"
2000 Mar 06
1
nlm and optional arguments
It would be really nice if nlm took a set of "..." optional arguments
that were passed through to the objective function. This level of hacking
is probably slightly beyond me: is there a reason it would be technically
difficult/inefficient? (I have a vague memory that it used to work this
way either in S-PLUS or in some previous version of R, but I could easily
be wrong.)
Here's
2005 Oct 11
2
Sometimes having problems finding a minimum using optim(), optimize(), and nlm() (while searching for noncentral F parameters)
Hi everyone.
I have a problem that I have been unable to determine either the best
way to proceed and why the methods I'm trying to use sometimes fail. I'm
using the pf() function in an optimization function to find a
noncentrality parameter that leads to a specific value at a specified
quantile. My goal is to have a general function that returns the
noncentrality parameter that
2005 Dec 04
1
Understanding nonlinear optimization and Rosenbrock's banana valley function?
GENERAL REFERENCE ON NONLINEAR OPTIMIZATION?
What are your favorite references on nonlinear optimization? I like
Bates and Watts (1988) Nonlinear Regression Analysis and Its
Applications (Wiley), especially for its key insights regarding
parameter effects vs. intrinsic curvature. Before I spent time and
money on several of the refences cited on the help pages for "optim",
2008 Jan 15
1
Viewing source code for .Internal functions
I am trying to view the source code of the function nlm in the stats
package of R 2.4.1.
I downloaded the source from CRAN and opened nlm.R, and it calls a
.Internal function:
.Internal(nlm(function(x) f(x, ...), p, hessian, typsize, fscale,
msg, ndigit, gradtol, stepmax, steptol, iterlim))
This is the same thing I saw when entering the function name at the R
command
2004 Aug 21
0
Convergence code in nlm function
Dear R users,
I am using the nlm function for minimization of the very non-linear function of four parameters. I am running 100 simulations and almost always I get the convergence code =2 (Successive iterates within tolerance. Current iterate is probably solution.) [about 75 times of 100].
Frequently, 3 of 4 relative gradients are close to zero and the fourth is huge but there are also cases
1999 Mar 05
1
typos
R version: RW0632
1. gnlm package, nlr() error message:
"Last global step failed to locate a point lower than x.
Either x is an approximate local minimum of the function,
the function is too non-linear for this algorithm,
or steptl is too large."
last line: steptol (also, should it read "steptol is too small?")
2. help(glm)
" Fitting Generalized Linear Models
1999 Nov 05
2
library maps for R
Anybody interested in the S maps library for R? I have ported a
limited version of the software for a Unix platform, and would be happy
to make it available for anybody interested. If there is a lot of
interest then I will submit it to CRAN. I know that Ross Ihaka is
working on a new version for R, which does not have some of the
limitations of the original S version.
My version does not do
2006 Oct 24
2
for help
I have a question in R.
In directory H:/Delta_angle
I have 19 files like this:
ALA.delta
ASN.delta
ASP.delta
CYS.delta
GLN.delta
GLU.delta
HIS.delta
ILE.delta
LEU.delta
LYS.delta
MET.delta
PHE.delta
PRO.delta
SER.delta
THR.delta
TRP.delta
TYR.delta
VAL.delta
I want to read these files to 19 data sets in R.
All these data sets have "P","AA",index","delta"
2007 Nov 21
1
normalised Voigt random numbers
Dear list,
I would like to generate random numbers from a Voigt distribution,
hopefully in a way as simple as getting random numbers from a normal
distribution with 'rnorm'. Is there any package to do this? Speed is an
issue in this application. Or, as the Voigt distribution is a
convolution of a Gaussian and a Lorentzian, can I simply combine random
numbers from rnorm and rcauchy in some
2013 Jan 16
1
Help with a parallel process
Hi R-Core,
i am using nnet and DEoptim,
Xcc=matrix(rnorm(100,0.5,0.08),50,2)
Ycr=matrix(rnorm(50,0.2,0.05),50,1)
pred_regm1 <- function(A) {
A1=A[1]
A2=A[2]
A3=A[3]
regm1 <-
nnet(Xcc,Ycr,entropy=T,size=A1,decay=A2,maxit=2000,trace=F,Hess=T,rang=A3,skip=T)
dif=sum((predict(regm1,Xcc)-Ycr)^2)
return(dif)
}
somar=DEoptim(pred_regm1,c(1,0.00001,0.01), c(25,0.999,0.95),
2000 Dec 07
0
Tuning the nlm function
Hi Everyone,
Is there a simple way to force nlm to take larger initial steps? Setting
print.level = 2 allows me to inspect the step size at each iteration, but
I appear not to have made any appreciable impact on it by changing values
of typsize, fscale, steptol or stepmax. The steps repeatedly come out
tiny, 1e-9 typically, and the algorithm is terminating not because the
gradient is zero (it
2012 Oct 13
0
[ANNOUNCE] xscope 1.3.99.901
This is a release candidate for xscope 1.4, which includes these new
features:
- RANDR decoding updated from just 0.x protocol to handle 1.0 - 1.4
- Atoms recorded from InternAtom & GetAtomName to use for display in
other requests referencing the atoms
- Property requests now also show these property types in a more natural
format instead of as just lists of bytes:
UTF8_STRING, atoms,
2005 Sep 13
1
callfile: How to invoke SetCallerPres ?
Hi,
how may I define in a callfile the CallerID presentation to be used for
the requested call,
eg. set it to prohibited?
TIA, Bruno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bruno.Voigt.vcf
Type: text/x-vcard
Size: 270 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050913/fcb5c595/Bruno.Voigt.vcf
2005 Oct 12
1
send Q931 information element keypadfacility ?!
Hi all,
I'm looking for a way with any asterisk-version with TE410P (cpe
EuroISDN, Q931)
for sending an INFORMATION ELEMENT KeypadFacility,
eg. *87, during a connected call to the PSTN switch.
Are there existing functions in asterisk to generate & send such IE ?
If not what existing modules would be best to derive from?
TIA,
Bruno
-------------- next part --------------
A non-text
2009 May 11
1
predict function the other way around
Dear List,
Consider the following example
x=c(1,2,3,4,5)
y=c(2,4,6,8,10)
linearmodel=lm(y~x)
To predict a y-value if you know the corresponding x value is very easy
with the command predict.
predict(linearmodel, newdata=(x=1.5))
The other way around, to predict an x-value with a corresponding
y-value, doesn't work unfortunately.
Is there another function that can do that, or do I need to
2016 Nov 02
1
Samba using pdb ldapsam fails upon startup
Dear all,
I freshly installed a new smb-server that should act as file server with
some smb-shares.
The pdc is a Windows 2008 r2 server.
My smb.conf is as follows:
[global]
workgroup = agroup
server string = ssmbserver
#passdb backend = tdbsam
map to guest = Bad User
usershare allow guests = No
security = domain
wins support = No
2005 Aug 26
1
Pseudo-Voigt fit
Hi, I am sorry for this question, but I am trying to speed up an
application....
I will need to fit many x-y data sets (input from text files) to
4-parameter Pseudo-Voigt peak function.
Until now I used SigmaPlot macro to do it (enclosed just in case...)
peaksign(q) = if(total(q)>q[1], 1, -1)
xatymin(q,r) = xatymax(q,max(r)-r)
[Parameters]
a = if(peaksign(y)>0, max(y), min(y))
2011 Aug 24
1
problema de selección de valores iniciales en nlm
Hola a todos,
Necesito estimar dos parametros utilizando la función nlm;
fit<-nlm(hood2par,c(x01[i],x02[j]),iterlim=300, catch=x[,c(3,4,5)],sp=.5)
donde hood2par es una logística modificada.
Pero en mi caso, la convergencia de nlm depende de los valores
iniciales de dichos parámetros. Para buscar dichos valores iniciales de
manera automática, genero dos vectores de valores iniciales
2003 Oct 02
1
Compiled Samba-3.0.0 package is to great
Hi,
I have a problem with the filesize of the samba 3.0.0 package. after compiling
the source of the samba-3.0.0 i made the "sh
makepkg.sh". the package i got was about 901 MB. does anybody know why the
package is as great as mine and what can i do to
get a samba package which is smaller than the package i have. i compiled under
solaris 8. i made all what samba.org says
that i
2001 May 14
3
Spectral band replication
>> Do you (or the ogg vorbis community) understand how SBR works? There is
>> info on http://www.codingtechnologies.de/technology/sbr.htm
>> bnut I am guessing this infop is not enough to explain the technology.
Robert Voigt:
>I haven't heard about SBR before. After reading that webpage I can say the
>following: [ . . . ] I don't think SBR will give an