Before-and-after surveys for a nursing thesis - what can you calculate if responses cannot be linked?

After a class on patient education, you have two survey files for your nursing thesis. One is from before the class and the other from afterwards.

Published: Updated: About 7 minutes to read
A student in navy scrubs compares two paper questionnaires.
Comparing survey forms in a training room.

After a class on patient education, you have two survey files for your nursing thesis. One is from before the class and the other from afterwards. If you have no way to link both answers from the same person, calculate the results for each time point separately. You can describe the difference between percentages, but the files cannot tell you whose answer changed. Start by checking who could complete each survey and whether the same code appears in both files.

First step. Open the two original files and the survey forms. Check that the question, answer options and scoring key are the same. In a working summary, note how many participants answered at each time point and what makes it possible or impossible to link their answers.

Check what you can link

  • You have two records for the same person. If a code was built into the study, check that it appears only once at each time point and refers to the same person. A pair consists of two results assigned to one participant. With those data, you can see how that person’s answer changed.
  • Only some records form verified pairs. Keep verified pairs separate from records from only one time point and records with ambiguous codes. A participant known to have missed the second measurement is different from two forms you cannot match with confidence.
  • The forms have no shared code. Row number, submission order and similar scores are insufficient for linking records. Equal numbers do not guarantee that the same people responded. When both surveys drew from the same group, some people may appear in both. Missing codes alone do not justify a test designed for independent groups.

Teaching materials from Kielce University of Technology use a before-and-after measurement as an example of paired data when each person has two recorded values. In a school study, Agley and colleagues tested a way to match responses that had been planned before data collection. Even there, some forms could not be linked with confidence. You cannot apply those rules retrospectively if the information they rely on was never collected.

Calculate the percentages at both time points

In a fictional nursing thesis study, 40 students took part in a workshop on talking with a simulated patient. Before and immediately after the class, students received the same short question. They had to select the wording that asks a patient to explain an instruction in their own words. There were three options. “Is everything clear?”, “Do you have the instructions?” and “Could you tell me in your own words how you understand these instructions?” The last answer was correct at both time points. The class and results are fictional. In a Polish pilot study on communication with simulated patients, Bodys-Cupak and colleagues used questionnaires for the teacher, simulated patient and student, alongside checklists for the procedures performed. Our example counts answers to one question and does not assess performance in the conversation.

All 40 participants answered before the class. Afterwards, only people from that workshop could complete the form, but 30 answered. A person could submit one form at each time point. Every submitted form included a valid answer to the question. No common code was recorded, so it is impossible to identify which 30 people answered after the class.

Count correct answers and calculate the percentages

  • Before the class. Twenty-four out of 40 people chose the correct answer (60%). The other 16 answers were incorrect.
  • After the class. Twenty-four out of 30 people chose the correct answer (80%). The other six answers were incorrect.
  • Difference between the results. 80% minus 60% equals 20 percentage points. Both surveys had 24 correct answers. The number of people used to calculate the percentage changed in the second survey.

See what the same totals can conceal

  • Nobody who answered after the class changed their answer. All 24 students who had answered correctly could have responded again, along with six of the 16 who had answered incorrectly. Each person gave the same answer as before.
  • Six students switched from an incorrect answer to the correct one. Eighteen students who had answered correctly could have responded again, along with 12 who had answered incorrectly. All 18 who had answered correctly did so again. Of the other 12, six chose the correct answer and six repeated their mistake. The result after the class was still 24 out of 30.

Both scenarios fit the same files. Without pairs, you cannot tell which occurred or whether some people switched to an incorrect answer. The difference in percentages may depend on who responded the second time. Even with complete pairs, before-and-after measurement alone does not establish that the class caused the change. That requires an appropriate study design.

Separate methods, results and limitations

Methods. The same question was asked before the workshop and immediately afterwards. The percentage of correct answers was calculated separately among those who responded at each time point. The forms had no code for linking responses from the same person.

Results. Before the workshop, 24 of 40 respondents chose the correct answer (60%). Afterwards, 24 of 30 respondents did so (80%). The percentage was 20 percentage points higher in the second set of responses.

Limitation. The result describes two sets of forms because individual responses could not be linked. The number of people who changed their answer could not be determined. Any change in individual answers could not be separated from a change in who responded.

If you find some verified pairs, report the number of pairs and the number of forms outside them at each time point. You can then describe change among people with two verified answers. Their results may differ from those of the full group. An analysis that combines paired and unpaired records requires a method suited to that structure. Derrick and colleagues investigated this problem for comparisons of two proportions.

Check that the chart caption gives 40 responses before the class and 30 after it. If the study plan called for measuring individual change, explain why, in this case, you can only report descriptive counts and percentages separately for each time point and discuss this with your supervisor. For the broader process, see Nursing master's thesis: from research questions to discussion.

Questions about comparing measurements and testing a hypothesis

How to compare results before and after health education in a nursing thesis?

