[R] maximum-likelihood-estimation with mle()

2015-09-11 Thread Ronald Kölpin
Hi everyone, I have a problem with maximum-likelihood-estimation in the following situation: Assume a functional relation y = f(x) (the specific form of f should be irrelevant). For my observations I assume (for simplicity) white noise, such that hat(y_i) = f(x_i) + epsilon_i, with the epsilon_i

[R] Looking up the code for a function

2015-05-06 Thread Ronald Kölpin
Hi all, I am trying to find out how a certain functionality is implemented in R respectively what a certain found does exactly. Specifically I am interested in multivariate kernel density estimation. I found the ks package and its kde function. Usually, my preferred way to look under the hood of

Re: [R] Loop over regression results

2015-02-17 Thread Ronald Kölpin
Thank you David and Thierry, your answers helped a lot! Kind regards, RK. __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Loop over regression results

2015-02-16 Thread Ronald Kölpin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear all, I have a problem when trying to present the results of several regression. Say I have run several regressions on a dataset and saved the different results (as in the mini example below). I then want to loop over the regression results in

Re: [R] Maximum likelihood estimation (stats4::mle)

2014-07-22 Thread Ronald Kölpin
the details. Thanks a lot anyways for solving my coding problem! RK On 22.07.2014 15:26, peter dalgaard wrote: On 22 Jul 2014, at 06:04 , David Winsemius dwinsem...@comcast.net wrote: On Jul 21, 2014, at 12:10 PM, Ronald Kölpin wrote: Dear R-Community, I'm trying to estimate

[R] Maximum likelihood estimation (stats4::mle)

2014-07-21 Thread Ronald Kölpin
[,3], mean=mu, sd=sigma) - pnorm(gaps[,4], mean=mu, sd=sigma))) } else { NA } } fit - mle(nll, start=list(mu=0, sigma=1), nobs=10) print(fit) To be honest, I'm stumped and don't quite know what the problem is... Regards and Thanks, Ronald Kölpin