# binary data

1. ### Which exploratory approach for paired binary data sets, multiple items in 2 categories, patterns in one category explaining patterns in the other ?

Hello everyone, Problem : We have collected a nice set of data but we don't know for sure how to deal with it ! (Yes... not the right way to proceed indeed, but thats the situation right now...) Context : Our structure provides help to health professionals (physicians) for situations that they...
2. ### How to find the trend in binary time-series?

Hello everyone! I have an event that can happen with each of my patients (Y or N), collected over many years. Theses patients are independent of each other. I want to detect the trend taking into account the binary nature of my variable but also the number of cases per year. For example, I...
3. ### Comparing distribution of two dependant binary variables different sample size

Hello everyone, I have been searching for solution for my problem but keeps running into more questions so decided to finally ask for a bit of help. I am working with a dataset in which I want to compare efficiency of two detection techniques. Detection using both techniques are expressed as...
4. ### How to build a binomial mixed model?

I have data whose structure is seen in the image below. You see one participant's responses in the second row. M1-4 through F3-6 are trials in which a binary response was made (participant chose one of two stimuli presented on the screen). These were M(ale) and F(emale) stimuli. 1 through...
5. ### Multiple Comparison of Percentages from Binary Within-Subjects Reponse Trials

I have searched and read a lot about this but I'm still unsure which test is suitable for the following situation. Data come from a few hundred participants who saw, in each of several trials, a pair of stimuli and made a binary judgment (indicating which stimulus in the pair has a certain...
6. ### Which stats test to use?

Hi there, I want to analyse the impact of turning a production line on and off (variable X, binary) on the environmental quality of wastewater being discharged; more specifically, the suspended solids content (variable Y, continuous). I have a set of daily data for a whole month, which shows if...
7. ### Kappa for binary repeated measures

Hi! I have two raters (patient and physician) who rate the a condition at several visits. I would like to account for inter-individual correlation when I estimate kappa. And I want to assess of there is a trend in kappa. For continuous data, the the cccrm package (R) could work. I´m unsure...
8. ### PCA or clustering on binary data?

Hello, I have a dataset consisting of around 30 species of plants (rows) and around 50 variables (my columns) that are medicinal properties of the plant species, and which take on binary values; for instance, if a plant species has anti-fungal properties (one of the variables) it would have...
9. ### Is t-test appropriate for comparing percentages?

I am trying to analyze a seed germination trial comparing 2 different germination treatments. I sowed seeds from 10 individual plants in 10 different petri dishes for each of the 2 treatments, with between 22 and 200 seeds per dish, and recorded germination rates (number of seeds germinated per...
10. ### Logistic regression, but no negative responses?

So I am trying to model who is likely, from a list of addresses, to go to a store. I have lots of criteria about the people who have visited my store, but no data about who DIDN'T visit my store. I know if I had a 1,0 variable (visited store or not) that I could do logistic regression, but I...
11. ### Poor Cluster Quality in SPSS

I'm conducting an analysis where I need to group my respondents to interest clusters. I have 34 interests and respondents could select multiple items. All these variables are binary, so I recoded all answers to 1/0. I'm aware that conducting hierarchical cluster analysis on binary data is not...
12. ### I'm stuck: How to 'bin' multiple binary variables and analyze within subject

Hi, I have what feels like it should be a very easy analysis to work out, but I've been trying for hours and I can't figure it out. I'm using SPSS by the way. I have 10 different (different objects) binary response variables (yes/no) that I need to turn into two different groups for...
13. ### Interpretation of GLM output for binomial family

Hello everyone, I need help interpreting GLM output for binomial family and determining if this GLM is the correct one to use according to what I need to analyze. Noninvasive genetic sampling of a wild cat was conducted to determine sex. Different environmental factors were identified to...
14. ### Help with Probabilistic Modeling with many elements in simulation with unknown probs.

I'm wanting to create a probabilistic model based on several simulations, where I have a binary outcome (go or no-go) and a variable input. The old way of formulating the proability distribution was a straight-forward, curve-fitting of the input variable versus the "go or no-go" outcomes...
15. ### Which test to use - Binomial or Fisher's Exact?

Hello, I am trying to compare 2 random binary samples, and I am confused on which test to use. This is to test the effectiveness of an algorithm in identifying risk factors in patients. If the patient is diagnosed with at least 1 risk factor that is a success (1) and if they are not...
16. ### Choice of test in R. Repeated measurements, binary response and missing data...

I have two treatments and one co-variate (affect the response variable but is also correlated with one of the treatments). Each replicate has been examined for the presence/absence of morphological characters at several time point but there are unfortunately a lot of missing data. What would be...
17. ### post-hoc test after principal coordinate analysis

Hello, I'm going to explore my dataset, composed by 100 subjects and 14 binary (1,0) variables. I was wondering if my protocol makes sense: 1) I obtained a distance matrix from the dataset, by using Hamming distance 2) I performed a principal coordinate analysis on the obtained distance...
18. ### multiple comparison of chi square tests of binary data

Hello everybody, the code below is to illustrate how I examined the (significant) differences in certain characteristics between different regions. The data set is non-parametric so I used the Kruskal Wallis test and for multiple comparison between the regions I used the function kruskalmc. I...
19. ### Variance Components and Intraclass Correlation Coefficients for Binary Data

Hi, I am performing a variance components analysis of a 3 level nested model of binary data. Given the lack of homoscedasticity at the individual data, how do I calculate ICCs?
20. ### Logistic regression or GLM?

Hi everyone: I have a question about using logistic regression or GLM with only categorical variables as independent variables. The dependent variable y is shown as binary coded data where 1=males and 0=females. Each corresponding to an excrement. The independent variables are as follows...