Hi, I'm replicating a report, and this is the attached do-file
use wintertime_final, clear
gen snodas_weighted=snodas_max+(.25+.125*west)*(fsnoda s_max-snodas_max)
xi i.wk i.sn
cluster2 resort wk2 _I*, tcluster(d) fcluster(sn)
outreg2 using table2, replace excel dec(3) keep(wk2)
cluster2 resort wk2 _I* if snodas_max~=., tcluster(d) fcluster(sn)
outreg2 using table2, excel dec(3) keep(wk2)
cluster2 resort wk2 snodas_max _I*, tcluster(d) fcluster(sn)
outreg2 using table2, excel dec(3) keep(wk2 snodas_max)
cluster2 resort wk2 snodas_weighted _I*, tcluster(d) fcluster(sn)
outreg2 using table2, excel dec(3) keep(wk2 snodas_weighted)
cluster2 resort wk2 fsnodas_max snodas_max lsnodas_max _I*, tcluster(d) fcluster(sn)
outreg2 using table2, excel dec(3) keep(wk2 fsnodas_max snodas_max lsnodas_max)
But I cannot use cluster 2 (I installed cluster2.ado), each time I run the data, it shows "varlist not allowed",
Can anyone help me in this one?
Thank you!
Related Posts with cluster 2 varlist not allowed
Tabulation only for freq>=5Hello, I am running this tabulate command to display some studentized residuals: tabulate cname if …
Coupled forestplotDear Stata user, I could create one with the midas command using the following code: midas tp fp fn …
Difference in Difference EstimationDear All, My goal is to find out the impact of migration on several firm level performance measures…
Import Excel Loop issuesHello everyone, I'm trying to write code to import certain worksheets from an excel workbook, but I …
Spatial Panel analysis for SYS-GMMHello, I have a problem. I have my model SYS_GMM (level e diff) done by using xtabond2 of Arellano a…
Subscribe to:
Post Comments (Atom)
0 Response to cluster 2 varlist not allowed
Post a Comment