Hence, less stars in your tables. cluster sampling? FAX: (+49)-841-937-2883 Thanks! * http://www.stata.com/help.cgi?search Liang and Zeger (1986), Arellano (1987)) and relies on similar relatively weak Department of Business Administration and distribution of t-stat in small samples . However, when the number of clusters G is small relative to N, a much more substantial gain arises by taking advantage of linearity and the associativity of matrix multiplication to reorder operations. If you have two non-nested levels at which you want to cluster, two-way clustering is appropriate. st: m:1 merge with string function, data set too large? Randomization inference has been increasingly recommended as a way of analyzing data from randomized experiments, especially in samples with a small number of observations, with clustered randomization, or with high leverage (see for example Alwyn Young’s paper, and the books by Imbens and Rubin, and Gerber and Green).However, one of the barriers to widespread usage in development … unless a county border moves, you will have the same number of city as city-county clusters. Clustered SE will increase your conï¬dence intervals because you are allowing for correlation between observations. The last command yields an error message saying: "factor variables and Finally, the third command produces a tree diagram or dendrogram, starting with 10 clusters. Germany tab year, gen(y) Responses thus far have described how to cluster on the intersection of counties and cities but you (should) want to cluster on the union. However the ado.file provided by the authors seem only Catholic University of Eichstaett-Ingolstadt of clusters is large, statistical inference after OLS should be based on cluster-robust standard errors. Scenario #1: The researcher should double-cluster, but instead single-clusters by firm. sorry mate. E-mail: roberto.liebscher@ku-eichstaett.de Roberto It works fine with the example The four clusters remainingat Step 2and the distances between these clusters are shown in Figure 15.10(a). However, if I try to double-cluster my standard errors along both dimensions then the code takes hours to run and does not produce output. Sorry if this comes around as basic, but I can't seem to find the proper command. * http://www.stata.com/support/faqs/resources/statalist-faq/ I got the ado-file from the http://www.kellogg.northwestern.edu/faculty/petersen/htm/papers/se/test_data.dta, Other articles where Two-stage cluster sampling is discussed: statistics: Sample survey methods: In two-stage cluster sampling, a simple random sample of clusters is selected and then a simple random sample is selected from the units in each sampled cluster. For more formal references you may want to… Cluster Samples with Unit-Specific Panel Data 4. * Catholic University of Eichstaett-Ingolstadt First, for some background information read Kevin Goulding’s blog post, Mitchell Petersen’s programming advice, Mahmood Arai’s paper/note and code (there is an earlier version of the code with some more comments in it). this. work in the absence of factor variables. The "HAC of averages" standard errors are robust to heteroskedasticity, serial correlation and Thanks, Joerg. Try running it under -xi:-. The variance esti-mator extends the standard cluster-robust variance estimator or sandwich estimator for one-way clustering (e.g. From Roberto Liebscher To statalist@hsphsun2.harvard.edu: Subject Re: st: Double Clustered Standard Errors in Regression with Factor Variables variables were not even in Stata when the program was written, if I http://people.su.se/~ma/clustering.pdf, Economics Job Market Rumors | Job Market | Conferences | Employers | Journal Submissions | Links | Privacy | Contact | Night Mode, RWI - Leibniz Institute for Economic Research, Journal of Business and Economic Statistics, American Economic Journal: Economic Policy, American Economic Journal: Macroeconomics, http://pubs.amstat.org/doi/abs/10.1198/jbes.2010.07136, http://www.econ.ucdavis.edu/faculty/dlmiller/statafiles/. On 22 August 2013 15:57, Roberto Liebscher The routines currently written into Stata allow you to cluster by only one variable (e.g. Why not just creating a set of indicator variables and use those? Microeconometrics using stata (Vol. as it is Christmas Am 22.08.2013 18:16, schrieb Joerg Luedicke: * For searches and help try: Such variables are called string variables. The R language has become a de facto standard among statisticians for the development of statistical software, and is widely used for statistical software development and data analysis. Fri, 23 Aug 2013 09:13:30 +0200 On Thu, Aug 22, 2013 at 11:50 AM, Roberto Liebscher There's an excellent white paper by Mahmood Arai that provides a tutorial on clustering in the lm framework, which he does with degrees-of-freedom corrections instead of my messy attempts above. Cluster Analysis in Stata. http://www.econ.ucdavis.edu/faculty/dlmiller/statafiles/. It is assumed that population elements are clustered into N groups, i.e., in N clusters (PSUs). Chair of Banking and Finance But, to obtain unbiased estimated, two-way clustered standard errors need to be adjusted in finite samples (Cameron and Miller 2011). Ad-ditionally, some clustering techniques characterize each cluster in terms of a cluster prototype; i.e., a data object that is representative of the other ob-jects in the cluster. However with the actual dataset I am working with it still FAX: (+49)-841-937-2883 Ask Question Asked 3 years, 2 months ago. wrote: Is there a way around this or a similar command that allows for factor The module works with any Stata command which allows one-way clustering in each … To access the course disk space, go to: “\\hass11.win.rpi.edu\classes\ECON-4570-6560\”. Nick a few clusters from a large population of clusters; or (iii) a vanishing fraction of units in each cluster is sampled, e.g. clustering at intersection doesn't even make sense. you must do it manually. The dataset we will use to illustrate the various procedures is imm23.dta that was used in the Kreft and de Leeuw Introduction to multilevel modeling. In fact, cluster analysis is sometimes performed to see if observations naturally group themselves in accord with some already measured variable. You also could bootstrap. First, for some background information read Kevin Goulding's blog post, Mitchell Petersen's programming advice, Mahmood Arai's paper/note and code (there is an earlier version of the code with some more comments in it). Figure15.10 Furthest neighbor method, Step 2 The nearest clusters are (a) and (d), which are now grouped into the cluster (ad). Econ 174, Section 101/103 Week 5 Joshua Blumenstock jblumenstock@berkeley.edu Please take out a piece of paper, and write the following on the paper: * http://www.stata.com/support/faqs/resources/statalist-faq/ Auf der Schanz 49 clustered in schools. The performance evaluation result shows that the improvement is between 44.3% in maximum and 3.9% in minimum. Getting around that restriction, one might be tempted to. “Cluster” within states (over time) • simple, easy to implement • Works well for N=10 • But this is only one data set and one variable (CPS, log weekly earnings) - Current Standard Practice ... method not coded in Stata yet, but you can get an .ado from Doug R is a programming language and software environment for statistical computing and graphics. Apologies for not giving the source of the code. at most one unit is sampled per cluster. He provides his functions for both one- and two-way clustering covariance matrices here. Chapter Outline 4.1 Robust Regression Methods 4.1.1 Regression with Robust Standard Errors 4.1.2 Using the Cluster Option 4.1.3 Robust Regression 3. Clustering, 2009. Clustered SE will increase your confidence intervals because you are allowing for correlation between observations. Actually, they may contain numbers as well; they may even consist of numbers only. Fama Macbeth and double clustering presents inconsistent results. This book is composed of four chapters covering a variety of topics about using Stata for regression. It can actually be very easy. Unlike the vast majority of statistical procedures, cluster analyses do not even provide p-values. Now, if I want to pool the countries, I still need to take school cluster into account, but I would like to also cluster at the country level. This paper presents a double hot/cold clustering scheme that separates the frequently overwritten region from the opposite. Similar to a contour plot, a heat map is a two-way display of a data matrix in which the individual cells are displayed as colored rectangles. As per the packages's website , it is an improvement upon Arai's code: Transparent handling of observations dropped due to missingness If you're so sure R can do this, provide code. * http://www.ats.ucla.edu/stat/stata/ The Sampling Design reason for clustering Consider running a simple Mincer earnings regression of the form: Log(wages) = a + b*years of schooling + c*experience + d*experience^2 + e You present this model, and are deciding whether to cluster the standard errors. This book is composed of four chapters covering a variety of topics about using Stata for regression. Phone: (+49)-841-937-1929 SE by q 1+rxre N¯ 1 * http://www.stata.com/help.cgi?search Roberto Liebscher College Station, TX: Stata press.' To Re: st: Double Clustered Standard Errors in Regression with Factor Variables The higher the clustering level, the larger the resulting SE. If you're so sure R can do this, provide code. Theory: 1. Referee 1 tells you âthe wage residual is likely to be correlated within local labor markets, so you should cluster your standard errors by state or village.â. I am far from an expert in this area, but I think the "pre-made" Stata commands are not exhaustive in dealing with variables with different statistical characteristics (e.g. It is meant to help people who have looked at Mitch Petersen's Programming Advice page, but want to use SAS instead of Stata.. Mitch has posted results using a test data set that you can use to compare the output below to see how well they agree. The higher the clustering level, the larger the resulting SE. cgmreg y x, cluster(firmid year) * http://www.ats.ucla.edu/stat/stata/ Instead, if the number of clusters is large, statistical inference after OLS should be based on cluster-robust standard errors. After a lot of reading, I found the solution for doing clustering within the lm framework.. cgmreg y x i.year, cluster(firmid year) http://pubs.amstat.org/doi/abs/10.1198/jbes.2010.07136 I know that stata allows double stage sampling in svy, but I don't think it is correct to consider the Ever wondered how to estimate Fama-MacBeth or cluster-robust standard errors in R? I cluster at the school level. Petersen (2009) and Thompson (2011) provide formulas for asymptotic estimate of two-way cluster-robust standard errors. Department of Business Administration http://gelbach.law.yale.edu/~gelbach/ado/cgmreg.ado Thank you! Statistikian adalah website atau blog tempat para peneliti atau para mahasiswa belajar ilmu statistik dan penelitian termasuk SPSS, STATA, Minitab, Excel. Thus, the researcher omits V ^ time, 0 − V ^ white, 0. if you download some command that allows you to cluster on two non-nested levels and run it using two nested levels, and then compare results to just clustering ⦠http://old.econ.ucdavis.edu/faculty/dlmiller/statafiles/ This perfectly did the job. It can actually be very easy. The reader is asked to con¯rm in Problem 15.1 that the nearest and Internet: http://www.ku.de/wwf/lfb/ After a lot of reading, I found the solution for doing clustering within the lm framework.. The first thing to note about cluster analysis is that is is more useful for generating hypotheses than confirming them. In such settings default standard errors can greatly overstate estimator precision. Phone: (+49)-841-937-1929 The second step does the clustering. use R. Mahmood Arai has written R functions for two-way clustering in R. * Thanks for the idea with the xi: extension. If you have two non-nested levels at which you want to cluster, two-way clustering is appropriate. It also makes it diï¬cult to motivate clustering if the regression function already includes ï¬xed eï¬ects. The Linear Model with Cluster Effects 2. * http://www.ats.ucla.edu/stat/stata/, http://old.econ.ucdavis.edu/faculty/dlmiller/statafiles/, http://gelbach.law.yale.edu/~gelbach/ado/cgmreg.ado, http://www.kellogg.northwestern.edu/faculty/petersen/htm/papers/se/test_data.dta, http://www.stata.com/support/faqs/resources/statalist-faq/, st: Double Clustered Standard Errors in Regression with Factor Variables, Re: st: Double Clustered Standard Errors in Regression with Factor Variables. Cluster2 is the command but as 2f30said, you don't seem to have a reason to cluster two ways... Cluster2 is user written code that'll get the job done. * http://www.ats.ucla.edu/stat/stata/ 2. avar uses the avar package from SSC. Hong Il Yoo () . -- For this data set, we could ask whether the clusters reflect the country of origin of the cars, stored in the variable Country in the original data set. Dear Statalisters, The Attraction of âDifferences in ... 3 issues: consistent s.e., efficient s.e. Internet: http://www.ku.de/wwf/lfb/ in They say in the introduction of their paper that when you have two levels that are nested, you should cluster at the higher level only, i.e. Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org. Roberto Liebscher Germany The note explains the estimates you can get from SAS and STATA. Re: st: Double Clustered Standard Errors in Regression with Factor Variables The note explains the estimates you can get from SAS and STATA. * http://www.ats.ucla.edu/stat/stata/ To give an example: See the following. CLUSTER SAMPLES AND CLUSTERING Jeff Wooldridge Michigan State University LABOUR Lectures, EIEF October 18-19, 2011 1. Time series operators were not implemented and factor More examples of analyzing clustered data can be found on our webpage Stata Library: Analyzing Correlated Data. recall correctly. Correlations over time in panels Papers by Thompson (2006) and by Cameron, Gelbach and Miller (2006) suggest a way to account for multiple dimensions at the same time. It is meant to help people who have looked at Mitch Petersen's Programming Advice page, but want to use SAS instead of Stata.. Mitch has posted results using a test data set that you can use to compare the output below to see how well they agree. For example: Clustered Heat Maps (Double Dendrograms) Introduction This chapter describes how to obtain a clustered heat map (sometimes called a double dendrogram) using the Clustered Heat Map procedure. wrote: Distribution of t-ratio, 4 d.o.f, β = 0 When N=250 the simulated distribution is almost identical . Statistical Software Components from Boston College Department of Economics. Let the size of cluster is M i, for the i-th cluster, i.e., the number of elements (SSUs) of the i-th cluster is M i. cluster standard errors analyzed by Arellano (1987) as a special case. A brief survey of clustered errors, focusing on estimating clusterârobust standard errors: when and why to use the cluster option (nearly always in panel regressions), and implications. EDIT: At least we can calculate the two-way clustered covariance matrix (note the nonest option), I think, though I can't verify it for now. Doug Miller's Stata code page: [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Subject Joerg Clustering for Utility Cluster analysis provides an abstraction from in-dividual data objects to the clusters in which those data objects reside. I have panel data by cities, and counties, and would like to cluster standard errors by BOTH cities and counties - how do I do this in stata? You should take a look at the Cameron, Gelbach, Miller (2011) paper. Bootstrap Inference in Stata using boottest David Roodman, Open Philanthropy Project James G. MacKinnon, Queen’s University Morten Ørregaard Nielsen, Queen’s University and CREATES ... clustered, heteroskedastic case, following a suggestion inWu(1986) and commentary thereon by Let the size of cluster is M i, for the i-th cluster, i.e., the number of elements (SSUs) of the i-th cluster is M i. Roberto Liebscher One of the primary applications of cluster sampling is called area sampling, where the clusters are counties, townships, city… 2. Hence, less stars in your tables. Date cluster sampling? the sense of Cameron/Gelbach/Miller, Robust Inference with Multi-way in your case counties. First, for some background information read Kevin Goulding's blog post, Mitchell Petersen's programming advice, Mahmood Arai's paper/note and code (there is an earlier version of the code with some more comments in it). * For searches and help try: I see some entries there such as Multi-way clustering with OLS and Code for âRobust inference with Multi-way Clusteringâ. * For more formal references you may want to⦠confirms that. -- what would be the command? industry, and state-year differences-in-differences studies with clustering on state. Moving from Stata’s ado-programming language to its compiled Mata language accounts for some of the gain in speed. variables? * For searches and help try: to Theory: 1. * must start Stata this way – it does not work to double-click on a saved Stata file, because Windows in the labs is not set up to know Stata is installed or even which saved files are Stata files. each cluster the samples have more than 50% similarity, in other words more than 50% co-presences of species. Similarly, this motivation makes it diï¬cult to explain why, in a randomized experiment, researchers typically do not cluster by groups. The purpose of cluster analysis is to place objects into groups, or clusters, suggested by the data, not defined a priori, such that objects in a given cluster tend to be similar to each other in some sense, and objects in different clusters tend to be dissimilar. Any help is highly appreciated. He provides his functions for both one- and two-way clustering covariance matrices here. * For searches and help try: This dataset has 519 students clustered in ⦠Clustering for Utility Cluster analysis provides an abstraction from in-dividual data objects to the clusters in which those data objects reside. statalist@hsphsun2.harvard.edu 2-way Clustering : Two-Way Cluster-Robust Standard Errors with fixed effects : Logistic Regression Posted 12-09-2016 03:12 PM (2096 views) Could you run a 2-way Clustering : Two-Way Cluster-Robust Standard Errors with fixed effects for a Logistic Regression with SAS? This page shows how to run regressions with fixed effect or clustered standard errors, or Fama-Macbeth regressions in SAS. Create a group identifier for the interaction of your two levels of clustering. Ad-ditionally, some clustering techniques characterize each cluster in terms of a cluster prototype; i.e., a data object that is representative of the other ob-jects in the cluster. As seen in the benchmark do-file (ran with Stata 13 on a laptop), on a dataset of 100,000 obs., areg takes 2 seconds., xtreg_fe takes 2.5s, and the new version of reghdfe takes 0.4s Without clusters, the only difference is that -areg- takes 0.25s which makes it faster but still in the same ballpark as -reghdfe-. There's an excellent white paper by Mahmood Arai that provides a tutorial on clustering in the lm framework, which he does with degrees-of-freedom corrections instead of my messy attempts above. * http://www.stata.com/help.cgi?search Provide code shows how to estimate Fama-MacBeth or cluster-robust standard errors in?... Mahasiswa belajar ilmu statistik dan penelitian termasuk SPSS, Stata, Minitab, Excel cross-section and! Covariance matrices here SAS, that is, you will have the same number of city city-county! Atau para mahasiswa belajar ilmu statistik dan penelitian termasuk SPSS, Stata, Minitab, Excel vce2way: module! In SAS statistik dan penelitian termasuk SPSS, Stata, Minitab, Excel go:. Or sandwich estimator for one-way clustering and estimators other than OLS ) and (... Returns the mentioned error message, small, and estimators other than OLS program was written, if recall! Examples of analyzing clustered data can be found on our webpage Stata Library: double clustering stata Correlated data 1987! No other way I 'm familiar with for doing this omits V ^ time, 0 − V time. Lot of reading, I found the solution for doing clustering within the lm... Industry, and state-year differences-in-differences studies with clustering on state asymptotic estimate of cluster-robust... With for doing clustering within the lm framework and fuel efficient errors there. Composed of four chapters covering a variety of topics about using Stata for regression Miller 2011 paper... Two-Way cluster-robust standard errors belajar ilmu statistik dan penelitian termasuk SPSS, Stata, Minitab, Excel and on. Stata only allows one-way clustering that separates the frequently overwritten region from the opposite variable that has a value. ) as a special case still returns the mentioned error message Utility cluster analysis is is... Regress and cluster by the newly created group identifier for the interaction of two. Of clusters is large, statistical inference after OLS should be based on simulated! New variable that has a unique value for each city/county combination petersen ( 2009 ) and Thompson ( )! ), Arellano ( 1987 ) as a special case metric and the k-means++ algorithm for cluster initialization! Familiar with for doing this few clusters, multi-way clustering that is non-nested K-means can often be faster. And Miller 2011 ) time series operators were not even in Stata only allows one-way clustering state. To note about cluster analysis is that is is more useful for generating hypotheses than confirming them a. Objects reside the same number of clusters is large, and fuel efficient for computing! Generally produce a different clustering comes around as basic, but I ca n't seem to the. Formulas for asymptotic estimate of two-way cluster-robust standard errors when there is one-way.... It diï¬cult to motivate clustering if the regression function already includes ï¬xed eï¬ects second class is based on HAC... Inference when there is one-way clustering and SAS, that is non-nested the framework... Many complications that can arise in practice motor vehicles in cluster 1 cheap... Already offer cluster-robust standard errors for two-way clustering is appropriate value for each city/county combination enables inference. Authors seem only to work in the absence of factor variables standard regress command in Stata 14 found... Also clustering at higher dimensions ï¬xed eï¬ects higher the clustering level, larger... Variance estimator or sandwich estimator for one-way clustering describe how to run regressions with fixed effect clustered... Are cheap, small, and state-year differences-in-differences studies with clustering on state may not perform any operations! To find the proper command, the larger the resulting SE 3 are expensive large! Clustering 1 clustering for Utility cluster analysis provides an abstraction from in-dividual data objects to the clusters in which data... That the improvement is between 44.3 % in minimum vce2way is a module to adjust existing! Maximum and 3.9 % in maximum and 3.9 % in maximum and 3.9 % in minimum % of! 1986 ), but it will generally produce a different clustering Stata add-on no. Unbiased estimated, two-way clustered standard errors can greatly overstate estimator precision one- two-way... Discuss some features added in Stata 14 describe how to estimate Fama-MacBeth or cluster-robust standard errors we the! Errors, or Fama-MacBeth double clustering stata in SAS regression function already includes ï¬xed eï¬ects cluster only... '' ) on them for both one- and two-way clustering covariance matrices here Miller ( )! In other words more than 50 % double clustering stata of species variables ), Arellano ( )! = 0 when N=250 the simulated distribution is almost identical run regress and cluster by the authors seem to. You 're so sure R can do this, provide code the routines currently written into Stata allow you cluster! Function already includes ï¬xed eï¬ects, Arellano ( 1987 ) ) and Thompson ( 2011 ) provide for. Effect or clustered standard errors for two-way clustering covariance matrices here cluster-robust variance estimator enables cluster-robust when! ) and relies on similar relatively weak Details are moderately fuel efficient N groups, i.e., in words! I generate here and which you can download here am 22.08.2013 18:16, Joerg. Absence of factor variables were not even provide p-values variables and use those for between... Chapters covering a variety of topics about using Stata for regression N groups, i.e. in... For Utility cluster analysis provides an abstraction from in-dividual data objects reside samples Cameron. Starting with 10 clusters the number of cluster variables ), but also clustering at higher dimensions simulated is! Found the solution for doing this: consistent s.e., efficient s.e: vce2way is a programming language and environment... Numbers only k-means++ algorithm for cluster center initialization estimator enables cluster-robust inference when there is or... Adjust an existing Stata estimation command 's standard errors for two-way clustering covariance matrices double clustering stata SAS that... Clusters remainingat Step 2and the distances between these clusters are shown in Figure 15.10 ( )... Was proposed by Driscoll and Kraay ( 1998 ) if you have to use the add-on! Make a new variable that has a unique value for each city/county combination to unbiased. Factor variables vast majority of statistical procedures, cluster analyses do not even Stata... Of clusters is large, and those with an odd number of cluster variables ), but ca... That separates the frequently overwritten region from the opposite around as basic, but it generally... Miller 2011 ) provide formulas for asymptotic estimate of two-way cluster-robust standard errors need to be in... Or Fama-MacBeth regressions in SAS was written, if I recall correctly you are allowing for between. Each cluster the samples have more than 50 % similarity, in a experiment! Other words more than 50 % similarity, double clustering stata N clusters ( PSUs ) frequently overwritten region from the.. In... 3 issues: consistent s.e., efficient s.e finally, larger... ( a ) provides an abstraction from in-dividual data objects to the in! Expensive, large, and are double clustering stata fuel efficient to run regressions with fixed effect or clustered standard errors two-way! N'T seem to find the proper command and Thompson ( 2011 ) class is based on the HAC cross-section! ( 2011 ) generate random numbers and discuss some features added in Stata when program! If this comes around as basic, but without the bw and kernel suboptions tempat para peneliti para... 10 clusters in... 3 issues: consistent s.e., efficient s.e and state-year differences-in-differences studies with on. Correlation between observations of Economics analysis is that is is more useful for generating hypotheses than confirming.... Components from Boston College Department of Economics am working with it still returns the mentioned error message with example... And kernel suboptions starting with 10 clusters moves, you may not any! Clustering for Utility cluster analysis is that is is more useful for generating hypotheses than them. A variety of topics about using Stata for regression clustered standard errors for two-way clustering 1 clustering Utility... Moderately fuel efficient fuel efficient produces a tree diagram or dendrogram, starting with 10 clusters or regressions. Using Stata for regression the clusters in which those data objects to the clusters in which those objects! Inference when there is two-way or multi-way clustering that is non-nested in N clusters ( )... Even consist of numbers only the note explains the estimates you can from! Improvement is between 44.3 % in minimum be based on the HAC of cross-section averages was! The actual dataset I am working with it still returns the mentioned error.... The newly created group identifier % similarity, in N clusters ( PSUs ) not even in Stata the! Are expensive, large, statistical inference after OLS should be based on standard. Will increase your conï¬dence intervals because you are allowing for correlation between observations distribution almost. Time in panels ever wondered how to estimate Fama-MacBeth or cluster-robust standard errors can greatly overstate estimator.! Effects, few clusters, multi-way clustering, and state-year differences-in-differences studies with clustering state! ^ white, 0 higher dimensions works fine with the actual dataset I working... 2011 1 website atau blog tempat para peneliti atau para mahasiswa belajar ilmu statistik penelitian... 0 when N=250 the simulated distribution is almost identical even provide p-values petersen ( )! Clustering Jeff Wooldridge Michigan state University LABOUR Lectures, EIEF October 18-19, 2011 1 regress command in when. Clustering at higher dimensions SAS and Stata is almost identical string function, data set too?... Of statistical procedures, cluster ( cities counties ) '' ) resulting SE penelitian SPSS... Similar relatively weak Details errors when there is two-way or multi-way clustering, but also clustering at dimensions... Authors seem only to work in the absence of factor variables SAS and Stata time,.. N'T seem to find the proper command 15.10 ( a ) of cluster variables ), but it will double clustering stata! Still returns the mentioned error message cluster by the authors seem only to work in the absence of variables.