Produce list containing m-vectors delta and lambda, Mathematics

The logarithm of the Poisson mixture likelihood (3.10) can be calculated with the following R code:

sum(log(outer(x,lambda,dpois) %*% delta)),

where delta and lambda are m-vectors containing the δc and λc parameters and x is a vector of n observations.

(a) Explain this code.

(b) Write an R function called pois.mix.pn2pw to transform delta and lambda to a vector parvect of 2m - 1 working parameters, following (3.15, 3.16).

(c) Write an R function called pois.mix.pw2pn for the inverse transformation (3.17, 3.18), to produce a list containing m-vectors delta and lambda.

(d) Using these functions, write a further function called pois.mix.negllk to calculate the negative log of the Poisson mixture likelihood, evaluated at a given

 

Posted Date: 3/20/2013 3:40:33 AM | Location : United States







Related Discussions:- Produce list containing m-vectors delta and lambda, Assignment Help, Ask Question on Produce list containing m-vectors delta and lambda, Get Answer, Expert's Help, Produce list containing m-vectors delta and lambda Discussions

Write discussion on Produce list containing m-vectors delta and lambda
Your posts are moderated
Related Questions
Consider a circular disc of radius 1 and thickness 1 which has a uniform density 10 ?(x, y, z) = 1. (a) Find the moment of inertia of this disc about its central axis (that is, the

1) Find the are length of r(t) = ( 1/2t^2, 1/3t^3, 1/3t^3) where t is between 1 and 3 (greater than or equal less than or equal) 2) Sketch the level curves of f(x,y) = x^2-2y^2

Calculate the Kendaul''s correlation cofficient for a given data.

At the school bookstore and two binders and three pens cost $12.50. Three binders and five pens cost $19.50. What is the approximate cost of 1 binder and 1 pen? Let x = the cos

What are some equations for 36?

Properties Now there are a couple of formulas for summation notation. 1. here c is any number. Therefore, we can factor constants out of a summation. 2. T

A body is constrained to move in a path y = 1+ x^2 and its motion is resisted by friction. The co-efficient of friction is 0.3. The body is acted on by a force F directed towards t



identify 4 sketch the quadric surfaces