Tagged Questions

In broader sense - synonym of "dichotomous data": any data that can take on only one of two values. In narrower sense - dichotomous data coded as 1 or 0; furthermore, sometimes "1" is supposed to mean "is present" and "0" to mean "is absent", which may require handling the two values asymmetrically ...

learn more… | top users | synonyms

0
votes
0answers
10 views

test to be applied

I have applied 3 treatments at 10 different concentrations of each on a bacteria to see if they affect its existence. my response variable is binary i.e. 1 for effective and 0 for ineffective. basic ...
2
votes
1answer
47 views

c-index for parametric links in binary regression

I am conducting a binary regression using different sorts of parametric links (logistic, Pregibon, Aranda-Ordaz, ... see) and I would like to compare their predictive and classification perfomance in ...
3
votes
1answer
55 views

Cross correlation for very sparse binary data

I have a very large (5271159x60) sparse (~2.5%) binary matrix, and I'd like to calculate the cross correlation between each of the columns (sensors) for a series of lags from -10:10, which would give ...
2
votes
2answers
39 views

Fitting decaying exponential to binary response

I have this data that I want to fit with $y = e^{-bx}$, but the y:s represent probabilities and the outcomes are either 0 or 1, so I can't say $ln (y) = -bx$ since the values will just alternative ...
0
votes
0answers
19 views

Make a classification dataset with binary features using scikit-learn

I would like to illustrate a classification algorithm by using this algorithm on a 2-class dataset with binary n-dimensional features. In the past, I have used the scikit function make_classification ...
0
votes
0answers
36 views

Probability distribution of time series

I am unable to understand concepts related to the probability distribution of binary time series. This is from the book Binary time series by Benjamin Kedem, vol 52 Let $X_t$, t =0,1,... be a binary ...
0
votes
0answers
39 views

Two step cluster analysis and a binary matching coefficient

I want to commence a two-step cluster analysis, since the database I am conducting analysis on contains important metric as well as nominal values. => Question #1: Should the binary and the metric ...
0
votes
0answers
10 views

analysis strategy for selecting and/or transforming correlated continuous biomarkers to predict binary endpoint

I am given a simulation task to come up with several analysis strategies and compare their relative performances. The horizon is wide open; I appreciate all recommendations of methods and references. ...
1
vote
1answer
104 views

Hierarchical or Two-step cluster analysis for binary data?

(This question is an edited version of a question I previously posted which one user recommended would benefit from more focus). I have 2000 questionnaires from respondents which ask 33 different ...
0
votes
0answers
17 views

Cluster analysis of binary data [duplicate]

I have 2000 questionnaires from respondents which ask 33 different questions about which issues are present in their lives - i.e. alcohol abuse, domestic violence, mental health, child abuse, learning ...
1
vote
0answers
22 views

Feature boosting via rescaling in logistic regression and linear SVMs

If I were expressing a problem in terms of binary features, all encoded as {0,1}, could I boost some features by encoding them as {0,2}? Would the effect change based on whether I used either of the ...
5
votes
0answers
55 views

Identifiability in generalized linear random effect model?

