Dear All,
I am trying to create a table following the use of the command gologit2, a command written by Richard Williams, https://journals.sagepub.com/doi/abs...867X0600600104 , but I find it difficult to use the collect and table commands to create and export tables from the gologit2 command.
When running e.g. the ordered logit model, due to the proportional odds assumption, there is only one set of estimated parameters (e.g. _r_b and _r_se) for each explanatory variable. However, the generalised order logit model allows for different estimated parameters for each level of the explained variable.
When looking at the result window in Stata after running the code:
The table is as expected, one subset of estimated parameters for each region, NE, MW and S. However, when I
the results, all the results are there but the regional separation disappears. When I use
I see that the levels of the variable region is there, but I am not able to create one column of results from each of these levels of the variable region.
I had hoped that I could export a table with 3 columns, one for each region, with estimated coefficients (_r_b) and estimated standard errors (_r_se). However, I have not had any luck with this. Has anyone else had a similar problem? Or is there anyone out there who know how to create this type of tables after running the gologit2 regression?
In addition, there are two tables following gologit2, first the regression table as discussed above, and then a second table called “alternative parameterization”. This table is stored in ereturn, with estimated coefficients, e(gamma_b), and estimated standard error, e(gamma_se). Can this table be sent to the Tables Builder using db tables?
I am thankful for all comments and suggestions!
I am trying to create a table following the use of the command gologit2, a command written by Richard Williams, https://journals.sagepub.com/doi/abs...867X0600600104 , but I find it difficult to use the collect and table commands to create and export tables from the gologit2 command.
When running e.g. the ordered logit model, due to the proportional odds assumption, there is only one set of estimated parameters (e.g. _r_b and _r_se) for each explanatory variable. However, the generalised order logit model allows for different estimated parameters for each level of the explained variable.
When looking at the result window in Stata after running the code:
Code:
use https://www.stata-press.com/data/r18/nhanes2d.dta gologit2 region age sex, auto gamma(m1) or
Code:
etable
Code:
db tables
I had hoped that I could export a table with 3 columns, one for each region, with estimated coefficients (_r_b) and estimated standard errors (_r_se). However, I have not had any luck with this. Has anyone else had a similar problem? Or is there anyone out there who know how to create this type of tables after running the gologit2 regression?
In addition, there are two tables following gologit2, first the regression table as discussed above, and then a second table called “alternative parameterization”. This table is stored in ereturn, with estimated coefficients, e(gamma_b), and estimated standard error, e(gamma_se). Can this table be sent to the Tables Builder using db tables?
I am thankful for all comments and suggestions!
Comment