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
Impute a variable to perform multiple regressionHi, I would like to perform the following multiple regression, w "loglprice" as the dependent varia…
composite measure not adding up?Hi, Relativley new to stata- I am using a data set with 619 participants, I created a composite mea…
problem with forvalue,foreachHi, guys! I want to generate new variable or scalar to record the mean of var1-var6 by group: countr…
Problems with term of interaction and margins commandDear Stata Users, I have a question on the margins command. I have the following (truncated) outpu…
Creating a hierarchy in variables in STATAHello there, I have a survey dataset of patients of those including congenital heart disease. They …
Subscribe to:
Post Comments (Atom)
0 Response to Measures to compare distributions and the Probability-Probability-Plot
Post a Comment