Linked Questions

1
vote
0answers
31 views

Problem with one variable in a binary logistic regression [duplicate]

I analyzed four binary variables with a binary logistic regression. I used for the analysis of all four binary y-variables the same set of 9 x-variables (a-i). My problem deals with one of this four ...
0
votes
0answers
30 views

How to make binomial regression when some groups have 0 variance (using R)? [duplicate]

Problem: Response is binary (1/0) and some treatment combinations are so inefficient that all replicates in that group = 0 while some are so efficient that all replicates in that group = 1. Those ...
1
vote
0answers
28 views

Values distribution issue in logistic regression [duplicate]

I have a problem with logistic regression. I have the following variables: Var1: 1 1 1 0 0 1 1 1 1 1 1 1 1 0 1 0 0 1 1 1 1 1 1 1 1 0 0 NA 1 0 0 1 0 1 1 0 0 0 1 1 0 0 1 1 1 0 1 0 1 1 1 1 1 1 1 1 0 1 ...
0
votes
0answers
28 views

Warning message: glm.fit: fitted probabilities numerically 0 or 1 occurred ? What does it mean and how to fix it? [duplicate]

All, I have a dataset that contains more than 45k rows and 2 columns. Below is dput() of first 50 rows. One thing to consider is that ...
0
votes
0answers
25 views

Is it ok to have “fitted probabilities numerically 0 or 1 occurred” in the case of predicting disease? [duplicate]

I know this isn't directly related to statistics but I didn't know where else I should post this so please let me know and I will remove the question if this is the wrong forum. My question is very ...
66
votes
18answers
88k views

Statistics interview questions

I am looking for some statistics (and probability, I guess) interview questions, from the most basic through the more advanced. Answers are not necessary (although links to specific questions on this ...
29
votes
6answers
90k views

Sample size for logistic regression?

I want to make a logistic model from my survey data. It is a small survey of four residential colonies in which only 154 respondents were interviewed. My dependent variable is "satisfactory transition ...
49
votes
2answers
24k views

Confidence interval for Bernoulli sampling

I have a random sample of Bernoulli random variables $X_1 ... X_N$, where $X_i$ are i.i.d. r.v. and $P(X_i = 1) = p$, and $p$ is an unknown parameter. Obviously, one can find an estimate for $p$: $\...
57
votes
1answer
15k views

Logistic regression in R resulted in perfect separation (Hauck-Donner phenomenon). Now what?

I'm trying to predict a binary outcome using 50 continuous explanatory variables (the range of most of the variables is $-\infty$ to $\infty$). My data set has almost 24,000 rows. When I run ...
22
votes
1answer
5k views

Is there any intuitive explanation of why logistic regression will not work for perfect separation case? And why adding regularization will fix it?

We have many good discussions about perfect separation in logistic regression. Such as, Logistic regression in R resulted in perfect separation (Hauck-Donner phenomenon). Now what? and Logistic ...
13
votes
2answers
3k views

Is R's glm function useless in a big data / machine learning setting? [duplicate]

I am surprised that R’s glm will “break” (not converge with default setting) for the following “toy” example (binary classification with ~50k data, ~10 features), ...
6
votes
2answers
11k views

Predict probabilities from Firth logistic regression in R

I'm using the logistf package in R to perform Firth logistic regression on an unbalanced dataset. I have a logistf object: ...
6
votes
4answers
4k views

When does logistic regression not work properly?

I need to find a situation in which logistic regression does not work well. Furthermore, I would like to know when a random forest might perform better than a logistic regression model.
4
votes
2answers
5k views

Logistic Regression is a Convex Problem but my results show otherwise?

I know that logistic regression is a convex problem. Furthermore, from Lemma 1.17 in these optimization lecture notes, if a function $f : \mathbb{R}^n \rightarrow \mathbb{R}$ is convex, then the ...
7
votes
1answer
7k views

Issue with complete separation in logistic regression (in R)

I am trying to fit a logistic regression model for business defaults. Apart from the dichotomous variable default, the data set includes some performance ratios. When estimating the model in R, the ...

15 30 50 per page
1
2
3 4 5
9