//! /* This script requires JMP® to run. Download a 30-day free trial from jmp.com/trial */ Names Default To Here( 1 ); dt = Open( "$SAMPLE_DATA/Body Fat.jmp" ); Partial Least Squares( Y( :Percent body fat ), X( 2 :: 14 ), Validation Method( Name( "Leave-One-Out" ), Initial Number of Factors( 13 ) ) );