# Questions tagged [goodness-of-fit]

Goodness of fit tests indicate whether or not it is reasonable to assume that a random sample comes from a specific distribution.

1,077 questions
Filter by
Sorted by
Tagged with
1 vote
13 views

### Comparing goodness of fit across parametric and semi-parametric survival models

I've been learning about time-to-event analysis and playing with open datasets + fitting various Cox and parametric models for practice. Other than by visually inspecting the estimated survival curves ...
• 13
27 views

### Validating random variable generation from inverse transform sampling

I'm building a simulator and I have to implement some probability distributions. What is the best (formal) way of validating this implementation? I took a look at KS-tests but it seems to me they are ...
1 vote
22 views

### How to compare the goodness of fit between linear and logit? Why linear deviance is less than logit?

How can I evaluate which model - between linear and logit - determine the best fit to the data? The models use the same input variables and I thought that comparing the deviances was the proper choice ...
• 11
39 views

### Chi square of 0.00, but acceptable (other) fit indices?

I am running a path analysis for a sample of 75 participants using RStudio. I am comparing two models and have to decide which one to use (I am in favor of Model A, but because of the Chi-square: 0, I ...
18 views

### Chi square fit, fitting data to a straight line: Incomplete gamma function as goodness-of-fit estimation

On page 661 of the book "Numerical Recipes in C:The art of scientific computing", we fit a set of N data points $(x_{i}, y_i)$ to a straight line model $$y(x)=a+bx.$$ We do this by ...
• 11
29 views

### Does $R^2$ measure goodness of fit or not? [duplicate]

I have been warned against $R^2$ as goodness of fit before, but am unsure why. What is wrong with using it to characterize how well a line fits data points? I have looked at a few sources to try and ...
• 13