search for: postsurveydata

Displaying 1 result from an estimated 1 matches for "postsurveydata".

2009 Jun 22
2
Automatically Adding Categories
...ree possible responses to each question: D, F, T (for Don't Know, False, and True). I would like to try McNemar's test to determine if there was any significant difference between before and after. I read the files. I create tables using: firstQuestion <- table( PreSurveyData$q1, PostSurveyData$q2) for example. The problem is that for several of the questions not all of the possible responses appear. So I get a table like this: T D 6 F 2 T 12 Which cannot be used in mcnemar.test because it is not a square table and does not have enough rows and columns. Is there some way to spe...