Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Marginal effects (Swapping columns and rows)

    Hi guys! I need your help.
    Until now i was able to do a ordered probit regression and get the avegare marginal effects after that.

    At the moment, i was able to create a table like this in word.

    Click image for larger version

Name:	image.png
Views:	2
Size:	50.0 KB
ID:	1703927


    I was wondering if there is any way to swap the columns (variables) and the rows?

    This is my code at the moment:
    -oprobit literacia_financeira idade idade_quadrado sexo estado_civil escolaridade area_estudos estatuto_profissional rendimento resultado_numeracia excesso_confiança1 excesso_confiança2 aversao_risco paciencia auto_controlo, vce(robust)
    -estpost margins, dydx(idade idade_quadrado sexo estado_civil escolaridade area_estudos estatuto_profissional rendimento resultado_numeracia excesso_confiança1 excesso_confiança2 aversao_risco paciencia auto_controlo)
    -esttab . using "literacia financeira.rtf", unstack compress pr2 se

    P.S.: (Sorry about my english, is not the best as you can see )

  • #2
    Welcome to Statalist. See http://repec.org/bocode/e/estout/adv...ml#advanced907. Also see #2 https://www.statalist.org/forums/for...erent-commands for something similar to your problem. estout is from SSC (FAQ Advice #12).

    Comment

    Working...
    X