Skip to content
Back to formatted view

Raw Message

Message-ID: <b83d3e790803132048w69ed8756j8520ab156de2d843@mail.gmail.com>
Date: 2008-03-14T03:48:07Z
From: Hung-Hsuan Chen (Sean)
Subject: How to plot raw data and fit curve on the same figure and how to decide how good the fitting is?

Dear R users,
I have two group of data (say X1 and X2) that (may) fit bivariate
normal distribution.
I used mvnxxx (a function in mclust library) to fit the data to a
bivariate normal
distribution.

Now I want to plot the data (each (X1, y1) represents a point on the
xy plane) and
the estimated bivariate normal distribution curve on the same figure to see how
good the fit line is. How can I plot them on the same figure?

Besides plot them on the same figure, is there any more "systematic"
way to check
how good the fitness is?

Thanks a lot in advance.