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
Does ipfweight generate analytical or sampling weight?Hello, I have generated weight in my dataset using 'ipfweight' (https://fmwww.bc.edu/repec/bocode/i…
mixed variance decomposition using nested and crossed panel dataI want to decompose the variation of what I characterize as "concordance scores" by applying the mix…
Effect of Endogeneity on SignificanceDear Statalist, I have a fairly simple doubt, forgive me if it's rather basic, but I was wondering …
Problem with command "reshape" (Stata 14)I have used the command "reshape" for years very frequently. However, when I tried to ran it again t…
How to test if the sum of two parameters are zero when we use mlogit command?Hi I want to know how to test if the sum of two parameters are zero in the mlogit context. <Nota…
Subscribe to:
Post Comments (Atom)
0 Response to cluster 2 varlist not allowed
Post a Comment