First, you must establish whether both measurements concern the same individuals and whether their responses can be correctly linked. Such data require analysis for dependent measures. For appropriate quantitative data, you can consider the paired t-test or the Wilcoxon signed-rank test; the choice depends on the type of data and the assumptions of the analysis. I will prepare the summaries and description of change, taking into account missing measurements. Comparing before and after results, without an appropriate research design, does not determine that the change was caused solely by the education.

What to do if the hypothesis could not be tested?

Write what prevented its evaluation: lack of necessary measurement, incomplete data, or other limitations. Distinguish the inability to evaluate from a result that does not support the hypothesis. Agree on the next steps with the supervisor, without adding answers or changing the data.

Sources

  • Nowakowska, M. (n.d.). Testy istotności różnic między parametrami cechy dla dwóch populacji. Politechnika Świętokrzyska. Section on two paired samples.
  • Agley, J., Tidd, D., Jun, M., Eldridge, L., Xiao, Y., Sussman, S., Jayawardene, W., Agley, D., Gassman, R., & Dickinson, S. L. (2021). Developing and validating a novel anonymous method for matching longitudinal school-based data. Educational and Psychological Measurement, 81(1), 90-109. DOI 10.1177/0013164420938457.
  • Bodys-Cupak, I., Łatka, J., Ziarko, E., Majda, A., & Zalewska-Puchała, J. (2020). Medical simulation with simulated patients in the education of Polish nursing students – pilot study. Pielęgniarstwo Polskie, 77(3), 166-173. DOI 10.20883/pielpol.2020.19.
  • Derrick, B., Dobson-McKittrick, A., Toher, D., & White, P. (2015). Test statistics for comparing two proportions with partially overlapping samples. Journal of Applied Quantitative Methods, 10(3), 1-14.

Discuss the two sets of survey responses

Gather both forms, your research question and the counts. If you are permitted to share the material for consultation, include an anonymised extract. We can agree which comparisons and statements the collected data support.

Statistical analysis for bachelor’s and master’s thesesAnalysis and presentation of research results for your thesis
Tell us what responses you have

Related articles

How to design a research questionnaire without confusion or random questions

A research questionnaire should not be a collection of random questions. A good research instrument must follow from the thesis aim, research questions, hypotheses and variables. Learn how to prepare a questionnaire step by step so that it is easier to report the results in your research chapter later. See four survey introduction examples with participant instructions and checks of the form settings. For each question, note provisionally how you will present the answers. For single-choice questions, this may be the number of people and the percentage; for multiple-choice questions, the number of selections for each option; and for open questions, thematic categories along with a description of how they were created. Practise this on a small set of fictitious answers, clearly marked as a test. If a question about difficulties allows selecting several options, the sum of percentages of people may exceed 100%. If a question applies only to participants of consultations, percentages must be calculated for that group, not for everyone who fills in the questionnaire. Also record how missing data will be handled. No answer to the question “How many times did you use consultations?” does not mean zero consultations. Meanwhile, “I do not remember” is a provided answer with a different meaning than an empty field. If you plan to compare groups, ensure that you have a variable allowing you to identify them. If you want to calculate a composite score from several items, establish the justification for such a combination and the scoring rules in advance. Do not sum random questions just because each has answers marked with numbers from 1 to 5. We described the next stage in the guide on processing research results, percentages and comments on the questionnaire. It is worth looking at it before the study to check whether the designed questions will provide the data needed in the empirical chapter. Are you planning group comparisons or tests of associations and unsure what data you will need? Before distributing the questionnaire, you can discuss with me selecting statistical analyses for research questions. I will help determine whether the answers will allow...

Read article

How to quote an interview in your master's thesis and protect the participant

You have a passage from an interview for your findings chapter, but a name, place or distinctive detail could give away who said it. You have a passage from an interview for your findings chapter, but a name, place or distinctive detail could give away who said it. First, write down what the passage shows. Then mark every detail that could identify the person. Quote a shorter passage word for word if you can use it within the terms of your study without revealing the participant's identity. If someone could still recognise them, consider a paraphrase. Leave the passage out if that would still identify them. A full name identifies someone directly. A combination of ordinary details can do the same, such as the name of a small organisation, someone's role and the date of an event. Think about what colleagues and other participants already know. Check the details about people mentioned by the interviewee, too. Warsaw University of Technology distinguishes between confidentiality and anonymity. You can know who a participant is and restrict access to information about them. If you keep a key linking the code W04 to their name, replacing the name with the code is called pseudonymisation. Adam Mickiewicz University's guide points out that a combination of details can identify someone even without that key. You still need to assess the passage itself. In this fictional sociology thesis, your research asks what makes it hard for volunteers to take regular shifts. The conversation, details and location below are invented. Interviewer: What changed after your first few shifts? Participant: I'm Nina Brzeskot, the only person who ran the late-night bicycle workshop on 17 May at the Splot Community Centre in Miedzina. I took shifts at first. Then I stopped because the rota came out too late for me to arrange childcare. I didn't ask anyone to change the date. The sequence matters. The participant had been taking shifts, then found it hard to arrange childcare because the rota came out late. Her name identifies her directly. The venue, date and role together could identify her even after you...

Read article