Hi guys
I'm using ivreg2 with Stata 16.0 and windows 10 OS. I want to test the equality of coefficients from 2 different regressions.
[CODE] ivreg2 preco ( ADR DGOV DGOVafvjn1AT DGOVafvjn2AT DGOVafvjn3AT DGOVpfvjn1AT DGOVpfvjn2AT DGOVpfvjn3AT = Receita_l Divtotalliq_l qacoes vmAT_l Divtotalliqafvjn1AT Divtotalliqafvjn2AT Divtotalliqafvjn3AT Divtotalliqpfvjn1AT Divtotalliqpfvjn2AT Divtotalliqpfvjn3AT Receitaafvjn1AT Receitaafvjn2AT Receitaafvjn3AT Receitapfvjn1AT Receitapfvjn2AT Receitapfvjn3AT ReceitaanvjAT DivtotalliqanvjAT ReceitapnvjAT DivtotalliqpnvjAT ReceitalucroAT DivtotalliqlucroAT ReceitaimrGOVADRAT DivtotalliqimrGOVADRAT vmafvjn1AT vmafvjn2AT vmafvjn3AT vmpfvjn1AT vmpfvjn2AT vmpfvjn3AT vmATimrGOVADRAT vmATlucroAT vmATpnvjAT vmATanvjAT qacoesimrGOVADRAT qacoeslucroAT qacoespnvjAT qacoesanvjAT qacoesafvjn1AT qacoesafvjn2AT qacoesafvjn3AT qacoespfvjn1AT qacoespfvjn2AT qacoespfvjn3AT ) afvjn1AT afvjn2AT afvjn3AT pfvjn1AT pfvjn2AT pfvjn3AT pnvjAT anvjAT lucroAT imrGOVADRAT , gmm2s nocons [ \CODE]
[CODE] ivreg2 preco ( ADR DGOV ADRafvjn1AT ADRafvjn2AT ADRafvjn3AT ADRpfvjn1AT ADRpfvjn2AT ADRpfvjn3AT = Receita_l Divtotalliq_l qacoes vmAT_l Divtotalliqafvjn1AT Divtotalliqafvjn2AT Divtotalliqafvjn3AT Divtotalliqpfvjn1AT Divtotalliqpfvjn2AT Divtotalliqpfvjn3AT Receitaafvjn1AT Receitaafvjn2AT Receitaafvjn3AT Receitapfvjn1AT Receitapfvjn2AT Receitapfvjn3AT ReceitaanvjAT DivtotalliqanvjAT ReceitapnvjAT DivtotalliqpnvjAT ReceitalucroAT DivtotalliqlucroAT ReceitaimrGOVADRAT DivtotalliqimrGOVADRAT vmafvjn1AT vmafvjn2AT vmafvjn3AT vmpfvjn1AT vmpfvjn2AT vmpfvjn3AT vmATimrGOVADRAT vmATlucroAT vmATpnvjAT vmATanvjAT qacoesimrGOVADRAT qacoeslucroAT qacoespnvjAT qacoesanvjAT qacoesafvjn1AT qacoesafvjn2AT qacoesafvjn3AT qacoespfvjn1AT qacoespfvjn2AT qacoespfvjn3AT ) afvjn1AT afvjn2AT afvjn3AT pfvjn1AT pfvjn2AT pfvjn3AT pnvjAT anvjAT lucroAT imrGOVADRAT , gmm2s nocons [\CODE]
I want to test if [CODE] DGOVafvjn1AT = ADRafvjn1AT [\CODE]
I tried to use suest, but I keep getting a predict error. I believe is not compatible with ivreg2.
I'm not able to send a pick of my dataset because there is too many variables and exceed linesize limit from dataex.
Can anyone help me with this?
Related Posts with F-tests on coefficients of non-nested regressions
Calculate AUC and diagnostic accuracy for each outcome after mlogitHi all, I am trying to fit a multinomial model for four outcomes using mlogit in Stata. I wonder i…
Estimate incidence rate (looping)Hello all, I currently have the dataset below. I want to calculate the incidence rate for each mont…
How to change label position with coeffplot ?Good morning everyone, I have the following code that plots my coefficient : Code: coefplot /// (…
Can you help me write Two-step system GMM command ?Hello everyone, to not take from ure time much, im trying to run Two-step system GMM and i dont kno…
how to create a table that display a variable's summary stats by year and statusHi! As indicated in the title, I wonder how I can create a table to display a variable's summary st…
Subscribe to:
Post Comments (Atom)
0 Response to F-tests on coefficients of non-nested regressions
Post a Comment