cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
Mickyboy
Level V

n rows doesn't mean n

Hi All,

 

I got some descriptive's from JMP, included in the output was: N Rows, l thought that is handy l would need that later on, unfortunately this is a count of the actually rows and not n, as l have some missing data, is there a simple line of code in JMP that l can get the actual n and not count the missing data, similar to na.rm = TRUE, by groups, the code i used is as follows:

dt3 << Summary(
	Group( :Scale Area, :Process Step, :Subtype, Quality Attribute ),
	Mean( :Data ),
	Std Dev( :Data ),
	Std Err(:Data),
	Freq( "None" ),
	Weight( "None" ),
	Output Table( "Descriptives" ),
	Link to original data table(0)
);


dt4 = Data Table( "Descriptives" ) << Split(
			Split By( :Scale Area ),
			Split( :"Mean(Data)"n, :"Std Dev(Data)"n, :N Rows, :"Std Err(Data)"n  ),
			Group( :Process Step, :Subtype, :Quality Attribute ),
			Remaining Columns( Drop All ),
			Output Table( "Mean Ratio"),
			Sort by Column Property
		); 

Any suggestion would be appreciated.

 

Thanks,

Mick.        

2 ACCEPTED SOLUTIONS

Accepted Solutions
jthi
Super User

Re: n rows doesn't mean n

Have you tried checking out the different options Summary platforms offers you? Using JMP > Summarize Your Data > Explanation of Summary Statistics 

jthi_3-1670238980206.png

 

jthi_2-1670238974283.png

jthi_4-1670238995467.png

-Jarmo

View solution in original post

Mickyboy
Level V

Re: n rows doesn't mean n

Sorry jthi,

it was late and l was tired and frustrated, l was actually looking for "N(data)"n, that does the job nicely, thanks very much for your reply.

 

Regards,

Mick 

View solution in original post

2 REPLIES 2
jthi
Super User

Re: n rows doesn't mean n

Have you tried checking out the different options Summary platforms offers you? Using JMP > Summarize Your Data > Explanation of Summary Statistics 

jthi_3-1670238980206.png

 

jthi_2-1670238974283.png

jthi_4-1670238995467.png

-Jarmo
Mickyboy
Level V

Re: n rows doesn't mean n

Sorry jthi,

it was late and l was tired and frustrated, l was actually looking for "N(data)"n, that does the job nicely, thanks very much for your reply.

 

Regards,

Mick