Displaying 20 results from an estimated 800 matches similar to: "using optimize with two unknowns, e.g. to parameterize a distribution with given confidence interval"
2010 Jun 22
1
Subject: Re ZINB by Newton Raphson??
I have not included the previous postings because they came out very strangely on my mail
reader. However, the question concerned the choice of minimizer for the zeroinfl()
function, which apparently allows any of the current 6 methods of optim() for this
purpose. The original poster wanted to use Newton-Raphson.
Newton-Raphson (or just Newton for simplicity) is commonly thought to be the
2010 Nov 16
4
DBLEPR?
Ravi Varadhan and I have been looking at UCMINF to try to identify why it gives occasional
(but not reproducible) errors, seemingly on Windows only. There is some suspicion that its
use of DBLEPR for finessing the Fortran WRITE() statements may be to blame. While I can
find DBLEPR in Venables and Ripley, it doesn't get much mention after about 2000 in the
archives, though it is in the R FAQ
2010 Nov 16
4
DBLEPR?
Ravi Varadhan and I have been looking at UCMINF to try to identify why it gives occasional
(but not reproducible) errors, seemingly on Windows only. There is some suspicion that its
use of DBLEPR for finessing the Fortran WRITE() statements may be to blame. While I can
find DBLEPR in Venables and Ripley, it doesn't get much mention after about 2000 in the
archives, though it is in the R FAQ
2010 Sep 21
5
Can ucminf be installed in 64 bit R and one more question?
Hey, R Users
my windows is 64 bit windows 7.?I am trying to install the package ucminf into
my 64 bit version R but cannot.??the package I downloaded is from
http://cran.r-project.org/web/packages/ucminf/index.html?and I installed it with
the "install from local zip files", due to I did not connect my computer to
internet.
did anyone meet this problem and is there a version of
2023 Aug 13
4
Noisy objective functions
While working on 'random walk' applications, I got interested in
optimizing noisy objective functions. As an (artificial) example, the
following is the Rosenbrock function, where Gaussian noise of standard
deviation `sd = 0.01` is added to the function value.
fn <- function(x)
(1+rnorm(1, sd=0.01)) * adagio::fnRosenbrock(x)
To smooth out the noise, define another
2016 Oct 08
4
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
Hello:
The development version of Ecdat on R-Forge contains a vignette
in which optim(?, method=?L-BFGS-B?) stops with an error message while
violating the lower bound.
To see all the details, try the following:
install.packages("Ecdat", repos="http://R-Forge.R-project.org")
Then do "help(pac=Ecdat)" -> "User guides, package
2006 Mar 09
4
IVR woes
Hello all. I'm having a problem debugging an IVR I'm building. I can't see any reason this shouldn't be working.
Firstly the asterisk version is:
Asterisk SVN-trunk-r7230 built by root @ localhost.localdomain on a i686 running Linux on 2006-02-17 22:44:48 UTC
Basically the problem is this. While the playbacks are happening you can push any one of the options and to happily
2006 Mar 11
2
IVR dial by extension option..
I'm working on an IVR that gives the users the option (number 5 in the main menu) to dial by extension:
exten => 5,1,Set(TIMEOUT(digit)=5) ; Dial Extension
exten => 5,2,Set(TIMEOUT(response)=10)
exten => 5,3,Background(LCL/prompt-60)
exten => 5,4,WaitExten(15)
When going option 5 you can dial some extensions such as 2802, it goes to the extension (all extens start with 28 on the
2012 Aug 29
2
Estimation parameters of lognormal censored data
Hi, I am trying to get the maximum likelihood estimator for lognormal distribution with censored data;when we have left, interval and right censord. I built my code in R, by writing the deriving of log likelihood function and using newton raphson method but my estimators were too high " overestimation", where the values exceed the 1000 in some runing of my code.
is there any one can
2009 Dec 10
1
obtain intermediate estimate using optim
Hi,
Currently I am trying to solve a minimization problem using optim as method Nelder-Mead. However, Neldel-Mead needs many iterations until it finally converges. I have set $control.trace and $control.report such that I can see the value of the function at each iteration. I do see that I set the convergence criteria to strict in the sense that the function value does not change much. However,
2012 Aug 31
3
fitting lognormal censored data
Hi ,
I am trying to get some estimator based on lognormal distribution when we have left,interval, and right censored data. Since, there is now avalible pakage in R can help me in this, I had to write my own code using Newton Raphson method which requires first and second derivative of log likelihood but my problem after runing the code is the estimators were too high. with this email ,I provide
2007 Sep 11
6
xyplot question
I have the code below and it works fine if I print the xyplot but if I
take the print out, then I just get a blank
pdf. The same holds if I just send the plot to the console without the
print ( I get nothing ). My question is whether this is always
the case with xyplot or is there something wrong with my settings ? I am
on linux ( redhat ) and using R.2.5.0. Thanks.
load("stocks.dat")
2006 Feb 12
1
lme, nlsList, nlsList.selfStart
Dear listers,
I am trying to fit a model using nlsList() using alternately a SSfol()
selfstart function or its developped equivalent formulae.
This preliminary trial works well
mydata<-groupedData(Conc~Tps|Organ,data=mydata)
mymod1<-nls(Conc~SSfol(Dose,Tps,lKe,lKa,lCl),data=mydata)
as well as a developped form:
mymod2<-nls(Conc~Dose * exp(lKe+lKa-lCl) *
2010 Sep 30
2
can I add line breaks to the paste() function?
Can I add a line break to the paste() function to return the following:
'this is the first line'
'this is the second line'
instead of
'this is the first line this is the second line'
?
2005 Jul 28
1
conversion from SAS
Hi, I wonder if anybody could help me in converting
this easy SAS program into R.
(I'm still trying to do that!)
PROC IMPORT OUT= WORK.CHLA_italian
DATAFILE= "C:\Documents and
Settings\carleal\My
Documents\REBECCA\stat\sas\All&nutrients.xls"
DBMS=EXCEL2000 REPLACE;
GETNAMES=YES;
RUN;
data chla_italian;
set chla_italian;
2001 Feb 04
1
quinModel S != R
Dear friends of nlme,
Running quinModel (Pinheiro/Bates page 380) on R (current release, windows)
gives:
Nonlinear mixed-effects model fit by maximum likelihood
Model: conc ~ quinModel(Subject, time, conc, dose, interval, lV, lKa,
lCl)
Data: Quinidine
Log-likelihood: -497
Fixed: lV + lKa + lCl ~ 1
lV lKa lCl
5.382 -0.273 2.470
Random effects:
Formula: list(lV ~ 1, lCl ~ 1)
2012 Jul 29
4
R- Help (looping)
Hi,
I'm Wellington from Brazil and I have the following issue:
I've been working on a project a for a while, and I'm having trouble in
using the loop (for)
I need to read a column (c1), and for each value of this column, I need to
check if it's within the control limits
So, I was trying to do this:
For (k in 1: c1)
If (c1< lcl1 | c1 > ucl1) {here I
2008 Sep 02
2
qcc help
Hi Gents,
I need to get the control limits from qcc function.
As follows:
qcc(MDI, type = "xbar.one")
Call:
qcc(data = MDI, type = "xbar.one")
xbar.one chart for MDI
Summary of group statistics:
Min. 1st Qu. Median Mean 3rd Qu. Max.
0.3266 0.4249 0.4371 0.4333 0.4451 0.4858
Group sample size: 1
Number of groups: 383
Center
2015 Jan 21
3
Samba4 LDAP issues
I cannot add users to my server and after going through many google
searches and trying several things here is an issue I have found at
minimum a LDAP issue when comparing my primary and secondary domain
controllers. I do not know how to repair it and that is why I am
contacting the list. Below is the output of the comparison.
Master: 4.2.0pre1-GIT-58865d9
Slave: 4.2.0pre1-GIT-815bde2
Thank
2003 May 12
1
plot.ranef.lme (PR#2986)
library(nlme)
data(Phenobarb)
na.include <- function(x)x
phe1 <- nlme(conc~phenoModel(Subject, time, dose, lCl, lV),
data = Phenobarb,
fixed = lCl+lV~1,
random= pdDiag(lCl+lV~1),
start = c(-5,0),
na.action = na.include,
naPattern = ~!is.na(conc))
phe.ranef <- ranef(phe1,augFrame=TRUE)
plot(phe.ranef, form=lCl~Wt+ApgarInd)
[Error in max(length(x0),