Open bastianilso opened 4 years ago
@hendrikknoche what was the formula for calculating the ID for the tunnel test?
Ok, when I changed the formula on the code, I've got negative values, is that possible? @hendrikknoche
yes, that is the correct equation for the ID. negative values are possible for 'incorrect' input. It's not possible to have distances that are equal to or smaller than half the width (in those case you would not have to move anywhere since you're already inside the target). when D<=1/2W the logarithm returns 0 or smaller.
In the R Shiny application we can calculate Index of Difficulty using this formula:
However, this works only for the Fitts Law test. For the Goal test, we should replace W (target width) with H (target height). This is column does not exist yet for each test result, so will need to be logged into the DB.