Let's get practical (Stats, R and Study Design) Flashcards
Calculate the median for the following numbers:
23, 56, 87, 30, 28, 45, 66, 18, 49, 48
Step 1: Sorting
18, 23, 28, 30, 45, 48, 49, 56, 66, 87
Step 2: Calculating
(45 + 48) / 2 = 46,5
Calculate the median for the following numbers:
23, 56, 87, 30, 28, 45, 66, 18, 49, 48, 55
Step 1: Sorting
18, 23, 28, 30, 45, 48, 49, 55, 56, 66, 87
Step 2: Pick the middle (odd numbers)
48
Calculate the mean:
4, 2, 3, 1, 1, 5, 4, 4
( 4 + 2 + 3 + 1 + 1 + 5 + 4 + 4) / 8 = 3
Calculate the median for the folowing numbers:
4, 2, 3, 1, 1, 5, 4, 4
Step 1: Sorting
1, 1, 2, 3, 4, 4, 4, 5
Step 2: Calculating
(3 + 4) / 2 = 3,5
What is the mode from this numbers?
5,2,1,2,6
Mode = 2
What is the mode for the following data set?
5, 6, 7, 7, 9, 5, 7, 5, 10, 7, 12, 5
Mode1 = 5
Mode2 = 7
Calculation with R
You have the variable x and want to assign the integer “5” to it. How can we do that?
x <- 5
Calculation with R
You want to assign an vector with x=1, y=2 and z=3 in the variable myVector. How do that work?
myvector <- c(1,2,3)
Calculation with R
What is the output of the following function:
seq(1,5,1)
1 2 3 4 5
Calculation with R
What is the output of the following code:
variable <- c(10,10,11,12,13,14,15)
unique(variable)
unique() removes duplicates
10 11 12 13 14 15
Calculation with R
Write a function that only prints even numbers from this array:
variable <- c(1,2,3,4,5,6,7,8,9,10)
Calculation with R
What is the output from this function?
0, 10, 20, 30
Calculation with R
How does the ouput from the following function look like?
Calculation with R
What is the meaning of “criterion = 5” in this function:
It is the default parameter that will be set if no paramter is handed over.
Calculation with R
What is the output of this function:
1
Calculation with R
What is the ouput of this function:
5,5,5,5,5,5,5,5,5,5
Calculation with R
Add the code to built the following frame:
Calculation with R
Show the function to list all index1 items of this table:
myFrame$index1
Calculation with R
Write the R function to generate the following table:
Calculation with R
What is the function of the $-Operator?
Table:
access of data frame columns
List:
access alement of list
Below a example for the list operation
Calculation with R
Show the difference of this two operations:
Calculating with R
Which function must be applied on “x” to get this result:
-3 8 -9 2 -1
diff( x )
Calculating with R
Desribe the output of the following three functions:
c(3,10) seq(4,10) rep(5,10)
3 10 4 5 6 7 8 9 0 5 5 5 5 5 5 5 5 5 5
Calculating with R
write the function to get the following output:
You are working as a cashier at Cinemax. Chatting with your boss, they figured out that you are proficient in user studies on technology and asked you to help. They want to equip their cinemas with VR goggles for everyone. How do you evaluate if this is a good or a bad idea? Considering reasonable use, you have unlimited resources.
Task A: Craft a research question
Task B: Formulate at least one hypothesis
Task C: Sketch out a within-subjects experimental design. What are the dependent and independent variables? Describe experimental manipulations and metrics in detail.
Task D: Draw a potential plot of your expected results.
Task E: How do you know that your results are valid?
Task F: What are potential limitations of your experimental design? Name at least two.
A:Does the use of VR goggles have an effect on the user experience during a movie?
B:The utilization of VR goggles leads to an better user experience during a movie.
C:Within-Subject Design: We recruit 30 participants to watch a film with and without VR goggles. Each subject runs through each condition and we have to consider a appropriate randomization (order of film with and without VR goggles).
After watching a movie, the user has to fill the User Experience Questionnaire (UEQ) - every participant two times.
Independent Variables: VR goggles
Dependent Variable: Overall User Experience
D: see picture
E: 100% validity is never guaranteed, because we measure only a particular group. But we can use established questionnairs and verify if we measured what we want to measure.
F: The satisfaction provided by a film is subjective and in some cases age dependent.
We measure a particular, small group and therefore only a part of the society.
How can eye tracking be used to boost performance, for example in rendering a VR scenario?
You can only render the spot where the user is looking.
The rest of the presented environment does not need to be very detailed.
What are three types of eye-movement behavior that gaze interaction interfaces can rely on?
Fixation
Saccades
Smooth Pursuits