hello, everyone!
I cannot find a way to export the results of prtest of a two-sample test of proportions using variables. there is a topic answering this question, however, that is applicable only for the test with a group estimation, which does not work in my case.
my version of stata is 14
this is a command I used, but it didn't work
>>> estpost prtest var1, by(var2)
>>> esttab, cell("b se0 z p") nomtitle nonumber
which I took from - http://repec.org/bocode/e/estout/est...tml#estpost106
however, the estimates are totally different from
>>> prtest var1==var2 (which i need)
please help!
thanks in advance!
I cannot find a way to export the results of prtest of a two-sample test of proportions using variables. there is a topic answering this question, however, that is applicable only for the test with a group estimation, which does not work in my case.
my version of stata is 14
this is a command I used, but it didn't work
>>> estpost prtest var1, by(var2)
>>> esttab, cell("b se0 z p") nomtitle nonumber
which I took from - http://repec.org/bocode/e/estout/est...tml#estpost106
however, the estimates are totally different from
>>> prtest var1==var2 (which i need)
please help!
thanks in advance!
Comment