Re: [R] sum of functions

2011-10-06 Thread Arne Henningsen
On 6 October 2011 16:20, Dimitris.Kapetanakis wrote: > Dear all, > > I would like to create a code for semiparametric Klein and Spady's > estimator. For that I created a function that provides the log-likelihood > function for each observation (so it is a function of betas and i, where i > denotes

[R] sum of functions

2011-10-06 Thread Dimitris.Kapetanakis
Dear all, I would like to create a code for semiparametric Klein and Spady's estimator. For that I created a function that provides the log-likelihood function for each observation (so it is a function of betas and i, where i denotes the observation). Now, in order to maximize the log-likelihood f