Diagnostic measures (such as residuals or some summary statistics calculated from residuals) are used to evaluate some aspect of quality of model fit to data.

learn more… | top users | synonyms (1)

3
votes
1answer
2k views

How to validate & diagnose a gamma GLM in R?

I am fitting a generalized linear model in R with the log link and I need to validate and diagnose my model. I have never worked with the GLM in the past. Is there an article or any references I ...
1
vote
2answers
2k views

How to test outliers, normality, homoscedasticity? [closed]

With the Data Analysis command in Excel I made a plot, which I can't post, because this is my first post ever. ...
8
votes
2answers
342 views

What are some good exploratory analysis and diagnostic plots for count data?

Does anyone know of good reference material on exploratory analysis and diagnostic plots for count data?
6
votes
2answers
727 views

MCMC Geweke diagnostic

I'm running a Metropolis sampler (C++) and want to use the previous samples to estimate the convergence rate. One easy to implement diagnostic I found is the Geweke diagnostic, which computes the ...
4
votes
1answer
2k views

Diagnostic plots for lmer

I am trying to produce a glmm using the lme4 package in R. To validate my model I would like to produce some diagnostic plots ...
2
votes
0answers
403 views

How to verify linearity assumption in linear regression with categorical predictors?

I have used simple linear regression, and I'm now checking that the model meets the assumption of linearity. The model used a continuous response variable and categorical explanatory variables. How ...
7
votes
4answers
773 views

Diagonal lines in residuals vs fitted values plot for multiple regression

I am observing strange patterns in residuals for my data: [EDIT] Here are the partial regression plots for the two variables: [EDIT2] Added the PP Plot The distribution seems to be doing ...
2
votes
0answers
3k views

Collinearity diagnostics disagree - VIF, condition index, and correlation matrix

I'm working with a large dataset consisting of just over 1 million cases. The data are longitudinal covering 14 years and hierarchical with about 500 of the level 2 units. Each case is a criminal ...
0
votes
0answers
175 views

Test for convergence within Gibbs sampler

I am running a Gibbs sampler for Multivariate Normal times Inverse Wishart posterior distribution with missing data imputation step. I am trying to check if my step of simulating covariance matrices ...
15
votes
2answers
9k views

Interpreting residual diagnostic plots for glm models?

I am looking for guidelines on how to interpret residual plots of glm models. Especially poisson, negative binomial, binomial models. What can we expect from these plots when the models are ...
1
vote
2answers
5k views

How to interpret model diagnostics graphics after R linear regression? [closed]

I am interested in understanding the graph plots we get after running lm() command (for linear regression) in R like, for example ...
3
votes
1answer
11k views

How to interpret model diagnostics when doing linear regression in R?

I ran lm() on my data with models selected by individual lm's of each characteristic and then combined the top $R^2$ based on ...
7
votes
3answers
2k views

Residuals for logistic regression and Cook's distance

Are there any particular assumptions regarding the errors for logistic regression such as the constant variance of the error terms and the normality of the residuals? Also typically when you have ...
2
votes
1answer
348 views

Logistic regression and complementary log log model

is there like a diagnostic checking(like those in the time series) done for logistic regression and complementary loglog model?
3
votes
4answers
498 views

Communicating Regression Model Results

I am concerned about how unequipped most people are (both within and without academia) to properly employ standard model building methods such as linear regression and to interpret the results of ...
3
votes
1answer
2k views

Explanation of R diagnostic plot for logistic regression

I'm hoping someone can explain this bit of R code for me related to glm(). I don't understand the diagnostic plot that has been suggested. It seems a more ...
17
votes
2answers
18k views

How to read Cook's distance plots?

Does anyone know how to work out whether points 7, 16 and 29 are influential points or not? I read somewhere that because Cook's distance is lower than 1, they are not. Am, I right?
1
vote
1answer
757 views

How to test the randomness of residual plot?

Let's say in linear regression, I got a fit and I can plot residuals to see whether there is any systematic trend in such a plot. How to quantitatively determine whether the residues are really ...
14
votes
2answers
1k views

What diagnostic plots exists for quantile regression?

Following on my question for OLS, I wonder: what diagnostic plots exists for quantile regression? (and are there R implementation of them?) A quick google search already came up with the worm plot ...
7
votes
2answers
844 views

Possible extensions to the default diagnostic plots for lm (in R and in general)?

I started digging a bit into the plot.lm function, this function gives six plots for lm, they are: a plot of residuals against fitted values a Scale-Location plot of sqrt(| residuals |) against ...
3
votes
0answers
235 views

“Brute force” expected deviance for logistic regression?

A commonly used goodness of fit statistic for logistic regression is the deviance. This is also known as the likelihood ratio chi-square statistic. It is defined as: $$D=\sum_{i=1}^{N}d_i^2$$ ...
2
votes
1answer
456 views

Functions for regression diagnostics on mer objects in R

I'm particularly interested in plotting residuals against fitted values, and residuals against predictors. Often times I need to make boxplots of the residuals conditional on predictors. I'd be ...
5
votes
3answers
503 views

In linear regression, is the $R^2$ value enough to assess whether the relationship between the independent and dependent variable is linear?

In linear regression, is the $R^2$ value enough to assess whether the relationship between the independent and dependent variable is linear? It gives the amount of variability in the dependent ...
6
votes
2answers
558 views

How to combine the results of several binary tests?

First off let me say that I had one stats course in engineering school 38 years ago. So I'm flying blind here. I've got the results of what are essentially 18 separate diagnostic tests for a ...
1
vote
0answers
99 views

How do I go about conducting model diagnostics on WLS?

I'm familiar with the diagnostics required for OLS, however I'm in new territory with a model I'm fitting to data in R, using Poisson regression with GLM. What are the standard methods in evaluating ...
1
vote
0answers
89 views

Failure detection method

I receive 1000 points per day from installations who produces electricity. Every installation must proportionally produce the same amount of energy. I have to spot failures in those data. The actual ...
11
votes
2answers
24k views

Likelihood ratio test in R

I'm not sure if I'm asking something stupid or off topic here, but I can't think where can I ask this question. suppose I am going to do a univariate logistic regression on several independent ...
13
votes
3answers
646 views

Is it valid to analyze signal detection data without employing metrics derived from signal detection theory?

A signal detection experiment typically presents the observer (or diagnostic system) with either a signal or a non-signal, and the observer is asked to report whether they think the presented item is ...
8
votes
1answer
563 views

What type of post-fit analysis of residuals do you use?

When carrying out OLS multiple linear regression, rather than plot the residuals against fitted values, I plot the (internal) Studentized residuals against fitted values (ditto for covariates). These ...