Kaiya Liu
2005-Jul-14 19:05 UTC
[R] test for difference in the order of self generated sequence
Hello, I have an experiment in which we ask subjects to generate a list of thoughts after being exposed to a stimuli. The thoughts were then coded into two categories (e.g. A & B). The objective is to show that the order in which thoughts are generated is affected by the experimental conditions. Can somebody tell me what functions in R can help me do the test or point me to the appropriate reference? Thanks! Example data: Subject 1 in condition 1 generated 5 thoughts. The first, second, and 5th thought is in category A, thought 3 and 4 are in category B. Subject 2 only generated 4 thoughts. -------Condition-------------A-----------------B-------- n1 1 1, 2, 5 3, 4 n2 2 3, 4 1, 2 ----------------------------------------------------------- Kaiya Liu
Spencer Graves
2005-Jul-15 03:18 UTC
[R] test for difference in the order of self generated sequence
Have you considered "glmmPQL" in library(MASS)? spencer graves Kaiya Liu wrote:> Hello, > > I have an experiment in which we ask subjects to generate a list of thoughts > after being exposed to a stimuli. The thoughts were then coded into two > categories (e.g. A & B). The objective is to show that the order in which > thoughts are generated is affected by the experimental conditions. Can > somebody tell me what functions in R can help me do the test or point me to > the appropriate reference? Thanks! > > Example data: Subject 1 in condition 1 generated 5 thoughts. The first, > second, and 5th thought is in category A, thought 3 and 4 are in category B. > Subject 2 only generated 4 thoughts. > > -------Condition-------------A-----------------B-------- > n1 1 1, 2, 5 3, 4 > n2 2 3, 4 1, 2 > ----------------------------------------------------------- > > Kaiya Liu > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html-- Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408-280-7915