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.
Related Questions in COUNT
- Pivot table outcomes are not the same and I cannot understand why
- Unable to figure out SQL Query to question
- How to find the consecutive nulls (NaN) in the columns of pandas dataframe?
- Count the number of occurrences of each variant of an enum
- R function to sum/count consecutives values - Rainfall indices
- How to use count for multiple column counts in one run
- VBA how to determine the number of rows in a variable defined by a range stored in an array
- Dates in R: Counting Instances and Number of Days
- Pivot data to Multiple columns in MySQL
- Excel Counting unique values within specific time interval
- Count Distinct Staff Ref Nos of those who have 1 or 2 or 3 records
- Multiple counts in different colums
- Count num of occurences of every 26 characters for every word in numpy
- Using one "class" or one "id" for multiple counters in javascript?
- Word count after executing mysql query
Related Questions in SPSS
- How to Combine Frequency and Percentage in 1 Cell in SPSS with Frequency displayed in bracket
- Create a new variable in SPSS based on different cases with the same "id" variable
- Is there a way in SPSS syntax to add a name variable to a file path to be able to export output into excel format with the corresponding name?
- Extracting a value from each loop of SPSS script
- IBM SPSS Statistics Stuck at sign in page
- Using a Loop to run multiple VarToCases commands
- Is there a way to plot 3 separate multiple regressions in the same plot?
- Robust Poison regression
- Different results of SPSS and Python KS-test to assess normality
- How to run mediation analysis in SPSS with three conditions (1 control and 2 treatments)
- Show groups/categories in MDS plots using SPSS
- Time (hour/minute/am or pm) variables in SPSS
- How can I merge three datasets, some of which are incomplete, into one, based on a shared unique value in one field?
- SPSS custom table percent and frequency in one cell
- Multinomial logistic regression and linearity of the logit in SPSS
Related Questions in UNIQUE-VALUES
- Fill nulls in Python Polars lazyframe by groups, conditional on the number of unique values in each group
- VBA match table data to Advanced Filter, paste values in new tab
- From two data frames, is there any way to count unique values of a column in R?
- Copying unique numbers from one column to the another
- SPSS check if same answers in set of variables
- how to target the second one with the first one and get another sheets with the results
- Pandas find whether cell has any value and if yes save the entire row to new dataframe
- How to remove unique value check in Surveyjs questions?
- Hi, Excel question. 10 companies with each has a multiple rows of monthly sales values. Months are common. I want to graph all on one graph. How?
- how can we read the key and value pair from pdf using python , if data present with space
- How to best avoid unique value error w/ R package 'iml'
- Merging unique values from two different columns into a list
- How to find unique rows from table sqlite android?
- Finding the index of the last element that gets repeated consecutively (Javascript)
- Count Distinct Values Based on Certain Values on Certain Column
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?
Popular Tags
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)
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: