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
jack and his mother paid $11.50 for tickets to the movies. An adult''s ticket costs $4.50 more than a child''s ticket. What was the cost of each ticket?

Find the x and y intercepts for the following equations: 3y=3x -y=-x-4 2x+3y=6 y=5

Calculate the area and perimeter of a parallelogram: Calculate the area and perimeter of a parallelogram with base (b) = 4´, height (h) = 3´, a = 5´ and b = 4´.  Be sure to in

integrate sin(x) dx

how to find inverse of matrix

what is mantisa


We know that the terms in an A.P. are given by a, a + d, a + 2d, a + 3d, ........ a + (n - 2)d, a + (n -  1)d The sum of all t

Q. How to add fractions Involving Negative Numbers? Ans. Adding fractions involving negative numbers, and subtracting them, are only slightly different. But, I'll write do

Assumptions and Application of T Distribution Assumptions of t distribution 1. The sample observations are random 2. Samples are drawn from general distribution 3.