From: rebecca s. <rss...@ya...> - 2002-11-01 19:28:17
|
Topic: Reversal Indicator What: A way to identify questions which need to have their answers reversed before scoring the item. Where: Add 1 column to phpesp.question table. Column name would be 'reversal' Value: Reversal could have a value of blank(null) or 'R'; defaults to blank (null). Why: Makes it much, much easier to automate scoring on likert scale items and ensure they are accurate. Example: Do you like Chocolate Survey 1 = Strongly Agree, 2 = Agree, 3 = Neutral, 4 = Disagree, 5 = Strongly Disagree Questions: Landru answers: Q1. I like chocolate : 1 (strongly agree) Q2. I do not like chocolate : 5 (strongly disagree) Currently the average score is 3 (neutral) (1 + 5 = 6 / 2 questions = average score of 3). The score should be: 1 + (question 2 answer treated as a reversal = 6 - answer) 1 = average score of 1 (strongly agree) (1 + (6 - 1) = 2 / 2 questions = average score of 1). Modules impacted: include>tab>questions.inc include>functions>survey_export_csv.inc Table impacted: phpESP.question Any comments? Feels like I've missed another screen (module) that should be updated. Bekasu __________________________________________________ Do you Yahoo!? HotJobs - Search new jobs daily now http://hotjobs.yahoo.com/ |
From: Matthew G. <gr...@mu...> - 2002-11-02 15:47:29
|
Do you think a new question type is really needed to accomplish this? Perhaps just a way to label a question as a "reversal" of another, would suffice. I pretty sure you'll need to update more than just questions.inc and survey_export_csv.inc to support a new question type. On Fri, Nov 01, 2002 at 11:28:13AM -0800, rebecca swartz wrote: > Topic: > Reversal Indicator > > What: > A way to identify questions which need to have their > answers reversed before scoring the item. > > Where: > Add 1 column to phpesp.question table. Column name > would be 'reversal' > > Value: > Reversal could have a value of blank(null) or 'R'; > defaults to blank (null). > > Why: > Makes it much, much easier to automate scoring on > likert scale items and ensure they are accurate. > > Example: > Do you like Chocolate Survey > 1 = Strongly Agree, 2 = Agree, 3 = Neutral, 4 = > Disagree, 5 = Strongly Disagree > > Questions: > Landru answers: > Q1. I like chocolate : 1 (strongly agree) > Q2. I do not like chocolate : 5 (strongly disagree) > > Currently the average score is 3 (neutral) (1 + 5 = 6 > / 2 questions = average score of 3). > > The score should be: 1 + (question 2 answer treated as > a reversal = 6 - answer) 1 = average score of 1 > (strongly agree) (1 + (6 - 1) = 2 / 2 questions = > average score of 1). > > Modules impacted: > include>tab>questions.inc > include>functions>survey_export_csv.inc > > Table impacted: > phpESP.question > > Any comments? Feels like I've missed another screen > (module) that should be updated. > > Bekasu > > > > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ > > > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel > -- one of the friendly folks in the IT Lab. --------------------------------------\ The IT Lab (http://www.itlab.musc.edu) \____________________ Probably the world's premier software development center. Serving: Programming, Tools, Ice Cream, Seminars |
From: James E. F. <jf...@ac...> - 2003-03-16 19:55:05
|
I've taken the most recent patch from Rebecca and updated it so it applies to cvs HEAD. It is available in the contrib/ directory on the web site as 'rebecca-reversal'. http://phpesp.sf.net/files/contrib/ -James On Fri, 1 Nov 2002, rebecca swartz wrote: > Topic: > Reversal Indicator > > What: > A way to identify questions which need to have their > answers reversed before scoring the item. > > Where: > Add 1 column to phpesp.question table. Column name > would be 'reversal' > > Value: > Reversal could have a value of blank(null) or 'R'; > defaults to blank (null). > > Why: > Makes it much, much easier to automate scoring on > likert scale items and ensure they are accurate. > > Example: > Do you like Chocolate Survey > 1 = Strongly Agree, 2 = Agree, 3 = Neutral, 4 = > Disagree, 5 = Strongly Disagree > > Questions: > Landru answers: > Q1. I like chocolate : 1 (strongly agree) > Q2. I do not like chocolate : 5 (strongly disagree) > > Currently the average score is 3 (neutral) (1 + 5 = 6 > / 2 questions = average score of 3). > > The score should be: 1 + (question 2 answer treated as > a reversal = 6 - answer) 1 = average score of 1 > (strongly agree) (1 + (6 - 1) = 2 / 2 questions = > average score of 1). > > Modules impacted: > include>tab>questions.inc > include>functions>survey_export_csv.inc > > Table impacted: > phpESP.question > > Any comments? Feels like I've missed another screen > (module) that should be updated. > > Bekasu > > > > > __________________________________________________ > Do you Yahoo!? > HotJobs - Search new jobs daily now > http://hotjobs.yahoo.com/ > > > ------------------------------------------------------- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > _______________________________________________ > phpESP-devel mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-devel > |