search for: blockord

Displaying 2 results from an estimated 2 matches for "blockord".

Did you mean: blocked
2013 Feb 25
1
creating variable that codes for the match/mismatch between two other variables
...) { # if there is a match, mydat$match[i] = 1 if (mydat$Stimulus[i] == mydat$Prediction[i]) { mydat$match = 1 # the next to conditions refer to blocks without prediction recording. Therefore, the corresponding trials are coded with mydat$match[i] = 7. } else if (mydat$BlockOrder[i] == 1 & mydat$Block_nr[i] == 1) { mydat$match = 7 } else if (mydat$BlockOrder[i] == 2 & mydat$Block_nr[i] == 4) { mydat$match == 7 } } # The corresponding dataframe structure: str(mydat) 'data.frame': 9302 obs. of 18 variables...
2009 Apr 01
1
Help with mixed-effects model with temporal pseudoreplication!
...mes. The design of the experiment is as follows... Responses: CompletionTIme VisitedTargets Fixed-factors: Targets (4-levels): 4, 9, 14, 19 Entropy (3-levels): Low, Medium, High Random-factors: Participants: 31 total participants Replicates: 5 (this could also be viewed as a time factor I think) BlockOrder: 1 though 60 (the order of the trials was random for each participant, but I am not so concerned about this right now) The fixed part of the model seems pretty intuitive: fixed=log(CompletionTime)~(Targets*Entropy) The random part of the model is where I get stuck on, I've tried many combin...