Dear R User,
I am an electrical engineering student and have just come across a curve
fitting problem. I need to find the constituent Gaussian distribution curves
fitting the data attached in Workbook1.txt here. I tried to use Mixdist on R
but ran into following problem. Can you suggest me where I am going wrong?
> super <-read.table("Workbook1.txt",,sep ="\t")
> plot(super)
> fitmixdata <-as.mixdata(super)
> plot(fitmixdata)
> plotfit1<-mix(super,mixparam(c(-75,-67,-38),10),"norm",mixconstr(consigma="NONE"))
Error in nlm(mixlike, lmixdat = mixdat, lmixpar = fitpar, ldist = dist, :
missing value in parameter
I get this error.
Awaiting a reply soon.
Thanking you,
Regards,
Suchit Shah
BOSTON
Try the new Yahoo! India Homepage. Click here. http://in.yahoo.com/trynew
-150 0
-146 0
-142 0
-138 0
-135 0
-131 0
-127 44.293
-123 118.463
-120 27.862
-116 13.076
-112 173.738
-108 322.141
-105 633.341
-101 1153.095
-97.2 1775.843
-93.5 2956.544
-89.7 4966.666
-86 8216.293
-82.2 13535.566
-78.5 21288.975
-74.8 28815.691
-71 36041.516
-67.3 46679.93
-63.5 59945.395
-59.8 73005.781
-56 89597.742
-52.3 114438.898
-48.6 142680.047
-44.8 170931.375
-41.1 201308.688
-37.3 219909.109
-33.6 209581.188
-29.8 171905.469
-26.1 119971.742
-22.4 71685.445
-18.6 38779.398
-14.9 20554.045
-11.1 10713.763
-7.39 5092.355
-3.65 2304.784
0.0962 720.503
3.84 71.953
7.58 0
11.3 0
15.1 0
18.8 0
22.6 0
26.3 0
30 0
33.8 0
37.5 0
41.3 0
45 0
48.8 0
52.5 0
56.2 0
60 0
63.7 0
67.5 0
71.2 0
74.9 0
78.7 0
82.4 0
86.2 0
89.9 0
93.7 0
97.4 0
101 0
105 0
109 0
112 0
116 0
120 0
124 0
127 0
131 0
135 0
139 0
142 0
146 0
150 0
______________________________________________
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.