cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

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

Is there a way to perform Cramer von test in JMP?

Hello,

Is there a way to perform Cramer von test within JMP? Has anyone tried this?

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Is there a way to perform Cramer von test in JMP?

I am not aware of a Cramer von test in JMP, however it is a simple matter to run it in Python using the JMP/Python interface

names default to here(1);
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/big class.jmp" );

data = (dt:height << get values);
python send(data);

python submit("
print( data )
");

python submit("
from scipy.stats import cramervonmises

# Example data
import numpy as np
np.random.seed(0)
# data = np.random.normal(loc=0, scale=1, size=100)

# Test against normal distribution
result = cramervonmises(data, 'norm')

print(result)
");

 The above works for JMP 18 with it's integrated Python

To run this in versions earlier only a slight modification is required

names default to here(1);
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );

python init();

data = (dt:height << get values)`;
python send(data);

python submit("
print( data )
");

python submit("
from scipy.stats import cramervonmises

# Example data
import numpy as np
np.random.seed(0)
# data = np.random.normal(loc=0, scale=1, size=100)

# Test against normal distribution
result = cramervonmises(data, 'norm')

print(result)
");
Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Is there a way to perform Cramer von test in JMP?

I am not aware of a Cramer von test in JMP, however it is a simple matter to run it in Python using the JMP/Python interface

names default to here(1);
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/big class.jmp" );

data = (dt:height << get values);
python send(data);

python submit("
print( data )
");

python submit("
from scipy.stats import cramervonmises

# Example data
import numpy as np
np.random.seed(0)
# data = np.random.normal(loc=0, scale=1, size=100)

# Test against normal distribution
result = cramervonmises(data, 'norm')

print(result)
");

 The above works for JMP 18 with it's integrated Python

To run this in versions earlier only a slight modification is required

names default to here(1);
dt =
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
dt = Open( "$SAMPLE_DATA/big class.jmp" );

python init();

data = (dt:height << get values)`;
python send(data);

python submit("
print( data )
");

python submit("
from scipy.stats import cramervonmises

# Example data
import numpy as np
np.random.seed(0)
# data = np.random.normal(loc=0, scale=1, size=100)

# Test against normal distribution
result = cramervonmises(data, 'norm')

print(result)
");
Jim

Recommended Articles