Search found 2 matches

Go to advanced search

by a5000b
Sat Feb 10, 2018 10:26 pm
Forum: Coding SPSS syntax
Topic: Is it possible to use 2 different data sources?
Replies: 1
Views: 78

Re: Is it possible to use 2 different data sources?

Assuming there's a common link between the two files to join on- yes. The match files command would work in that scenario. Once both data sources have been sorted on the match variable, save each as a .sav file, then you can run a command similar to what is below. The crosstabs afterwards would show...
by a5000b
Sat Feb 10, 2018 10:21 pm
Forum: Coding SPSS syntax
Topic: How can I tell SPSS, that it should only run a syntaxcommand if a condition with a macrovariable is true
Replies: 1
Views: 582

Re: How can I tell SPSS, that it should only run a syntaxcommand if a condition with a macrovariable is true

Old topic, but nonetheless- I was working on something like this recently. My understanding is that macros are essentially just big find and replace text functions. They have very specific rules regarding strings (there's a lot of commands related to them), so in specifying your filepath, you'll nee...

cron