search for: ftol

Displaying 8 results from an estimated 8 matches for "ftol".

Did you mean: fool
2011 Dec 18
2
Dealing with NAs
...parameter values with mlogit. I attach a part of my data. My code is x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") summary(mlogit(voittaja ~ Ie-1 , data=x, na.action=na.pass)) But i get Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed Because there is Na in D2. What should i do to make it work?
2012 Oct 18
3
Upper limit in nlsLM not working as expected
...a<-as.data.frame(cbind(x,y)) #Start values for fitting st2<-data.frame( y0=0, A=0.0001, w=0.055, xc=0.28 ) #Fit function to data fit<-nlsLM(y ~ y0 + 2*(A/pi)*w/(4*(x-xc)^2+w^2), control=nls.lm.control( factor=100, maxiter=1024, ftol = .Machine$double.eps, ptol = .Machine$double.eps ), data=data, na.action=na.exclude, start=st2, algorith='LM', lower=c(-0.0001,-1e-8,0.05,0.2), #upper=c(1e-6,0.003,0.08,0.35), uppe...
2011 Dec 19
1
Mlogit missing value problem
...l("D:\\SAMBLEDATA.csv") > y<-sqlFetch(z,"Taul1") > x=mlogit.data(y,choice="voittaja",shape="long",id.var="id",alt.var="numero") > summary(mlogit(voittaja ~ Fa+Ie -1 , data=x, na.action=na.pass)) Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed The reason for this error is in the row 563. There the choice has value 1 and Ie has missing value. If the choice has value 0 and Ie has missing values, then there is no errors. What should i do to make it work..? Ville
2012 Nov 05
1
Error message in nmkb()
Hallo together, I am trying to use the nmkb() optimizer and I have problems using the function, as it causes the following error message Fehler (error)* in while (nf < maxfeval & restarts < restarts.max & dist > ftol & : Fehlender Wert (missing value)* , wo (where)* TRUE/FALSE n?tig ist (is required)* *translation Do I need to adjust the control ? my.optpar3<-nmkb(par=par.start,fn=my.loglike.normal,lower=constLo,upper=999, control=list(restarts.max=9)) If you need more info, please let me know....
2013 Mar 19
0
mlogit: block design CE model
...1 1 I have tried the following codes to set the data for mlogit and run the model: T1m<-mlogit.data(T1,shape="long",choice="choice",alt.var="Alt") m1=mlogit(choice~x1+x2+x3+x4|Age+Sex, data=T1m) I am getting the following error: Error in if (abs(x - oldx) < ftol) { : missing value where TRUE/FALSE needed I have gone through the data and found no missing values. Please advice if the codes I have used are appropriate and what is going wrong. Thanks in advance, abimoss [[alternative HTML version deleted]]
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
...>> Try adding ECX to the Defs of this part of >> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't >> have a Windows machine to test myself. >> >> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in { >> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src), >> "# win32 fptoui", >> [(X86WinFTOL RFP32:$src)]>, >> Requires<[In32BitMode]>; >> >> def WIN_FTOL_64 : I<0, Pseudo, (outs), (ins RFP64:$s...
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
...9/07/2013 5:23 PM, Craig Topper wrote: > > Try adding ECX to the Defs of this part of > lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a > Windows machine to test myself. > > let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in { > def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src), > "# win32 fptoui", > [(X86WinFTOL RFP32:$src)]>, > Requires<[In32BitMode]>; > > def WIN_FTOL_64 : I<0, Pseudo, (outs), (ins RFP64:$src), >...
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
...per wrote: >> >> Try adding ECX to the Defs of this part of >> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a >> Windows machine to test myself. >> >> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in { >> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src), >> "# win32 fptoui", >> [(X86WinFTOL RFP32:$src)]>, >> Requires<[In32BitMode]>; >> >> def WIN_FTOL_64 : I<0, Pseudo, (outs), (ins RFP...