Refers to any data that can take on only one of two values. Common analysis tools for binary data and their relationship to covariates include logistic and probit regression.

learn more… | top users | synonyms

1
vote
0answers
12 views

How can I calculate the relative probability of each move resulting in a win, given historic win/loss data for the possible moves?

We are at a position in a game where there is a decision to be made. As there are relatively few game positions and possible moves, we have collected statistics from previous occasions the game was ...
1
vote
1answer
39 views

Transformation of binary data

I have a function that I am trying to optimize using Particle Swarm Optimization. The objective function gets a binary string. These binary strings are candidate solutions of the subject function. I ...
2
votes
1answer
117 views
+100

Select best set of binary variables for clustering known sample labels

I have a set of samples, for which I know the "true groups". For this samples I have about 200 binary variables, I would like to know a method to select the subset of variables, that gives me a ...
0
votes
1answer
43 views

Statistical test over binary data

Given certain products (ProductA, ProductB, ProductC, etc..) users are asked to rank them according to their preference (whether they like, somewhat like, or not like, the product). Thereafter I ...
1
vote
0answers
43 views

PCA on binary data (0's & 1's) -> what does it mean when a PC is correlated with the nr of 1's per subject?

I conducted a PCA on dichotomous variables (0's and 1's). The dataset consists of human subjects and a few thousand genetic variants, where the presence of a genetic variant is indicated with 0's and ...
2
votes
0answers
59 views

GEE (or GLMM) in SPSS: Interpreting outputs and model selection

I am attempting to analyze my (experimental psych) data in SPSS, and I have a few questions regarding the kind of analysis I should be using (GEE or GLMM), how I should be interpreting the output, and ...
0
votes
0answers
42 views

Distance Metrics For Binary Vectors

I have vectors of same length consisting of 1 and 0. I am trying to find out how similar they are. So far I am using hamming distance that I calculate sum of one vector then sum of second vector and ...
0
votes
0answers
27 views

Chi square test on binary value data

I am trying to implement an algorithm using a programming environment. What I am asking is how can use chi square test for binary type data? For clarification, my real data has 5000 rows(customers) ...
0
votes
1answer
33 views

spss: working with two binary/dummy variables

Am trying to set a few binary/dummy variables against each other, i.e. propensity_to_dance and gender. I assume that it' ok to ...
2
votes
0answers
19 views

Predict binary occupancy vector from history of vectors

I have a set of binary vectors where each vector represents one day of occupancy in a house and consists of 48 elements (each element for 30 minutes of the day). Each element can be 1 meaning that ...
2
votes
0answers
31 views

multiple imputation with binary variables

I have 54 missing values in my dataset of 459 cases. Variables are all binary (0-1). I want to try a multiple imputation to avoid a listwise deletion, using the mi ...
0
votes
0answers
21 views

spss 20 for mac: how to get probabilities after running a binary logistic regression [duplicate]

I have a binary variable that I'm investigating in SPSS, inclination_to_dance. I have another linear variable as well, ...
0
votes
0answers
26 views

Factorial design with repeated-measures and binary outcome variable

I have a question on how to analyze some data from a psychological experiment. The design of the experiment is a mixed 2x2x4 factorial: the first 2 factors are manipulated between-participants, but ...
2
votes
1answer
47 views

Re-scaling a confusion matrix after down sampling one class

Let's say I have a large, un-balanced binary classification problem (in reality nrow is more like 500k, and ncol is more like 500): ...
0
votes
1answer
80 views

Any technique other than Logistic

All my predictors are binary in nature. So far I have been building the model with the logistic fuction. Could anyone suggest any appropriate statistical technique keeping the following points in ...
6
votes
2answers
270 views

How to visualize Bayesian goodness of fit for logistic regression

For a Bayesian logistic regression problem, I have created a posterior predictive distribution. I sample from the predictive distribution and receive thousands of samples of (0,1) for each observation ...
1
vote
2answers
105 views

Is ANOVA being misused for these binary data?

