I am trying to do an excerise on likelihood functions and score vectors and I am having some trouble extending it to parameter vectors. The question is stated below.
Suppose we have two independent samples: $X_{1}, ..., X_{n}$ are iid Exponential random variables with mean $θ_{1}$ and $Y_{1}, . . . , Y_{n}$ are iid Exponential random variables with mean $θ_{2}$.
Find the likelihood and log likelihood functions for the parameter vector $θ = (θ_{1}, θ_{2})^{T}. $
In this case would the likelihood function be $$\prod{θ e^{-θ x_{i}} = θ ^ne^{-θ\sum x_{i}}}$$ (same as one with one parameter)? Or would it be the product of the two functions as shown below: $$\prod{θ_{1} e^{-θ_{1} x_{i}} θ_{2}e^{-θ_{2}y_{i}} = θ_{1} ^ne^{-θ_{1}\sum x_{i}}} θ_{2}^{n}e^{-θ_{2}\sum y_{i}}$$
Or would it be something different?
Thanks!