Edit Data File Relationships

From Q
Jump to navigation Jump to search

When an analysis is conducted between variables in multiple data files, Q needs to work out how observations in the data files relate to each other. That is, it needs a rule by which to merge the data files. In order to create a relationship between two files, there must be a variable in both files which contains the same type of data (text, categorical, dates, etc.) and has some values which match.

Data file relationships are accessed by selecting File > Data Sets > Edit Relationships.

This window shows a list of the current data file relationships. In order to crosstab questions from two different data files, those two data files must have a relationship that appears in this list.

To see more detail about a relationship, select it in the list, and then click Edit, which opens Data File Relationship.