Questions tagged [binary-data]

A binary variable takes one of two values, typically coded as "0" and "1".

Filter by
Sorted by
Tagged with
2
votes
0answers
847 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, ...
3
votes
1answer
7k views

Changing attributes from nominal to binary

Reading this book, I found the following description regarding model trees for numeric prediction, in which nominal attributes are transformed to binary attributes. Before constructing a model tree,...
3
votes
1answer
679 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
164 views

Creating fuzzy values for binary data

I am doing a logistic regression where my dependent variable is whether or not a person owns a particular product. Among the variables in the model is an indicator of marital status, 1 for married, 0 ...
1
vote
0answers
86 views

Is it advantageous to use dummy variables when learning a regression model?

Say I have 3 random variables ${X, Y, Z}$, and I have collected an iid sample of size $N$ from them: ${\cal D} = \{ (x_i, y_i, z_i), i = 1,\dots,N \}$. The conditional expectation $E[ X | y ]$ can ...
2
votes
2answers
794 views

Comparing player percentages effectiveness with different sample sizes

I have a spreadsheet of player data. One of the categories of player data is pass percentage. Pass percentage is calculated as follows: AccuratePasses/TotalPasses ...
2
votes
1answer
1k 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 ...
7
votes
2answers
5k 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 ...
5
votes
1answer
617 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
2answers
225 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, ...
0
votes
1answer
3k views

How do I interpret logistic regression output for categorical variables when two categories are missing?

I am using binary logistic regression; the dependent variable is 1 or 0; the independent variables are two groups: the first group includes continuous variables (...
1
vote
1answer
740 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
2answers
21k views

Likert scale and yes/no calculation of one score

My survey is based on observations and interviews. The observation questions are yes/no type questions and interview questions are 4 points. $1=$ never, $2=$ sometimes, $3=$ usually, and $4=$ ...
3
votes
1answer
1k views

How to compare two sequences of binary data?

I have two differing-length sequences of binary values. In each sequence, each value corresponds to an observation which is either right or wrong. I'm looking for a statistical test that addresses ...
5
votes
1answer
10k 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 ...
1
vote
0answers
272 views

comparison of sets of binary sequences

I want to compare three sets of binary sequences and assess whether they differ statistically. Each sequence is 100 bits long (the length 0-100 represents the axis of an elongated tissue : if there ...
4
votes
0answers
6k 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 ...
4
votes
0answers
166 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 ...
3
votes
0answers
427 views

Is there a better alternative to a logit / probit regression when all dependent variables are dichotomous?

I'm working on a clinical trial dataset with binary response. All independent variables are also binary. My first impulse was to simply run a standard logit / probit regression and be done with it. ...
2
votes
1answer
100 views

Determine ratio constant and formula for an equitable score in my algorithm

I am working on a algorithm for a software module but decided I was hung up on the mathematical formula so I posted here instead of Programmers. Each scenario will have a team of people competing. ...
13
votes
2answers
1k 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
109 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 ...
3
votes
2answers
5k views

Why don't dummy variables have the continuous adjacent category problem in cluster analysis?

I know that if we use categorical variables in cluster analysis we would assume that the scale is continuous and we don't have this concept of distance between two adjacent categories. But what is the ...
5
votes
1answer
1k 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 ...
3
votes
0answers
655 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 ...
0
votes
1answer
77 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
224 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 ...
1
vote
1answer
1k views

Quantile regression with dummy variable that's equal to 0 over most $t$

I have the model $Y_t = a + b*X_t + c*D_t + e_t$, where $t \in T = \{1,...,3000\}$ and $D_t$ is a binary variable equal to $0$ over $T \backslash \{20,21,...,30\}$, and equal to $1$ over $\{20,21,...,...
6
votes
2answers
30k 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 ...
7
votes
0answers
5k 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 ...
0
votes
1answer
106 views

Continuously depending a binary random variable

Suppose I have 2 exclusive events, and at each point in time, I maintain the probability for the first event, p (the other one being 1-p). There is online, streaming information arriving all the time, ...
18
votes
5answers
5k 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
208 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
0
votes
0answers
1k views

Overdispersion in GLMM in SPSS

I am using a generalized linear mixed model to analyze poisson and binary data. Animals were observed on several moments, so my model should account for that, which is why I am using the GLMM. I am ...
6
votes
1answer
1k 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?
3
votes
0answers
417 views

Binary interaction terms using lmer

I am trying to create a model using the lmer function. The model will contain the continuous response term "Average.profit" and explanatory terms "Type", "OtherType,...
4
votes
1answer
2k views

Modelling a binary response variable with a binary explanatory variable

I'm modeling (using GLM) one binary explanatory variable against a binary response variable. The output looks ok to me, but I'm a biologist with a basic knowledge of stats, I just wanted to ask if ...
2
votes
0answers
198 views

Mediation analysis using binary IV and difference scores

I have one IV ($A$) and two DVs ($B$,$C$). $A$ is a binary, experimentally manipulated variable. Each subject has two scores on $B$ and two scores on $C$, corresponding to the experimental ...
2
votes
1answer
6k 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
255 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 ...
6
votes
0answers
895 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 ...
4
votes
1answer
2k 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
412 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 ...
15
votes
1answer
12k 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 ...
3
votes
0answers
215 views

Is there a (parametric) distribution over sparse symmetric, binary matrix-valued random variables?

The title says it all, really. I'm aware of the Wishart distribution for symmetric, nonnegative-definite matrix-valued random variables, and am looking for something along these lines, but for sparse ...
3
votes
0answers
376 views

Can I include nominal predictor variables in ordinal regression?

I am in the process of performing ordinal regression on a large data set that measures different types of variables (nominal, ordinal, continuous). My outcome variable is ordinal, hence the ordinal ...
5
votes
1answer
14k views

What test is appropriate for binary outcome with repeated measures and binary, ordinal and continuous independent variables?

I'm trying to figure out what is the most appropriate statistic test for use with my data and was hoping for some advice. The primary data consists of a binary independent variable (patient test - ...
1
vote
1answer
174 views

Dichotomous DV and 3 points of measurement per condition within each subject

I have been reading a lot on this site and I think I am going to analyze my data using a mixed model ANOVA- random effect= subject and 2 fixed effects- comparison and pricing. All of my subjects were ...
1
vote
0answers
1k views

What analysis (in SPSS) should I use for a repeated measures design with dichotomous outcome variable? [closed]

Parts of my question may seem rudimentary but the more I read, the more confused I get so I am going to completely spell out my experiment. In my study, I have created 4 conditions by crossing 2 ...
1
vote
2answers
598 views

Split-half reliability on binary scores

I'm very new at statistics, so excuse me if my questions are to simple or obvious. I have a dataset with response times for two conditions. These response times were converted into a binary score of ...