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
30 views

How can we have non-random patterns in the plot of simple linear regression residuals vs the predictor variable?

A) When considering a simple linear regression model, it is important to check the linearity assumption. Graphing the residuals vs the predictor variable can often give a good idea of whether or not ...
1
vote
0answers
19 views

How to distinguish suspicious leverages?

Given a linear model and the following hatvalues and influence.measures, how can I say which measurements are suspicious? I mean ...
0
votes
2answers
24 views

Test for endogeneity in regressions model?

In a regression model are there tests to detect the possibility of endogeneity in the model? For example, we have the White's test for heteroskedasticity. Is there something for endogeneity?
2
votes
0answers
40 views

what to do with ridiculous but valid leverage points

So I'm having some difficulty fitting a linear model to the data (see other post here glm model fit - can't find a family/link combination that produces good fit). In particular, I'm worried ...
1
vote
1answer
34 views

Definition of 'Model Diagnostics'

Can anyone help me out with explaining what the term 'model diagnostics' refers to when applied to multiple regression please? In particular, what tests are necessary to check whether your estimated ...
0
votes
0answers
9 views

Model diagnostic tests for local linear regression

What are some of the model diagnostic tests which are used/ would be suitable to use for a local linear regression model? Note that this is not the least squares linear model, but rather a special ...
0
votes
0answers
24 views

How to apply diagnostics to regression model from FactoMineR

Many diagnostics to assess regression models are listed on this page: http://www.statmethods.net/stats/rdiagnostics.html ...
0
votes
0answers
7 views

Combining LR+ and LR- in naive Bayes

I've come across a colleagues who advocates combining both the positive likehood ratios and negative likelihood ratios in the calculation of posterior probability of the likelihood of a ...
1
vote
1answer
149 views

How to manually calculate dfbetas

I am trying to replicate what the function dfbetas() does in R. dfbeta() is not an issue... Here is a set of vectors: ...
0
votes
0answers
55 views

Arima Models Diagnostics

I'm doing a forecasting using seasonal ARIMA method. I'm using astsa package in r and I'm testing two models that I can't decide which one is better to use than the other The ACf and PACF for the ...
0
votes
2answers
46 views

White Test , testing for heteroscedasticity

i used a White Test for testing the homoscedasticity assumption of my linear regression I am working on. I have a problem whit the interpretation as I have a result from the test in which the p-value ...
2
votes
1answer
86 views

