Hi,
Below I have a function mlogl_k,
later it's called with nlm .
__BEGIN__
vsamples- c(14.7, 18.8, 14, 15.9, 9.7, 12.8)
mlogl_k - function( k_func, x_func, theta_func, samp) {
tot_mll - 0
for (comp in 1:k_func) {
curr_mll - (- sum(dgamma(samp, shape = x_func,
scale=theta_func,
On May 22, 2008, at 9:14 PM, Edward Wijaya wrote:
Hi,
Below I have a function mlogl_k,
later it's called with nlm .
__BEGIN__
vsamples- c(14.7, 18.8, 14, 15.9, 9.7, 12.8)
mlogl_k - function( k_func, x_func, theta_func, samp) {
tot_mll - 0
for (comp in 1:k_func) {
curr_mll -
Dear Mark and Haris,
Thanks so much to you both. I really appreciate it.
- Edward
On Fri, May 23, 2008 at 10:54 AM, [EMAIL PROTECTED] wrote:
to add to what Haris said: I think you are trying to find the mle's of the
gamma, given some data, and either what you're doing is not the right way
3 matches
Mail list logo