Dear R-users,
Can someone help understand why in the following example R would return a 
negative value for the last parameter when I have constrained it to be positive 
and greater than or equal to 0.01?
 
> nlminb(start=initial value,objective=some function, 
> lower=c(-Inf,-Inf,-Inf,0.01),upper=c(Inf,Inf,Inf,Inf))
Many thanks,
Dominique
 
 
Dominique Katshunga
==============
Lecturer in Statistical Sciences Department
University of Cape Town
Tel. 021 6504669
Fax. 021 6504773
email. dominique.katshu...@uct.ac.za

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to