jmp-l
[Top] [All Lists]

Re: How to plot a normal curve by "Normal Density" function in JSL?

To: jmp-l@lists.biostat.wustl.edu
Subject: Re: How to plot a normal curve by "Normal Density" function in JSL?
From: Fred Zhang <ieaggie2009@gmail.com>
Date: Wed, 11 Feb 2009 10:32:05 -0500
Cc: Stephen.Magie@netapp.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=bBIJmg0z0ab918KKKkHh2obbylLORV4bMhsXaYrHcHw=; b=umI5CpL9Ko34rOGpMYG/2PIkNuQ3+r2b3LSmLx5BPqJDEqxfaYbDPe82FAUmQAGOD9 mmNuCt3ZlqwLUx4frdL4/PVN0fHcnbmCcEpkFQuXmbzPaZmXtMCn5krQcyrwGV9htBgS oUOhXexSZxh3sRFXByFnFrwHsD0I8GRyovikc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OKZz+1s52cFRViifxFmz0aAQdwjAkx6AxYLqm56eWZSaTfxeG/LjxzNUUiqSbB8oau fC2w9BXLoVg0VGfaAlHvZpg0dIkziKaKkrI8cw05YV4ptkNW2hpv4fUJKZcEG+JHxJnS ++JAov/S0b2+wlmp+AkSHtHWMYmEtNS+k5vFA=
In-reply-to: <2E1EB2CF9ED1CB4AA966F0EB76EAB4430225BD81@SACMVEXC2-PRD.hq.netapp.com>
References: <25e89e790902101209m4730bcads567a93c4a5446f4d@mail.gmail.com> <2E1EB2CF9ED1CB4AA966F0EB76EAB4430225BD81@SACMVEXC2-PRD.hq.netapp.com>
Thank you very much, Stephen
 
Now got it.
 
Fred

On Tue, Feb 10, 2009 at 3:51 PM, Magie, Stephen <Stephen.Magie@netapp.com> wrote:

Fred,

 

Go to:  Help/Indexes/JSL Operators/Normal Density

 

That will show you the following example:

 

New Window( "Example: Normal Density",

      y =

      Graph Box(

            Y Scale( 0, 0.45 ),

            X Scale( -4, 4 ),

            XName( "q" ),

            Pen Color( "red" );

            Y Function(

                  Normal Density( q ),

                  q

            );

      )

);

 

Running the example will show you the "standard" normal density function (standard è mean=0; standard deviation=1).  To generate the normal density curve for a given mean "m" and standard deviation "sd" use:

 

(Normal Density((q-m)/sd)

 

For example, given m=100 and sd=5 the above example will be:

 

New Window( "Example: Normal Density",

      y =

      Graph Box(

            Y Scale( 0, 0.45 ),

            X Scale( 80, 120 ),

            XName( "q" ),

            Pen Color( "red" );

            Y Function(

                  Normal Density( (q-100)/5 ),

                  q

            );

      )

);

 

Note the necessity of adjusting the x-axis scale with: X Scale(80,120).

 

Also, the Normal Density function is discussed in Appendix C (Formula Functions Reference) of the Users Guide under the section Probability Fuctions/Normal Density.

 

Regards,

Steve Magie

 

 

From: Fred Zhang [mailto:ieaggie2009@gmail.com]
Sent: Tuesday, February 10, 2009 12:10 PM
To: jmp-l@lists.biostat.wustl.edu
Subject: [jmp-l] How to plot a normal curve by "Normal Density" function in JSL?

 

Hi, I want to plot a nornal curve given a set of data by also pre-define the sigma and mean values.

How to use the function "Normal Density()"?
What's the arguments?

I could not find the details in JMP Help, which seems sucks in looking
some JSL functions.

Anyone can help me out?

Fred


<Prev in Thread] Current Thread [Next in Thread>