Re: [R] estimate likelihood

2016-03-03 Thread ProfJCNash
Not possible, because the hessian is singular. Recoded as follows (your code should be executable before you put it in a help request). # asindii2.R -- Is it possible to estimate the likelihood parameter #and test for significant as follows: x <- c(1.6, 1.7, 1.7, 1.7, 1.8, 1.8, 1.8, 1.8) y <-

[R] estimate likelihood

2016-03-03 Thread Alaa Sindi
Hi all, Is it possible to estimate the likelihood parameter and test for significant as follows: x <- c(1.6, 1.7, 1.7, 1.7, 1.8, 1.8, 1.8, 1.8) y <- c( 6, 13, 18, 28, 52, 53, 61, 60) n <- c(59, 60, 62, 56, 63, 59, 62, 60) # note: there is no need to have the choose(n, y) term in the likelihood