Interpreting case influence statistics (leverage, studentized residuals, and Cook's distance)

I just wanted to clarify some things about leverage, studentized residuals, and Cook's distance: Does a large (in absolute value) studentized residual mean that a case is an outlier? Does a large ...
1
vote
0answers
20 views

I want to compare two calibrations with R… But cannot find the right answer

I first want to precise that I spent 2 hours searching for an answer, couldn't find something that was answering my question. So basically, I ran two calibration with my diagnostic test, so I ...
0
votes
0answers
52 views

How to compare diagnostic accuracy of two tests in unpaired data?

I am wondering whether I can compare diagnostic accuracy, sensitivity, specificity, positive and negative predictive values, and likelihood ratios, between two diagnostic procedures employed in two ...
3
votes
1answer
111 views

How to interpret the direction of the Harvey-Collier test and Rainbow test for linearity?

I implemented both those tests with R, using the lmtest package. Both tests directionally say the same thing (I think) with a very similar p-value of very close to 0. But, are those tests saying ...
2
votes
0answers
21 views

How to proceed with nonstationary variables in panels?

In most of the emprical papers using panel data, authors do not seem to "worry" too much aboout the non-stationarity of the individual variables. Yes, there is asymptotic theory for N and T going to ...
1
vote
2answers
136 views

Normality of residuals - contradiction between 'symplot' and 'qnorm'?

After running a multiple linear regression analysis, I wanted to assess normality of residuals. I plotted a histogram which showed an almost normal distribution of residuals. I also used ...
2
votes
2answers
137 views

Are the model residuals well-behaved (homoscedasticity)?

Can I say looking at this residuals-vs-fitted plots, that my residuals are homoscedastic?
1
vote
0answers
27 views

How do you approach transformations when modeling?

I'm working with a simple univariate dataset and I've built several models for it. Some I think are fairly decent given that datas structure. In order to get a decent model I had to do some ...
2
votes
1answer
166 views

Diagonal lines in residuals vs fitted values plot for ANOVA

I'm experiencing strange patterns of residuals. The following chart is a scatterplot of Standard residuals (Sres) versus Fits. I'm interested in the diagonal lines that mean that a higher fit leads to ...
0
votes
0answers
283 views

How to use the Glejser test?

Glejser tests for heteroskedasticity of a single independent variable within a multiple regression model. And, it tests it by conduction a basic regression: ABS(Residual) = intercept + slope(X). In ...
3
votes
1answer
92 views

What are the three forms of the Park test for heteroskedasticity?

I understand the Park test for heteroskedasticity has three different forms. The best known one is in a log form: LN(Residual^2) = intercept + slope (LN(X)). The second one is in a linear form: ...
0
votes
0answers
30 views

How can I combine positive likelihood ratios?

I only have the positive and negative likelihood ratio, sensitivity and specificity for four diagnostic tests. How can I add them or combine them to obtain likelihood ratios? I do not have the ...
0
votes
0answers
17 views

How to combine diagnostic tests with only sensitivity spec, PLR and NLR

Hi ive looked at the other questions but this ones seems to be different as i only have the test results from different clinical exams in the way of sensitivity, specificity, PLR and NLR ex: facial ...
0
votes
2answers
85 views

If the model fits well, nothing can be done?

I am playing a data without any background information. First, I try multiple linear regression. The model fits well, since the $r^2$ is larger than 90%. I deleted several variables by AIC. The fits ...
1
vote
0answers
67 views

What convergence diagnostics are appropriate for a Bayesian hierarchical logistic regression model?

Using WinBUGS, I fit several Bayesian hierarchical logistic regression models for the mean of a binary response variable conditional on a set of criteria. I am now using CODA in R to determine if my ...
1
vote
0answers
49 views

R lmer Model Diagnosis qqnorm

I fitted this lmer model: m1 <- lmer(logR ~ N_g.m.2 * Year + (1|Wh/N_g.m.2), data = CO2_Ratio) Rendering the attached qqplot. ...
2
votes
0answers
38 views

Refining “good” mixing time estimate

Fix a Markov chain $\{ X_{t} \}_{t \in \mathbb{N}}$ with mixing time $\tau_{\mathrm{mix}}$. Assume that I know some finite bound on the mixing time $\tau_{\mathrm{mix}} < \tau < \infty$, and ...
0
votes
0answers
356 views

Residual Diagnostics and Homogeneity of variances in linear mixed model

Before asking this question, I did search our site and found a lot of similar questions, (like here, here, and here). But I feel those related questions were not well responded or discussed, thus ...
5
votes
1answer
152 views

Are normally distributed residuals not necessarily homoskedastic?

Let's say I've ran a linear regression and I'm checking the model diagnostics. I made a histogram of the residuals and they appear more or less normally distributed as below. I thought for a long ...
3
votes
3answers
85 views

Too many predictors to manually check linearity

Say I have 1000 potential predictors in a logistic regression. I don't have time to check each predictor manually for linearity. I could wait till after variable selection, but in that case I wonder ...
0
votes
0answers
35 views

Diagnostics for the analysis of variance model

I have problem with the diagnostic of the one way analysis of variance model (fitted in R). I've checked all the assumptions of the analysis of variance 1) "For each level of the within-subjects ...
1
vote
0answers
120 views

Model assumptions and diagnostics for proportional hazard regression model with frailty in R

I am wondering are there any assumptions that must be met in the proportional hazard regression model with frailty? I remember that in regular proportional hazard model without frailty all variables ...
2
votes
2answers
268 views

Is residuals autocorrelation always a problem?

I read that OLS underestimates variance when residuals are autocorrelated. I see why autocorrelation would be a problem in time series analysis, in the sense that the coefficient are not efficient ...
1
vote
0answers
106 views

VECM Diagnostic Test

I have got few questions about VECM and cointegration test. Basically I conducted a cointegration test on two time series (spot vs forward price) by using the Johansen procedure. The results suggest ...
3
votes
1answer
326 views

What resolution should I be using for residuals vs fitted values plot from a linear regression?

I made this linear regression that shows how well estimated animal locations (longitude) predict actual animal locations. ...
4
votes
1answer
63 views

Geweke diagnostic of a Markov chain: why does the first window have to cover the burn-in?

I read the following statement in this document$^{[1]}$, at the bottom of page 11: Too wide A will some times “hide” the burn in part within the converged part of the chain and the difference in ...
1
vote
2answers
428 views

How to compare the positive predictive value and negative predictive value of two diagnostic tests?

Im a surgeon who's trying to compare two diagnostic tests that are used to diagnose appendicitis. Two diagnostic tests were applied on 150 patients and the results were compared to a gold standard. I ...
5
votes
1answer
228 views

Is the goodness of fit test in JMP the Hosmer-Lemeshow goodness of fit test?

I'm working with an organization that is using JMP in their analysis, and I can't tell from the description in JMP's help files if the test for goodness of fit in their logistic regression is the ...
3
votes
1answer
87 views

How to treat this OLS based on residual diagnostics

I am struggling already a couple of days with this simple OLS, can you help? Outcome years in function of predictor score, very simple linear model. The residual plot does absolutely not look good ...
21
votes
4answers
681 views

Why does my bootstrap interval have terrible coverage?

I wanted to do a class demonstration where I compare a t-interval to a bootstrap interval and calculate the coverage probability of both. I wanted the data to come from a skewed distribution so I ...
1
vote
0answers
76 views

What plots should be used for diagnostics for linear mixed model?

Before fitting a linear mixed model, can any plots be used to show a random intercept/slope is justifiable in the model? I.e. these plots may indicate a different pattern for each individual over ...
1
vote
0answers
48 views

Help in interpreting AUC values from ordinal variables

I would appreciate if someone could explain to me the benefit of using area under ROC for evaluating agreements between two raters. Here is an example from two raters on, let's say, clinical time ...
1
vote
0answers
46 views

Simulation for model checks for sample size

In the book Bayesian and Frequentist Regression Methods, Wakefield notes that estimators for coefficients in a linear model will be normal if the error terms are normal or if the sample size is ...
1
vote
1answer
162 views

Visually inspecting normality of variables

I'm using R to plot some graphs for visually inspecting the normality of variables that will go into a linear regression model. Except for a histogram and a QQ plot, what other graphics could I use?
4
votes
1answer
400 views

What diagnostics for random effects logistic regression?

I'm wondering what checks/diagnostics you usually calculate and report if you do a random effects logistic regression. C-statistic/ROC curve Check multicollinearity? Check heteroscedasticity? ...
10
votes
1answer
355 views

Why are diagnostics based on residuals?

In simple linear regression one often wants to verify if certain assumptions are met to be able to do inference (e.g. residuals are normally distributed). Is it reasonable to check the assumptions ...
1
vote
0answers
146 views

Has anyone written a package in R to calculate diagnostic plots after clogit (conditional logistic regression)? e.g. leverage

Has anyone written a package in R to calculate diagnostic plots after clogit, conditional logistic regression? e.g. leverage. Or ...
4
votes
0answers
339 views

Diagnostics for GEE in R

I have been checking out which diagnostics to use for a GEE analysis. It seem that influence measures are appropriate (Preisser, 1996). Does anyone know of a package that can be used in R to examine ...
2
votes
2answers
614 views

does rstandard standardize in z?

I'm new to R, so please be gentle. I was under the impression that rstandard(model) returns the z-scores of the residuals in ...