OK. It runs fine! Many thanks Frede. Regards. Vito
Se non ora, quando? Se non qui, dove? Se non tu, chi? Il Venerdì 17 Gennaio 2014 12:38, Frede Aakmann Tøgersen <fr...@vestas.com> ha scritto: >In package MASS there is the fitdistr function using maximum likelihood >estimation to infer on the parameters of distributions based on observed data. > > >One of the arguments of fitdistr () allows you to specify the probability >density function. > > >You only know how the parametrization of your three parameters lognormal >distribution is defined since you really haven't told us much. > > >Please have a look at fitdistr() and tell us if fit your needs. > > >Br. Frede > >-------- Oprindelig meddelelse -------- >Fra: Vito Ricci >Dato:17/01/2014 08.44 (GMT+01:00) >Til: Göran Broström ,r-h...@stat.math.ethz.ch >Emne: Re: [R] Estimating parameters of 3 parameters lognormal distribution > >Hi Goran, > >thanks for your suggestion, but I believe it's not helpful for me... > >phreg statement "Proportional hazards model with parametric baseline >hazard(s). Allows for stratification with dif-ferent scale and shape in each >stratum, and left truncated and right censored data" > >I've data whose distribution is lognormal with three parameters, I need to fit >this model and its 3 parameters, especially the the 3rd, the theresold. >Regards. >VR > > > >Se non ora, quando? >Se non qui, dove? >Se non tu, chi? > > > >Il Venerdì 17 Gennaio 2014 8:26, Vito Ricci <vito_ri...@yahoo.com> ha scritto: > >Many thanks for your suggestion. >>Regards. >>VR >> >> >> >> >>Se non ora, quando? >>Se non qui, dove? >>Se non tu, chi? >> >> >> >>Il Giovedì 16 Gennaio 2014 22:31, Göran Broström <goran.brost...@umu.se> ha >>scritto: >> >>On 01/16/2014 04:59 PM, Vito Ricci wrote: >>>> Hi guys, >>>> >>>> is there in some R package a statement to fit parameters in a 3 parameters >>>> lognormal distribution. >>> >>>Yes, the function 'phreg' in the package 'eha'. >>> >>>Göran Broström >>> >>> >>> >>>> Many thanks >>>> Vito Ricci >>>> [[alternative HTML version deleted]] >>>> >>>> ______________________________________________ >>>> R-help@r-project.org mailing list >>>> https://stat.ethz.ch/mailman/listinfo/r-help >>>> PLEASE do read > the posting guide http://www.R-project.org/posting-guide.html >>>> and provide commented, minimal, self-contained, reproducible code. >>> >>>> >>> >>> >>> >> >> > [[alternative HTML version deleted]] > > > > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.