You can use a Where clause to filter by a specific value or column. If you are adding a Where clause to a script that contains column references, you must first resolve the references. For example, the following lines use the Name Expr() function on the Ycol and Xcol references and add a Where clause to limit the analysis to females:
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Ycol = Column( "weight" );
Xcol = Column( "height" );
biv2 = dt << Bivariate(
Y( Name Expr( Ycol ) ),
X( Name Expr( Xcol ) ),
Fit Line( ),
Where( :sex == "F" )
);