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

Q. Show basic Trigonometric Functions? Ans. There are six trigonometric functions and they can be defined using a right angle triangle. We first label each side according

There are only Chinese and Malay pupils in a hall.The ratio of the number of boys to the number of girls is 2:3.The ratio of the number of Chinese boys to the number of Malay boys

a dairy mngr says it takes 70lbs of make 10 lbs of cottage cheese... How do I make a rate table and a make a graph showing the relationship between lbs of milk and lbs of cottage c

Find out a series solution for the following differential equation about x 0 = 0 y′′ + y = 0.   Solution Note that in this case p(x)=1 and therefore every point is an or

if x+y+z=pi=180 prove that sin^2x+sin^2y+sin^z-2sinx*siny*sinz=2

use the Pythagorean Theorem to find the length of the missing side. Then find the indicated trigonometric function of the given angle. give an exact answer with a rational denomina


The perimeter of Andrew''s rectangular room is 44 feet. What equation was used to find the perimeter?

By pigeonhole principle, show that if any five numbers from 1 to 8 are chosen, then two of them will add upto 9.    Answer: Let make four groups of two numbers from 1 to 8 like