Hello, i am trying to add "Cluster" fixed effect, an indicator of which cluster people are in, to a logit regression model estimating network tie formation. I use the clus_nway package to perform multiway clustering. When I add i.cluster_id to the model, the model returns an error "parentheses unbalanced" error. How should I specify the model instead to include the cluster fixed effect? Thanks!
My syntax:
Here is the variable "cluster_id"

My syntax:
Code:
clus_nway logit DV var1 var2 var3 i.cluster_id, cluster(id_ego id_alter)
Comment