Hello,
I am looking for a solution to expand my matrices in Mata for some out of sample calculations. For example, we have population data for different 5 age-groups in 10 regions over 2000-2020 (matrix is 200x5). I would like to expand the matrix to include 20 additional years for each region (400x5).
Currently, I import the data to Stata and use xtset and tsappend commands and then import the data to Mata. I was hoping that I can do this directly in Mata.
Thank you.
Related Posts with Out of sample calculations
Ardlhello all, after running the cusum command I am getting this error: Yvar has values outside range […
dropping the outlierHello, I want to know how can I identify and drop the outlier from my data, because when I did a sca…
sdmxuse error with OECD APII have a strange error with "sdmxuse" command. I used the same code a week ago with no issues. Now I…
threshold and moderationDear all, i hope that you are doing good, i would like to know if the threshold variable plays the…
Reshape long multiple variables error invalid "var" 198Hi all, I am having trouble with the reshaping long command. I have read the previous posts, but I w…
Subscribe to:
Post Comments (Atom)
0 Response to Out of sample calculations
Post a Comment