[R] log likelihood and optimize

tonia marks tonia.marks at yahoo.co.uk
Thu Sep 4 12:53:28 CEST 2014


Hello

I want to estimate the covariance matrix of the likelihood f(x1,x2,x3)=f(x2|x1)f(x3|x2)f(x1), where f(x2|x1) follows a Binomial distribution with parameters (2, 0.2), f(x3|x2) follows a Binomial distribution with parameters (2, 0.8) and f(x1) follows a Binomial distribution with parameters (2, 0.1). Could you please suggest a way of doing it using log likelihood and optimize?


Many thanks
Tonia Marks

	[[alternative HTML version deleted]]



More information about the R-help mailing list