hello,
i want to differentiate of L with respect to b
when:
L= k*ln (k/(k+mu)) + sum(y) * ln (1-(k/mu+k)) #(negative binomial ln
likelihood)
and
ln(mu/(mu+k)) = a+bx #link function
how can i do it in R?
thank you.
_________________
Best Regards
Niloofar.Javanrouh
Ph.D Student of BioStatistics
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.