

 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]]

