I have 8 variables and I need to check whether the same answer has been given at least 3 times in these 8 variables per case. These are numerical variables, so there is a wide range of answers. So counting specific values with the COUNT function does not really work here given the amount of possible answers. Anybody that has an idea on how this would be possible? Thank you.
SPSS check if same answers in set of variables
61 Views Asked by La180923 At
1
There are 1 best solutions below
Related Questions in COUNT
- Assigning count from enumerate
- PHP - Create unique id number for each item
- Impala Query: Combine multiple COUNT DISTINCT WHERE clauses
- MySQL Multiple Conditions on Group By / Having Clause
- Excel: Only count unique cells from Countif
- SQL Several Count
- sql select 5 higest values
- Count files in a directory while excluding others by directory and subdirectories using PHP
- What is wrong in java for loop
- Count multidimensional array
- Group by hour of day then Count # in each group
- Count Distinct Number of Email Addresses in the Results of a Query in MS Access
- Javascript constructor function to count the number of instances
- Select and create month row and count the data - MySQL
- Trying to use output of one function to influence the next function to count words in text file
Related Questions in SPSS
- Control encoding when parsing SPSS file using package memisc
- Skewness in SPSS - SPSS answers differently in multiple PC
- How can I download SPSS for macbook?
- SPSS Frequency Plot Complication
- How to remove white space from a data frame in R, when importing from SPSS
- Graphs in a loop in SPSS
- conditional filtering in SPSS
- Ctables macro is spss
- SPSS: Replace missing values with date
- Deleting Value Labels in SPSS
- How to Synch SPSS and SQL Data
- SPSS create variable function in R
- Comparing multiple items
- spss significance asterisk (for graphs)
- SPSS: Inconsistent totals due to rounding of numbers
Related Questions in UNIQUE-VALUES
- Unique values in multidimensional array
- MySQL return set if values don't exist
- How do I get a unique set of values for a specific key in a list of dictionaries?
- How do I get a list of unique values from a column in Excel VBA?
- PHP & MySQL: Get all values from a table?
- Remove duplicate from list which is used as value in dictionary
- How to display employee information in form2 by specifying emp id in form1?
- SPSS check if same answers in set of variables
- Copying unique numbers from one column to the another
- VBA required for AutoFilter XLFilterValues Array
- Python pandas nunique() datatype
- Count Unique Values with CountIF works in Excel but gives type mismatch error in VBA
- Extract weather values from app.weathercloud.net
- Count unique values, with condition in other column
- How to get unique values/elements of a column?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This will create a new variable for every possible answer, with the number of times it was mentioned. This assumes there are 15 possible answers - you can correct it to the real number:
At this point if you want you can use the following to change the new variables to contain the value 1 if the answer was mentioned 3 or more times, or 0 if not:
EDIT: A different solution is needed if possible answers are not known in advance and/or contain non integer values. The syntax below assumes there is some row ID variable in the data:
you now have a list of the number of times each answer was given for each ID. You can now filter only the answers given 3 times or more: