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
Probit lagged variables- panel dataDear Statalist members, I'm trying to write my dissertation and need your help -I am new to Stata. …
match sample for diff in diff analysisDear Statalist-Users, I'm investigating the liquidity effects of an increase in reporting frequency…
Hadri LM unit root testHi all, I use balanced panel data N=43, T=24 and I want to use Hadri LM unit root test for initial …
Combining two discrete variables into one percentageI'm trying to combine two discrete variables, in this case, cmarried - number of children from marri…
Test to back-up use of OLS over logit/probitI'm conducting a DiD analysis using OLS and I want to verify the robustness of my results by validat…
Subscribe to:
Post Comments (Atom)
0 Response to Model Validation Using Stata
Post a Comment