Hi All,
I am running models using the GSEM command for three outcomes (gender wage gap, migrant wage gap, and class wage gap) for workplaces over the period 1996 to 2016 (Please note the data I am using are restricted and so I cannot post the dataex option. Hopefully my description will suffice).
I am interested in observing how the covariance structure of the three combinations of these variables (i.e. gender gap--migrant gap; gender gap--class gap; and migrant gap--class gap) changes over time by plotting the covariance coefficient of each combination for each year. That is, I would estimate the model for each year but I need a convenient way of storing (in Excel or Stata -- whichever is easiest) the covariances for each combination in each year.
I've seen this thread (https://www.statalist.org/forums/for...excel-or-latex) for exporting the covariance matrix to Excel. This is related, but my specific problem is how to export (or save in Stata) the covariance structure and append this for each year.
Related Posts with Exporting Covariance Structure to Excel by Year
Tests of robustness?Hey all, I am new in Statalist and I am looking for help concerning tests of robustness. I shall do…
rocreg cut-off at 95% specificity?Hi, I have run an roc regression with a binary outcome binvar1 and continuous predictor contvar2, se…
Matrix colnamesHi all, I want to add an additional row in a matrix, which displays the names of grouped columns. T…
baseline adjustment in multiple time pointHi Statalisters, Code: clear set seed 1234 set obs 200 gen id = _n expand 3 sort id bysort id: ge…
replacing all values in one variable[CODE ]NEWID plot Q1 Q2 1 _01 12 100 1 _02 21 100 1 _03 32 100 1 _04 35 100 1 _05 38 100 1 _06 44 10…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting Covariance Structure to Excel by Year
Post a Comment