Hi Statalisters,
I want to compare the distributional fit of predicted values with the original data. The user written Stata command 'ppplot' by Nicholas J. Cox plots the percentiles of the predictions with the percentiles of the original data. A diagonal line is a perfect distributional fit. In 'Hinloopen, Jeroen; van Marrewijk, Charles (2005) : Comparing Distributions: The Harmonic Mass Index, Tinbergen Institute Discussion Paper, No. 05-122/1' the authors introduce the harmonic mass index which measures the area between the diagonal (e.g. the perfect fit) and the P-P-plot. Besides the graph I want to incorporate this measure in my study, but I am fairly new to Stata and haven't figured out a way how to calculate the HMI.
How can I calculate this measure and are there others measures helping to compare the distributional fit of predictions and original data (besides the ppplot and ksmirnov)?
Kind regards,
Steffen
Related Posts with Measures to compare distributions and the Probability-Probability-Plot
Export Stata Results to Word using TaboutDear Statalisters, I wish to export the results of the tabulate command to a Word file using the ta…
Negative margins value with penalized maximumlikelihood estimatesHello, I've tried the logit with a binary variable but I found out that the sample size is only 95. …
Reshape wideHi all, I would like to reshape wide my unbalanced database which looks as follow: Code: * Exam…
Variance function regression using HAPC (age-period-cohort) Hi Statalist, I am attempting to run a model on stata, specifically, a Variance function regressio…
doubt in svyset for a 3-stage samplingHello everyone, I'm analyzing some country-level data that was sampled in the following way: 1) Co…
Subscribe to:
Post Comments (Atom)
0 Response to Measures to compare distributions and the Probability-Probability-Plot
Post a Comment