cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lwx228
Level VIII

Does JMP calculate the "cumulative density function" of CDF?

I'm searching for this code for the documentation, but I don't know what it means.

 

Get expert help.Thanks!

 

Names Default To Here( 1 );
/* Generate random values, Normal(0,1) */
Y = J( 150, 1, Random Normal() );

/* CDF function */
{Quant, CumProb} = CDF( Y ); Wait(0);

/* Draw empirical and theorical CDF */
New Window( "Empirical CDF",
	Graph Box(
		X Scale( -3, 3 ),
		Y Scale( 0, 1 ),
		Pen Color( "red" );
		For( i = 2, i <= N Row( Quant ), i++,
			H Line( Quant[i - 1], Quant[i], CumProb[i] );
			V Line( Quant[i - 1], CumProb[i - 1], CumProb[i] );
		);
		i = N Row( Quant );
		V Line( Quant[i], CumProb[i], 1 );
		Pen Color( "blue" );
		Y Function( Normal Distribution( q ), q );
	)
);
2 REPLIES 2
lwx228
Level VIII

Re: Does JMP calculate the "cumulative density function" of CDF?

I don't know whether "cumulative distribution function" and "cumulative density function" are the same.

Re: Does JMP calculate the "cumulative density function" of CDF?

There is no cumulative density function. It is probably meant to have the meaning of cumulative distribution function.
Here is the topic help on the CDF() function:
https://www.jmp.com/support/help/en/15.0/#page/jmp/matrix-functions.shtml?os=win&source=application#...

Recommended Articles