Variable selection based on principal basis analysis