Hello,
I am working on an assignment which involves the presentation of multiple regressions in tables. So far I managed to create the regressions and to put them on display using esttab, but I have some formatting requirements that confine me. I know that the one-sided p-value of a beta coef in a regression is basically the two sided p-value divided by 2 but I have to use the one sided to decide where to put the stars.
I have a stored model called model_1 and i am trying to format it like that:
estout model_1, cells(b beta(star fm(2)) t(abs par)) legend starlevels(* .05 ** .01) drop(_cons)
this one is taking however the two-sided p-values. I also tried to access the e() array to get the e(p_u) value using:
estout model_1, cells(b beta(pvalue(p_u)star fm(2)) t(abs par)) legend starlevels(* .05 ** .01) drop(_cons)
but it seems empty. Do you have any idea how to achieve that final bit of formatting?
PS: I am doing a simple OLS Regression with
regress x_1 x_2 x_3 x_4, beta
Kind regards,
Todor Kostov
I am working on an assignment which involves the presentation of multiple regressions in tables. So far I managed to create the regressions and to put them on display using esttab, but I have some formatting requirements that confine me. I know that the one-sided p-value of a beta coef in a regression is basically the two sided p-value divided by 2 but I have to use the one sided to decide where to put the stars.
I have a stored model called model_1 and i am trying to format it like that:
estout model_1, cells(b beta(star fm(2)) t(abs par)) legend starlevels(* .05 ** .01) drop(_cons)
this one is taking however the two-sided p-values. I also tried to access the e() array to get the e(p_u) value using:
estout model_1, cells(b beta(pvalue(p_u)star fm(2)) t(abs par)) legend starlevels(* .05 ** .01) drop(_cons)
but it seems empty. Do you have any idea how to achieve that final bit of formatting?
PS: I am doing a simple OLS Regression with
regress x_1 x_2 x_3 x_4, beta
Kind regards,
Todor Kostov
Comment