08-21-2017 11:11 AM
I have 15,000 rows of data on a test vehicle. The vehicle was driven by a robot on a test dynamometer at seven test speed setpoints. However, the actual speed was recorded in the data, as opposed to the setpoints. So, the data does not uniformly state 0, 15, 20, ... , 75 mph. Instead, the data column reads 14.8, 14.9, 15,0, 15.1, 15.0, ... , 14.8 as the vehicle control system keeps the speed near each of the setpoints. Small variability here is not important to the physical test of the vehicle.
I can filter the data to include only rows where speed lies between a series of speed ranges. However, for each speed range, I'd like to assign or create a variable that reports the setpoint for that range. From that setpoint, being categoric, I could perform ANOVA and obtain the desired measurements from the vehicle for each speed setpoint.
In Enterprise Guide 7.13, is there a way to create a new column having inferred or deduced from the recorded speed what the setpoint was?
08-21-2017 11:19 AM
It looks like you could do one of two things.
1) Add a variable that is the result of this calculation:
newspeed = round(speed, 5);
which would round to the nearest multiple of 5
2) create a custom format and assign the format in the procedure and not add a new variable.