Desktop productivity for business analysts and programmers

Analyzing by categoric nature of the data, even though it varies slightly -- ANOVA

Reply
Occasional Contributor
Posts: 5

Analyzing by categoric nature of the data, even though it varies slightly -- ANOVA

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?

Super User
Posts: 11,552

Re: Analyzing by categoric nature of the data, even though it varies slightly -- ANOVA

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.

Occasional Contributor
Posts: 5

Re: Analyzing by categoric nature of the data, even though it varies slightly -- ANOVA

Thank you for the help.  I found the round function useful, even in EG.

 

Ask a Question
Discussion stats
  • 2 replies
  • 64 views
  • 0 likes
  • 2 in conversation