Skip to main content

All Questions

Filter by
Sorted by
Tagged with
43 votes
2 answers
76k views

Interpretation of plot (glm.model)

Can anyone tell me how to interpret the 'residuals vs fitted', 'normal q-q', 'scale-location', and 'residuals vs leverage' plots? I am fitting a binomial GLM, saving it and then plotting it.
Summer's user avatar
  • 531
7 votes
2 answers
7k views

How to use boxplots to find the point where values are more likely to come from different conditions?

I have plotted some data using box plots. I am comparing Condition 1 (left) and Condition 2 (Right) values. My aim is to find a point at which we make a decision where the value changes from point ...
Umar's user avatar
  • 151
12 votes
1 answer
29k views

Graphing a Probability Curve for a Logit Model With Multiple Predictors

I have the following probability function: $$\text{Prob} = \frac{1}{1 + e^{-z}}$$ where $$z = B_0 + B_1X_1 + \dots + B_nX_n.$$ My model looks like $$\Pr(Y=1) = \frac{1}{1 + \exp\left(-[-3.92 + 0....
ATMathew's user avatar
  • 2,645
11 votes
2 answers
2k views

What's the best way to visualize the effects of categories & their prevalence in logistic regression?

I need to present information about the main predictors of a candidate's votes using a public opinion survey data. I have run a logistic regression using all the variables that I care about, but I can'...
user1172558's user avatar
6 votes
1 answer
15k views

Why does my ROC curve look like this (is it correct?)

I have a ROC curve generated for a multivariate logistic regression. Does it look correct? This is what I've done: Solve $\theta_0 + \theta_1X_1 + \theta_2X_2 ... = Y$ for the $\theta$s Iterate over ...
sppc42's user avatar
  • 173
6 votes
3 answers
23k views

Plotting logistic regression interaction (categorical by continuous) in R

Hello I have the following logistic model with a categorical variable interaction which I wish to plot in R but I am struggling to find any solutions - ...
Sarah G's user avatar
  • 63
5 votes
1 answer
3k views

Presenting marginal effects of logit with fixed effects

I have a traditional logit model with a dichotomous dependent variable and several independent variables. One of the IVs is categorical and in my R code, I treat it as a factor. In the past, I've ...
biased_estimator's user avatar
15 votes
2 answers
3k views

How can Logistic Regression produce curves that aren't traditional functions?

I think I have some fundamental confusion about how the functions in Logistic regression work (or maybe just functions as a whole). How is it that the function h(x) produces the curve seen in the ...
muZero's user avatar
  • 335
12 votes
1 answer
7k views

Logistic quantile regression – how to best convey the results

In a previous post I’ve wondered how to deal with EQ-5D scores. Recently I stumbled upon logistic quantile regression suggested by Bottai and McKeown that introduces an elegant way to deal with ...
Max Gordon's user avatar
  • 5,996
8 votes
2 answers
3k views

Presenting logistic model fit graphically

I have run 3 separate logistic regressions and would somehow like to summarize how well the model fits the data graphically. Any suggestions?
upabove's user avatar
  • 3,177
6 votes
3 answers
4k views

Creating univariable smoothed scatterplot on logit scale using R

I am learning logistic regression modeling from the book Applied Logistic Regression by Hosmer. I need to create a plot named "create univariable smoothed scatterplot on logit scale", ...
lokheart's user avatar
  • 3,249
6 votes
2 answers
6k views

Plotting a categorical response as a function of a continuous predictor using R

I would like to plot the relationship between a binary categorical response variable and a continuous predictor to study its shape. The goal is to prep a logistic regression. This image may clarify: ...
Sami's user avatar
  • 63
2 votes
1 answer
4k views

Should predicted probabilities from Logistic Regression correspond with percentages?

I have conducted a logistic regression in order to identify whether student status (student/non-student), time period (time 1, 2 or 3), or condition (condition 1 or condition 2) predict a binary ...
DrJay's user avatar
  • 329