We wish to predict GPA from teacher ratings of effort, writing We do not know the exact value of GPA for each student we only know the interval in which theirĮxample 3. The measure of GPA is a self-report response to the following item: Select the category that best represents your overall GPA.Īgain, we have a situation with both interval censoring and left- and right-censoring.
We wish to predict GPA from teacher ratings of effort and from reading and writing test Analyses of this type require a generalization of censored regressionĮxample 2. The other categories are interval censored, that is, each interval is both That the extreme values of the categories on either end of the range are either left-censored Rather, we only have data on the income ranges: We do not have access to the precise values for income. We wish to model annual income using years of education and marital status. Examples of interval regressionĮxample 1. In particular, it does not cover dataĬleaning and checking, verification of assumptions, model diagnostics or It does not cover all aspects of the research process which
#Prediction stata how to#
Please note: The purpose of this page is to show how to use various dataĪnalysis commands. Regression is a generalization of censored regression. In other words, you know the ordered category into which each observation falls,īut you do not know the exact value of the observation. Interval regression is used to model outcomes that have interval censoring. Version info: Code for this page was tested in Stata 12.