Announcement

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

  • Prediction with new data in gsem: gets error ' data have changed since estimation'

    Hi all!

    I estimated a gsem model. Now I want to apply this model to a new database to see how my result change. I used 'predict', but then Stata tells me that my data have changed and that he can't do this. Is this true or should I do something differently? It should be possible to apply your model on a new dataset, no?

    Code:
    predict probhat*, mu
    (option conditional(ebmeans) assumed)
    data have changed since estimation;
    prediction of empirical Bayes means requires the original estimation data
    r(459);
    Thanks in advance!
Working...
X