Everywhere I have read that if you want to test the hypothesis of dependence of a binary outcome on your data, you should not apply ANOVA (if its incorrect, please let me know). We can apply logistic ...
1
vote
1answer
92 views

How to factor analyze two binary variables only

Normally when I do factor analysis, I have a whole bunch of variables that need to be reduced. But here I only have two binary variables (yes/no) that I need to reduce into one interval factor. Is ...
6
votes
1answer
237 views

Calculating Jaccard or other association coefficient for binary data using matrix multiplication

I want to know is their any possible way to calculate Jaccard coefficient using matrix multiplication. I used this code ...
0
votes
2answers
233 views

Which SVM kernel to use for a binary classification problem?

I'm a beginner when it comes to support vector machines. Are there some guidelines that say which kernel (e.g. linear, polynomial) is best suited for a specific problem? In my case, I have to classify ...
1
vote
0answers
187 views

Which correlation analysis is appropriate for binary and ordinal variables?

Violin players were asked to rate 5 violins from least to most rich on a [0 1], 0.05-increment scale, ...
1
vote
1answer
76 views

residualize binary outcome variable

Does it make sense and what is the correct approach to residualize a binary variable? For a continuous variable y, I simply run a regression that predicts ...
6
votes
1answer
63 views

Creating fuzzy values for binary data

I am a little bit rusty at this sort of thing, so I will not be offended if you tell me this is a stupid question. I am doing a logistic regression where my dependent variable is whether or not a ...
0
votes
0answers
88 views

How to do a difference in means test for panel data?

I have panel data (5 variables) and binary outcomes (died, survived) for same individuals over few years (quarterly data). If it wasn't panel data, it would be easy to perform "difference in means" ...
1
vote
1answer
214 views

Correlation with binary response and Likert scale response

I have 4 data groups: - 3 groups from a 5-point Likert scale (1 ~ 5) - 1 group is binary (Incorrect/Correct -- converted to 0, 1) I have performed Pearson's r and Spearman's rho with the Likert ...
5
votes
0answers
154 views

How to test for mediation when working with binary data?

I want to assess if a single variable is mediating the effects of a set of IVs on a single DV. All variables in the model (IV, DV and the mediator variable) are dichotomous (0, 1) and observed. What ...
3
votes
1answer
129 views

How to improve neural network sensitivity with a lopsided binary outcome?

I'm working on predicting (not explaining) a 0/1 outcome that generally has only about 10% "1"s (I'm not at liberty to name the variables). N ~40,000. Logistic regression proved unsatisfactory, both ...
4
votes
1answer
83 views

Analysis of binary variables

I have a data set consisting of about a quarter-million objects, each of which may have any of 30 particular features. So I might have Object 1: feature 3, feature 7 Object 2: feature 3, feature 29, ...
1
vote
1answer
86 views

Appropriate test for comparing two sets of binary tests?

I have items made from two different materials. For each material I took a set of 250 samples and subjected them to a test which either broke them or did not. Which test could answer the question - ...
2
votes
1answer
425 views

Percent correctly predicted of logit model

Is there a standard way to report the percent correctly predicted when predicting a binary outcome? Using glm in r, the results are predicted probabilities. However, in order to make a comparison to ...
0
votes
0answers
77 views

Change real valued numbers to binary one for use in a Restricted Boltzman machine

For a private project, on financial time series data, I'd like to try pre-learning with a RBM. The data I have is real valued and rather than use a rectified linear function in the RBM I was wondering ...
1
vote
0answers
371 views

Test for effects of two categorical variables on a binary response variable?

I am looking for a test similar to a 2-way ANOVA that would work on a binary response variable. My response variable is survival of plant seedlings (alive or dead). My explanatory variables are ...
3
votes
0answers
67 views

Independent variable misclassification and statistical tests

Suppose we have our standard DGP, $y=\alpha+\beta x+\varepsilon,$ where $x$ is binary. Let's say the observed $x$ is actually measured with error, so that the explanatory variable is misclassified for ...
12
votes
1answer
391 views

