Hello,
I am facing a crucial problem during the estimation of a random effect in a mixed effect logistic regression from a repeated-cross sectional dataset. In the 2 picture, I have attached here, "Cluster Identity" and "Year of Interview" is taken as random effects (The box marked section). But I am too much confused about what will be the STATA command of this regression since there are 2 random effects at a time here. I have already tried these two types of command. But which one is correct? Or, is there any fault in my commands? If so, then what is that fault, and how did this paper estimate the random effect of the year of interview, and what can be the correct command to estimate the random-effects of both of year of interview and cluster like the picture of the research paper I have attached here?
The commands I have tried till now are:
1. (using cluster before year in the random effects' section of the command)
melogit stunted log_PCI i.Child_Age Child_Sex i.Woman_Age i.Region Residence Drinking_Water Mother_Height Work_of_Mother Work_of_Partner i.Household_Members Under5_Child i.Partner_Edu || Cluster_Identity: || Year_of_int: , or
2. (using year before cluster in the random effects' section of the command)
melogit stunted log_PCI i.Child_Age Child_Sex i.Woman_Age i.Region Residence Drinking_Water Mother_Height Work_of_Mother Work_of_Partner i.Household_Members Under5_Child i.Partner_Edu || Year_of_int: || Cluster_Identity: , or
Please help me. Thanks in advance.
Array Array
Related Posts with Estimating Random Effects in Mixed-effect Logistic Regression Model
Aggregate duplicatesHi, My data is from a grocery store in the UK and consists of 3 columns. The first represents a uni…
divide numbers in stataHi, I have a panel data set where i have variables "location"(where number 1 means one location, 2 a…
bayesmh for bayes: heckprobitDear STATA experts, Thank you for reading my post. I wish to program the command in STATA 16 bayes:…
Deleting multiple observations if value is missingI have the following dataset with observations of volumes (vol) traded by 5967 unique companies. Co…
PCA indexI constructed an index on Stata using "pca rotate predict". When I produced the summary statistics t…
Subscribe to:
Post Comments (Atom)
0 Response to Estimating Random Effects in Mixed-effect Logistic Regression Model
Post a Comment