Suppose I observe binary $Y_{ij}$ for $i = 1, ..., N$ and $j = 1, ..., J$ and I want to model $$\Pr(Y_{ij} = 1 \mid \lambda_{i}) = \Phi(\lambda_{ij}), \qquad [Y_{ij} \perp Y_{ij'} \mid \lambda_i]$$ ...
0
votes
1answer
21 views

Correlation or clustering of continuous score and discrete variable states

I have an experiment that produces a decimal score representing quality, and a bunch (5-30) of variables that each take on one of a set of discrete states. - The states are not meaningfully ...
4
votes
1answer
96 views

Closed form expression for count of “runs” in binary sequence sharing same length, number of 1's, and location of final 1

I am struggling with the following combinatorial problem related to research I am doing. Take a binary sequence $(y_1, y_2, \ldots, y_n)$ of length $n$ with $x$ $1$'s, where the final $1$ is in ...
0
votes
0answers
18 views

Binary event probability optimization

I have a relatively small sample of binary events (50-100 events) that occurred during a time of day (the success rate is closely related to the time of day). I'm grouping these events into hour ...
0
votes
0answers
10 views

Advice on finding features of users who converted vs. users who didn't?

I'm a programmer (comfortable in Python and R) and I'm getting started with machine learning methods. I have a lot of data from the past year about users on my site. About 50% of the users converted ...
2
votes
2answers
100 views

Which classifiers work well with unbalanced data?

I have a binary classification problem which is very unbalanced - it can have 98% of data from one class. Which classifiers work well with this sort of data? I have an unlimited supply of training ...
2
votes
1answer
30 views

Only binary predictors — ANOVA, regression, or other?

I am trying to fit a model to predict a quantitative response variable, using several binary variables. In particular, I am interested in measuring the relationship between one of the binary variables ...
0
votes
1answer
36 views

R - Analyzing Relationship Between Two (or more) Binary Variables

Say I have two vectors: Action.Taken = c(0,1,0,0,1,1,0,1,0) Success = c(0,0,0,1,0,1,0,1,0) The first tells me whether or not a specific action was taken in a ...
3
votes
3answers
67 views

Test for aggregation of binary events/successes (binomial/glm??)

this has been vexing me for a while and I can't seem to solidify an answer beyond vague thoughts about Poisson distributions. I think this is a simple problem and I'm missing something obvious. Any ...
0
votes
2answers
60 views

How to deal with a skewed class in binary classification having many features?

I am doing data analysis in the mobile ad targeting domain. I have around 18 features and for a combination of these features, the result is either True or False (1/0) depending on whether the ...
1
vote
1answer
33 views

How to analyze two-way within subjects design with binary data

I am interested in testing how users perform on three different user interfaces. On each of the three interfaces, a person will try 12 Tasks. So each participant will do Task 1 three times, Task 2 ...
0
votes
2answers
80 views

Best way to test for co-occurrence of measures

I have some data with temporal measures over time. I'd like to test whether two binary variables co-occur more often than chance would predict, and I'm wondering the best (simple) way to do that. The ...
1
vote
0answers
63 views

What to Do When a Log-binomial Model's Convergence Fails

There are times when one might want to estimate a prevalence ratio or relative risk, in preference to an odds ratio, for data with binary outcomes - say, if the outcome in question isn't rare, so the ...
1
vote
0answers
183 views

Regression analysis with binary independent variables

Should one use regression analysis when all independent variables are binary categorical (0,1) to see their effect on continuous dependent? Some suggest that regression shouldn't be used in this case. ...
0
votes
1answer
285 views

PCA on Binary Data

I having binary data set (yes/no), so can I apply PCA on that. Is it mathematically correct to do that. In my opinion Binary variable can only be subjected to logical operations, so how it can be ...
4
votes
1answer
187 views

Is it meaningful to calculate Pearson or Spearman correlation between two Boolean vectors?

There are two Boolean vectors, which contain 0 and 1 only. If I calculate the Pearson or Spearman correlation, are they meaningful or reasonable?
0
votes
1answer
44 views

How to analyze relationship between a nominal variable (2 values) and a numerical variable (integer)?

I'm trying to find out if a nominal variable A (2 values: x and y) and a numerical variable ...
1
vote
0answers
37 views

Stratified Cross-Validation with Collaborative Filtering

My dataset consists of binary preferences ($0$ or $1$) given by users on items like this: User-ID | Item-ID | Preference If a user has not given a preference to an item, then it is not in ...
0
votes
0answers
19 views

Implementation of semi parametric methods

Has anyone worked with semi parametric methods to estimate parameters with binary outcome? Examples are like Cosslett (1983) or Ichimura or Klein-Spady. In other words we are looking for semi ...
1
vote
1answer
75 views

Paired test for comparing boolean data

I have $n$ individuals, and for each individual, I have two measurements using two devices (device X and device Y). I know the ground truth for the correct measurement, and I can classify each ...
0
votes
0answers
53 views

Hypothesis test for comparing two F-measures

I have a classifier that classifies each sample point as positive or negative. Suppose I am evaluating it on a limited data set where I have ground truth and then computing the F-measure ...
1
vote
1answer
71 views

How do you correlate binary & ordinal variables?

Which test to use to calculate correlations between them? Cramer's V, Kruskal-Wallis, or something else?
0
votes
0answers
20 views

I have data that includes a record of each event and its time

I want to see if this other data I have predicts that this first event will occur. In other words, I have a data field with a record of farts, with columns for day, month, year, and then I have ...
0
votes
0answers
46 views

What's the meaning of the class indicator matrix when transforming the class label matrix into it in canonical correlation analysis?

When using canonical correlation analysis (CCA), we can integrate the dataset and label information via transforming the class label matrix Y into the class indicator matrix T. Such as: $T = ...
2
votes
0answers
34 views

Comparison of point-biserial and linear correlation coefficients

I have a continuous variable X that is associated with a continuous outcome Y and a dichotomous outcome Z. If I calculate Pearson's $r$ between X and Y, and the point-biserial coefficient $r_{pb}$ ...
0
votes
0answers
178 views

Output probabilities of binary support vector machine classifier in Matlab R2014a

I’m using SVM for classification of my binary output problem. I want probability of belonging to every class. How can I obtain it? For instance suppose this is our structure: ...
0
votes
0answers
80 views

Running a Pearson's correlation calculation on binary survey data

I have the following raw survey data output from a survey app: I was asked to run a Pearson's R on the results (1s and 0s). The format that is returned is as follows: I was further ...
1
vote
0answers
63 views

Prediction method where predictors and response variable are binary

I have a group of binary tasks performed by multiple subjects. Every task can be either performed right or wrong (i.e.,1/0). My goal is to predict the accuracy of future task given the performance on ...
3
votes
2answers
370 views

Logistic regression vs. LDA as two-class classifiers

I am trying to wrap my head around the statistical difference between Linear discriminant analysis and Logistic regression. Is my understanding right that, for a two class classification problem, LDA ...
1
vote
0answers
289 views

Factor analysis with binary variables using Stata 13

I am trying to do confirmatory factor analysis on data that is coded binary (0 no, 1 yes). UCLA suggests using a tetrachoric ...
1
vote
1answer
37 views

When looking at the association between binary variables, when are odds ratios better than risk ratios and vice-versa?

The Wikipedia page lists some scenarios: While both measures are useful, they have different statistical uses. In medical research, the odds ratio is commonly used for case-control studies, as ...
1
vote
2answers
521 views

Understanding dummy (manual or automated) variable creation in GLM

If a factor variable (e.g. gender with levels M and F) is used in the glm formula, dummy variable(s) are created, and can be found in the glm model summary along with their associated coefficients ...
0
votes
0answers
55 views

Problem with year as a factor GLMM

So I need to do a GLMM, I do it this way, with package lme4 glmer(y~x1+x2+x3+year+(1|x4),family=binomial In my data, year is a factor (4 levels). So when I run my glmer, I have my result like this x1 ...
2
votes
0answers
53 views

What is a good technique for grouping objects based on binary or dichotomous traits?

I have a set of objects each of which has a list of traits. Data on the traits is binary: an object has a trait or does not. The number of objects that I have is moderately greater than the number ...
0
votes
1answer
22 views

Which test is useful to assess if a source is the same in two samples of binary data?

I am looking for a statistical test that assesses if two samples which have binary values come from the same source or from different ones. Example: I have one set that has 10 0s and 6 1s and ...
0
votes
0answers
61 views

Best Regression with Binary Features

I'm seeking to do a linear regression for an evaluation function in a board game. My features are all (signed) binary 1 0 0 1 -1 1 0 0 0. Mostly zeros. Around 200 to an observation. I have 10 million ...
1
vote
1answer
37 views

(very basic) One-sample test for binary data

I've repeatedly measured a continuous variable and each measure has been assigned a populational percentile range it falls into (percentile ranges were estimated for general population in another ...
2
votes
0answers
86 views

Predicting Next Likely Outcome of Binary Time Series?

I'm trying to approach the following problem: Danny & Johnny are professional basketball players. Each day they meet, and play for a while. Whoever scores the most points is declared winner for ...
2
votes
0answers
68 views

Modeling binary outcomes - inaccurate model when using logistic regression?

I am trying to model the probability of a binary outcome with the independent variable being an hour variable. I understand that linear regression is not the correct method for this type of task (I ...