121 reputation
2
bio website
location
age
visits member for 1 year, 7 months
seen Mar 24 at 15:41

Dec
31
comment Using DistributionFitTest on custom distributions in Mathematica 8
What I'm after in this instance is the "plug-n-play"-ness of being able to drop a set of data into DistributionFitTest against a model distribution with variable parameters. If the distribution I was trying to fit was more complicated, I might give up, but it's just the sum of two gaussians. It seems this should be very straightforward, and I'd happily specify all behaviors by hand in order to get DistributionFitTest to work in this fashion, as it does with the "native" Mathematica distributions. However, I don't know what is needed in this regard.
Dec
31
comment Using DistributionFitTest on custom distributions in Mathematica 8
This generates a specific instance of modelDist, but it doesn't find the parameters fS,\[Mu]S, etc., that best fit a data sample. This is possible using htd=DistributionFitTest[RandomVariate[dist,100],NormalDistribution[\[Mu],\[Sigm‌​a]], "HypothesisTestData", even if the uni-modal fit doesn't match the bimodal distribution. htd will contain best fit values for \[Sigma] and \[Mu]. However, I can't figure out how to plug modelDist directly into DistributionFitTest so that I can get estimates and confidence intervals for fS,\[Mu]S,\[Sigma]S,\[Mu]L, and \[Sigma]L.
Dec
31
awarded  Student
Dec
30
asked Using DistributionFitTest on custom distributions in Mathematica 8
Dec
29
awarded  Supporter