I am trying to create a report to show a frequency table
of survey data.
The data are from 16 survey questions which are answered
on a 5-point Likert scale (e.g., 1 = Strongly Agree, 2 =
Agree . . . 5 = Strongly Disagree).
The data entry form uses option groups (i.e., check boxes) for each survey question, so the user checks the box (e.g., Strongly Agree, Agree, etc.) that corresponds to the answer on the actual survey. The answer for each survey item is stored as a number in the table. So the table of data looks like this:
subjectid Q1 Q2 Q3 . . . Q16
---------------------------------
10962 1 3 2 2
10545 2 2 1 4
15463 2 3 1 5
. . . where 1 = Strongly Agree, 2 = Agree, etc.
I'd like to create a report that aggregates the survey answers into a frequency table. For instance, for each survey question, I would like to show:
a) the number (i.e., count) of people who answered
Strongly Agree, the number of people who answered Agree, etc.
b) the total number of people who answered the question
c) the average/mean answer (e.g., an average answer of
1.5 would show that, on average, people Strongly Agreed
to Agreed with the statement)
The table/report might look like:
SA AG DG SD
Item 1 2 3 4 5 Totals Mean
---------------------------------------------------
Clean 5 3 1 2 0 11 ?
Nice 4 2 5 0 1 12 ?
Tasty 3 1 2 4 2 12 ?
.. . .
---------------------------------------------------
The above table shows that 5 people responded Strongly Agree to "Clean," 3 people said "Agree," and so forth. A total of 11 people answered the "Clean" question.
It would be even better if the table could also show
percents, as in:
SD AG DG SG
Item 1 2 3 4 5 Totals Mean
----------------------------------------------------
Clean 5 3 1 2 0 11 ?
45% 27% 9% 18% 0% 100%
Nice 4 2 5 0 1 12 ?
33% 17% 42% 0% 8% 100%
Tasty 3 1 2 4 2 12 ?
25% 8% 17% 33% 17% 100%
.. . .
----------------------------------------------------
The data is in the table, but I can't figure out how to
write the query and report so that the data is caculated
and presented to create a frequency table like the one
above. Any ideas on how to proceed? I don't think a crosstab query would work, because there isn't a field called "Survey Question" which lists all of the questions (which would constitute the X axis). Perhaps I should restructure the table and form? Any ideas?
Thank you.
Kurt
of survey data.
The data are from 16 survey questions which are answered
on a 5-point Likert scale (e.g., 1 = Strongly Agree, 2 =
Agree . . . 5 = Strongly Disagree).
The data entry form uses option groups (i.e., check boxes) for each survey question, so the user checks the box (e.g., Strongly Agree, Agree, etc.) that corresponds to the answer on the actual survey. The answer for each survey item is stored as a number in the table. So the table of data looks like this:
subjectid Q1 Q2 Q3 . . . Q16
---------------------------------
10962 1 3 2 2
10545 2 2 1 4
15463 2 3 1 5
. . . where 1 = Strongly Agree, 2 = Agree, etc.
I'd like to create a report that aggregates the survey answers into a frequency table. For instance, for each survey question, I would like to show:
a) the number (i.e., count) of people who answered
Strongly Agree, the number of people who answered Agree, etc.
b) the total number of people who answered the question
c) the average/mean answer (e.g., an average answer of
1.5 would show that, on average, people Strongly Agreed
to Agreed with the statement)
The table/report might look like:
SA AG DG SD
Item 1 2 3 4 5 Totals Mean
---------------------------------------------------
Clean 5 3 1 2 0 11 ?
Nice 4 2 5 0 1 12 ?
Tasty 3 1 2 4 2 12 ?
.. . .
---------------------------------------------------
The above table shows that 5 people responded Strongly Agree to "Clean," 3 people said "Agree," and so forth. A total of 11 people answered the "Clean" question.
It would be even better if the table could also show
percents, as in:
SD AG DG SG
Item 1 2 3 4 5 Totals Mean
----------------------------------------------------
Clean 5 3 1 2 0 11 ?
45% 27% 9% 18% 0% 100%
Nice 4 2 5 0 1 12 ?
33% 17% 42% 0% 8% 100%
Tasty 3 1 2 4 2 12 ?
25% 8% 17% 33% 17% 100%
.. . .
----------------------------------------------------
The data is in the table, but I can't figure out how to
write the query and report so that the data is caculated
and presented to create a frequency table like the one
above. Any ideas on how to proceed? I don't think a crosstab query would work, because there isn't a field called "Survey Question" which lists all of the questions (which would constitute the X axis). Perhaps I should restructure the table and form? Any ideas?
Thank you.
Kurt