search for: danygaravaglia84

Displaying 2 results from an estimated 2 matches for "danygaravaglia84".

2008 Jul 25
3
Maximization under constraits
I''m looking for a R function which can maximise this logliklihood function, under the constraits a>0 e b>0 f<-function(param){ a<-param[1] b <-param[2] log(prod)-(a*s2)-(b*s)-n*log(1-((0.5*b/sqrt(a))*(exp((b^2)/(4*a)))*((sqrt(pi ))*(1-pnorm(-b/(2*sqrt(a)), mean=0, sd=1)))))} I''ve tried maxlik constrOptim e donlp2 but without success. Thanks so
2008 Aug 22
1
draw a function over a histogram
Sorry, I have some troubles with the graph device. How can I draw a function over a histogram? Thank''s so much. [[alternative HTML version deleted]]