search for: loggomp

Displaying 3 results from an estimated 3 matches for "loggomp".

Did you mean: libgomp
2005 Oct 27
3
outer-question
...ifetimes <- random.gomp(n=no.people, alpha=al, beta=bet) ### Since I neither have censoring nor truncation in this simple case, ### the log-likelihood should be simply the sum of the log of the ### the densities (following the parametrization of Klein/Moeschberger ### Survival Analysis, p. 38) loggomp <- function(alphas, betas, timep) { return(sum(log(alphas) + betas*timep + (alphas/betas * (1-exp(betas*timep))))) } ### Now I thought I could obtain a matrix of the log-likelihood surface ### by specifying possible values for alpha and beta with the given data. ### I was able to produce this...
2005 Oct 27
3
outer-question
...ifetimes <- random.gomp(n=no.people, alpha=al, beta=bet) ### Since I neither have censoring nor truncation in this simple case, ### the log-likelihood should be simply the sum of the log of the ### the densities (following the parametrization of Klein/Moeschberger ### Survival Analysis, p. 38) loggomp <- function(alphas, betas, timep) { return(sum(log(alphas) + betas*timep + (alphas/betas * (1-exp(betas*timep))))) } ### Now I thought I could obtain a matrix of the log-likelihood surface ### by specifying possible values for alpha and beta with the given data. ### I was able to produce this...
2005 Oct 31
1
[R] unvectorized option for outer()
...> ### the densities (following the parametrization of > >>>>> > >>>>> Klein/Moeschberger > >>>>> > >>>>> > >>>>>> ### Survival Analysis, p. 38) > >>>>>> > >>>>>> loggomp <- function(alphas, betas, timep) { > >>>>>> return(sum(log(alphas) + betas*timep + (alphas/betas * > >>>>>> (1-exp(betas*timep))))) > >>>>>> } > >>>>>> > >>>>>> ### Now I thought I could obt...