Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Future/out of sample predictions

    Hello, my question is concerning commands that could be used to make out of sample predictions.
    Specifically, I am wondering if there are official stata commands to achieve the same or equivalent commands that are achieved using gllapred and ci_marg_mu lower upper, level(95) dots? This comes from a presentation given in 2008 by Sophia Rabe-Hasketh which I have attached and we see on page 21 what I am trying to achieve using Stata's mixed command and whatever post estimation commands that would match this. (my data are not binary but the same principles can be applied with proper specifications)...

    The problem is basically that I have data that I want to predict based on a model and I want the ci around that prediction to include uncertainty because they are out of sample predictions etc. If there are other articles or textbooks that anybody here recommends please refer me to those.

    I know it may be vague but the pdf is quite clear and very helpful.

    thank you very much,

    Jean-Michel Galarneau
    Attached Files

  • #2
    You'll increase your chances of a userful answer by following the FAQ on asking questions - provide Stata code in code delimiters, readable Stata output, and sample data using dataex.

    Predict provides predictions and confidence intervals. However, margins won't provide the ci's for the mixed model.

    Comment

    Working...
    X