A CSV can import perfectly and still give you the wrong analysis. A department code of 3 can be read as a number, but department 3 is not “more department” than department 1. A high numerical response can also mean low satisfaction if the question is worded in the opposite direction. Those are coding and measurement decisions, not display problems.
Read the questionnaire and make a small data dictionary before opening the model canvas. The QuickPLS data-preparation guide explains why identifiers, category labels and measured variables need separate treatment.
Write down what each column means
Imagine you are checking a service-centre survey. Two questions are intended to measure satisfaction in the same direction, where a higher score should mean a more favourable experience. One item is positively worded and the other is negatively worded. These are invented practice rows; they illustrate coding and are far too few to fit a meaningful research model.
| Column | Meaning and valid values | Role in the checked file |
|---|---|---|
respondent_id |
A text label such as S001, one per respondent in this file. | Case identifier, never an indicator. |
department |
1 = Billing, 2 = Support, 3 = Returns. | Group label, only if the research design uses groups. |
satisfaction_good |
“I was satisfied with the service.” Agreement from 1 to 5. | Positively keyed item. |
satisfaction_bad |
“I was disappointed with the service.” Agreement from 1 to 5; 99 = unanswered in the source export. | Original item. Preserve it when preparing a reverse score. |
revisit |
0 = did not revisit, 1 = revisited during the stated follow-up. | A recorded binary outcome for a suitable question; zero is a real response. |
The role column matters even for values that look numeric. Treating department codes as a continuous predictor would imply equal steps from Billing to Support and from Support to Returns, which the codes do not mean. If you use departments for a group comparison, record which code names each group. A sample weight is another separate role: only use a documented weighting variable with a method that supports it. Nothing in these practice rows is a weight.
Reverse the item according to the scale instructions
For this example, the exercise instructions say the disappointment item needs to be scored in the same direction as satisfaction. On a scale running from 1 to 5, reverse a valid response using new score = 6 − original score. The endpoints exchange places, 2 and 4 exchange places, and the midpoint of 3 stays put.
First apply the codebook's missing-answer rule. The code 99 is not a response of 99, and subtracting it from 6 would create −93. Put the new values in a separately named column such as satisfaction_bad_reversed. Save a new CSV with the original values still available rather than overwriting the only copy.
| Respondent | Department | Satisfied | Disappointed, original | Disappointed, reversed | Revisited |
|---|---|---|---|---|---|
| S001 | 1 | 5 | 1 | 5 | 1 |
| S002 | 2 | 2 | 4 | 2 | 0 |
| S003 | 3 | 4 | 2 | 4 | 1 |
| S004 | 2 | 3 | 99 (unanswered) | Blank | 0 |
| S005 | 1 | 1 | 5 | 1 | 0 |
Check the endpoints, at least one intermediate value and a missing response before preparing the rest of the data. S005 gave the lowest positive item score and the highest disappointment score; a correctly reversed disappointment value of 1 supports the same direction. That low score is plausible and must not be edited just because it is extreme. By comparison, a source score of 7 falls outside the 1–5 scale. Investigate the original response record before deciding what it means. If you cannot confirm the correct value, follow the documented study policy; do not substitute a number that makes the results look better.
Make a small, inspectable change record
For each preparation change, note the source file, field, rule, affected rows or counts, and the source for that rule. Here a compact entry could be: “Created satisfaction_bad_reversed from satisfaction_bad: for valid 1–5 scores, applied 6 minus the response; coded 99 as missing per the practice codebook. Four numeric scores and one blank; no rows removed.” This distinguishes a planned scoring transformation from the correction of a source-confirmed error.
If you need a case-level correction in real data, record the case ID and the evidence for the replacement. A negative loading or an unexpected coefficient can prompt a review, but neither tells you what a respondent actually entered. The QuickPLS result-reading exercise demonstrates this distinction with a separate, documented coding challenge.
Verify the corrected input, then assign the columns
- Keep the source extract unchanged. Import the checked CSV in a writable QuickPLS Pro project using File → Import Data…. Review the preview and confirm that the reversed column is numeric where expected.
- Check the imported rows. Locate S001, S004 and S005 by ID. Confirm that S004's reversed item is blank and
revisitis still zero. Read the file name and dataset version again before building a model. - If fitting a justified satisfaction measurement model with suitable data, assign the positively worded item and the reversed item as intended. Do not assign both the original disappointment item and its reversal to the same block. Keep respondent ID outside the block. Use department and revisit only in the roles your actual analysis calls for. The PLS-SEM model-building guide shows where the Indicators pane binds columns to constructs.
- Record the number of imported rows and the number actually analysed. The blank item may affect the analysed sample under the selected method's missing-data rule. Importing the corrected file need not remove the respondent.
Try it: If S004's unanswered code were accidentally imported as a valid score, which check would catch it first? The allowed-value rule should catch 99 even before you open a model. A check after recoding should also catch −93. A good workflow uses both checks and keeps the original answer separate from the derived score.