Re: [R] Fitdistr and mle

2013-12-26 Thread Tia Borrelli
Thank you so much, you have been very helpful! Il Giovedì 26 Dicembre 2013 15:39, Ben Bolker ha scritto: On 13-12-26 04:13 AM, Tia Borrelli wrote: > > Thank you, this is code i'm running, very simple but my problem was on > the interpretation of the difference between the functions. > > lib

Re: [R] Fitdistr and mle

2013-12-26 Thread Ben Bolker
On 13-12-26 04:13 AM, Tia Borrelli wrote: > > Thank you, this is code i'm running, very simple but my problem was on > the interpretation of the difference between the functions. > > library(fImport) > data.oggi = Sys.timeDate() > ftse_mib = yahooSeries("FTSEMIB.MI", from="2009-09-01", to=data.og

Re: [R] Fitdistr and mle

2013-12-25 Thread Ben Bolker
Tia Borrelli yahoo.it> writes: > Thanks for answering, in ret i've the returns of FTSE MIB (the > benchmark stock market index in Italy) and i'm estimating the > parametres of the distribution of the returns of the index using > different methods.  OK, but this still isn't a *reproducible* ex

Re: [R] Fitdistr and mle

2013-12-24 Thread Tia Borrelli
Thanks for answering, in ret i've the returns of FTSE MIB (the benchmark stock market index in Italy) and i'm estimating the parametres of the distribution of the returns of the index using different methods.  I need the mle and i found this two function and i could not understand why the resul

Re: [R] Fitdistr and mle

2013-12-24 Thread Ben Bolker
Tia Borrelli yahoo.it> writes: > > Hello, i'm using R for the exploration of a time series and i'm stuck in a problem with the fitting of the distribution. > What's the difference between "fitdistr" and "mle"? Hard to say without a reproducible example. In the example below the answers are n

[R] Fitdistr and mle

2013-12-23 Thread Tia Borrelli
Hello, i'm using R for the exploration of a time series and i'm stuck in a problem with the fitting of the distribution. What's the difference between "fitdistr" and "mle"? library(MASS) fitting <- fitdistr(ret,densfun="normal") print(c(mean(ret),sd(ret)))