Re: [R] fitdistr for t distribution

2009-05-15 Thread lagreene
dt((x-m)/s, df)/s fitdistr(x2, mydt, list(m = 0, s = 1), df = 9, lower = c(-Inf, 0)) Thanks anyway for the help! Jorge Ivan Velez wrote: > > Dear lagreene, > See the second example in > > require(MASS) > ?fitdistr > > HTH, > > Jorge > > > On Thu, Ma

[R] fitdistr for t distribution

2009-05-14 Thread lagreene
Hi, I was wondering if anyone could tell me how m and s are calculated for a t distribution? I thought m was the sample mean and s the standard deviation- but obviously I'm wrong as this doesn'y give the same answer. Thank you -- View this message in context: http://www.nabble.com/fitdistr-for