Displaying 1 result from an estimated 1 matches for "allloglik".
Did you mean:
nullloglik
2007 Mar 13
0
multiplying matrix by vector of times
...I would like to estimate and I have chosen
>> the initial value mu1=0.05
>>
>>
>> Loglik<-p %*% expm(Q*y) %*% q
>>
>> Where y=(5 10)
>>
>> I want to sum the log likelihoods that I get for y=5 and y=10 using
>>
>> Sumloglik<-sum(allloglik)
>>
>> Where allloglik = vector of log likelihoods
>>
>>
>> Any help would be greatly appreciated.
>>
>> Thanks in advance
>> Laura
>>
>
> Hi Laura,
>
> Make an empty vector of required length, then assign the loglik to each
&...