Is there an R package for continuous time longitudinal binary responses?

The bild package appears to be an excellent package for serial binary responses. But it is for discrete time. I would like to specify a smooth function of time ...
3
votes
0answers
47 views

Way to rank binary sequence

Bear with me as I try to word this question well (I'm a mathematical modeler, but not a statistics guru). We want to assess the response patterns of a binary timeseries. The data are from people ...
2
votes
1answer
176 views

How to model binary dependent data with temporal autocorrelation?

I am trying to model annual tree nut production using climate predictors. The nut data (dependent) is a binary timeseries (0,1 - representing unsuccessful and successful nut production), with one ...
1
vote
0answers
95 views

Association between a categorical and binary variable

I have a set of patients that I split into two parts using some obscure algorithm (doesn't matter how): let the X take on values A and B. Each patient belongs to exactly one of 5 disease subtypes: let ...
0
votes
1answer
54 views

Percentage of binary outcome when informed of only one event

Suppose you have a bunch of independent time series each with binary outcomes A/B, all with the same CDF (but we don't know anything about it a-priori). We want to compute the average percentage of A ...
2
votes
0answers
74 views

Reporting contrasts between binary probability parameters in Bayesian data analysis - odds ratios or difference in probability?

In a bayesian data analysis, if one is modeling differences in binomial/bernoulli probability parameter differences between populations, is it still standard to report the difference in the binary ...
2
votes
1answer
2k views

How do you estimate correlations between ordinal and binary data in SPSS?

I'm struggling with my lab report. I have a questionnaire which contains Likert responses (1-7) as well as questions that require only yes or no answers. I want to see if there is a correlation ...
2
votes
0answers
229 views

Poisson regression for binary data

I've been trying to read up on Poisson regression models, and it looks like it is possible to estimate such a model with a binary outcome. This has come up before on this site here (and somewhat here ...
5
votes
5answers
205 views

How to do one-class text classification?

I have to deal with a text classification problem. A web crawler crawls webpages of a certain domain and for each webpage I want to find out whether it belongs to only one specific class or not. That ...
1
vote
1answer
134 views

Probit analysis using 13 cases and checking normal distribution

Can I use probit if my dependent variable has data that looks something like this, 1 case is equal to 0, and 12 cases are equal to 1? Thanks
4
votes
1answer
257 views

Friedman's test for binary data - possible or not?

If my dependent variable is a technique scored as 1 for correct step and zero for incorrect can I use Friedmans test to compare technique scores at 3 time points?
2
votes
1answer
450 views

How to do a repeated measures analysis with binary DVs and a single binary IV?

I ran an experiment where participants were randomly allocated to 2 conditions. They then completed 3 seperate tests with a binary pass/fail outcome for each test. So I have 3 binary (within-subject) ...
2
votes
2answers
123 views

Multi-factor model for a quantitative response variable

I am analyzing data in order to develop a model for power generation of a solar system based on three predictor variables. I have done t-tests showing significant improvement in the generation while ...
5
votes
0answers
149 views

Selecting link function in GEE with binary dependent variable

In my experiment participants had to make a binary (yes-no) decision about various stimuli. I have two categorical (stimulus characteristics coded as -1 0 and 1 and treatment group coded as 0 1) and ...
3
votes
1answer
232 views

Is it acceptable to rotate factors with PCA for binary data?

What issues, if any, might there be in rotating factors in order to obtain factor/component loadings of binary data? Is it acceptable to rotate the factors when doing a traditional PCA? (Assuming I’m ...
3
votes
0answers
126 views

How to test for differences in binary score data?

I have data from a human subject study that was setup as a 3x2 (system by task type) experiment, with 24 participants. Each participant completed 6 tasks in all, one using each of the 3 systems, and 2 ...
6
votes
1answer
722 views

Looking for a step through an example of a factor analysis on dichotomous data (binary variables) using R

I have some dichotomous data, only binary variables, and my boss asked me to perform a factor analysis using the tetrachoric correlations matrix. I’ve previously been able to teach myself how to run ...

1 2