Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 238499

Refers generally to statistical procedures that utilize the logistic function, most commonly various forms of logistic regression

0 votes
Accepted

Prediction in logistic regression with prediction criteria ranges

If Rank and Income are independent, you can do as follows: Top 15% observations have a 1 in 3 chance of being in the top 20% but not in the top 10% and a 2 in 3 chance of actually being in the top 10 …
David's user avatar
  • 2,665
1 vote
Accepted

Making predictions in Logistic regression in R

You can relabel your classes as 1 and 0 or TRUE and FALSE, now the model will do it the way you expect. If those are not the labels, well, I would try to guess it. You can try to see the prediction f …
David's user avatar
  • 2,665
0 votes

Can I use regression with one independent variable?

Binomial logistic regression is what you are looking for. …
David's user avatar
  • 2,665
1 vote
Accepted

Binary Logistic Regression with the LASSO objective function

Both formulas are equivalent, since the $argmin$ will be the same regardless of whether you divide by n or not. You could also add an arbitrary constant the the expression would remain equivalent. For …
David's user avatar
  • 2,665
0 votes

Understanding which features were most important for logistic regression

You are right about why you should not use the coefficients as a measure of relevance, but you absolutelly can if you divide them by their standard error! If you have estimated the model with R, then …
David's user avatar
  • 2,665
0 votes
Accepted

logistic regression log odds to probability issue in R

Those two results are exactly the same: zero! Try to see if the problem persists when using a more "normal" number, i.e: predict(logitMod, testdata[1]) in a range like $(-2,2)$ or $(-3, 3)$
David's user avatar
  • 2,665
0 votes

Regression/classification models and dummy variables

Assuming you're using the base R lm/glm functions: If you createthe dummy variables yourself, the step process will treat them as separate variables, so you may get some of them removed while the othe …
David's user avatar
  • 2,665
0 votes

What regression model should I use for this problem?

A logistic model is often appropriate unless there is some reason to suspect otherwise. … The main reason to reject a logistic model is having a variable whose relationship with the output is not monotonous (probability of "success" increases up to a point and then decreases), but I cannot …
David's user avatar
  • 2,665
0 votes
Accepted

Modelling non event instead of event

Yes, you can choose the class that you prefer as "default" with the only consequence of zeros becoming ones and vice-versa. However, I don't see the advantage of having 1 non-default rather than 1 d …
David's user avatar
  • 2,665