Hi all,
I have a question about how to do model validation using Stata.
I used a training dataset to run regression and get the coefficients of the regressions. I want to first, save the result of these coefficients and second, use these coefficients in a new dataset to do prediction and calculate MSE, MPE, etc.
I have many variables and one categorical variable has around 3000 values. I wonder if anyone knows how to save the regression coefficients and then apply them to the new dataset to do prediction.
Thanks!
Related Posts with Model Validation Using Stata
Local macro returns variable name and subscript rather than valueHi Statalist, I am trying to rename a set of variables in Stata 16.1. The new variable name I want …
ARCH effect after fitting GARCH(1,1)I am trying to messure volatility of return on stock index by using GARCH(1,1) but the ARCH-LM test …
reshape 4-levels wide format to 2X2 long formatHello, I have designed a 2✖2 within-subject design and get a 4-level repeated measure, how could I …
FMB Newey SE errorHi, I'm trying to run the asreg dv ivs, fmb newey(int) command on my data, but i get an error messa…
Help with collapse (sum) commandI have a dataset, which has a (country_name) variable and a count of (requests) sent from that count…
Subscribe to:
Post Comments (Atom)
0 Response to Model Validation Using Stata
Post a Comment