Skip to content
Back to formatted view

Raw Message

Message-ID: <1262503252823-997609.post@n4.nabble.com>
Date: 2010-01-03T07:20:52Z
From: Saji Ren
Subject: Help with function "fitdistr" in "MASS"

Hi, R users:

I want to fit my data into a normal distribution by using the command
"fitdistr" in "MASS".
I changed my data class from "ts" to "numeric" by

>class(mydata)="numeric"

but after using "fitdistr", I got the result below

>fitdistr(mydata,"normal")
  mean    sd 
  NA     NA  
 (NA)   (NA) 

the help doc of "fitdistr" does not mention anything about that, thus I need
your help.

Thank you in advanced,
Saji from Shanghai
-- 
View this message in context: http://n4.nabble.com/Help-with-function-fitdistr-in-MASS-tp997609p997609.html
Sent from the R help mailing list archive at Nabble.com.