Dear Stata community,
I have a panel gravity dataset. I have trying to run the following models
1. ivppml patents pc1_CS ln_gdp_o ln_gdp_d ln_wdi_gerp_qog_data_o ln_wdi_gerp_qog_data_d ln_tradeflow_baci Inst_Dist ln_dist contig comlang_off colony, inst( new_gendist_plurality ln_gdp_o ln_gdp_d ln_wdi_gerp_qog_data_o ln_wdi_gerp_qog_data_d ln_tradeflow_baci Inst_Dist ln_dist contig comlang_off colony)
what is the mistake I'm doing? when i try to include year_* origin_* and dest_* fixed effects the model does not converge. is this expected?
Array
2. I have tried ivpoisson with the following code. However, i get an error saying "Hessian is not positive semidefinite". How can i correct for this?
ivpoisson gmm patents ln_gdp_o ln_gdp_d ln_wdi_gerp_qog_data_o ln_wdi_gerp_qog_data_d ln_tradeflow_baci Inst_Dist ln_dist contig comlang_off colony ( pc1_CS = new_gendist_plurality)
Related Posts with ivppml and ivpoisson
Trimming certain part of variable labelsI am trying to remove the "R10 D Covid-19 Sp" part from all the variables. I used the Code: cleanch…
Generalized difference in differences with panel dataHi, I am relatively new to Stata so any help would be greatly appreciated! Q: How do I do a general…
Logit, Probit and Penalised Maximum Likelihood (PMLE)Hi all, Just wondering as to why the sample sizes are different when I run Logit/probit and PMLE re…
XTIVREG, FE: needs to be FE in stage 1 and 2?Hi all, I'm running a fixed effects regression using an IV variable, but I'm wondering, do I need t…
7-point ordinal dependent variable: Is it okay to transform and model with fracreg logit?Greetings, I'm running Stata 15.1 on a Mac OS and working with cross-sectional survey data. My depe…
Subscribe to:
Post Comments (Atom)
0 Response to ivppml and ivpoisson
Post a Comment