Dear Statalist,
I'm a new user, so I apologize in advance for any errors.
I have panel data, and my current task is to analyze a possible relation between two categorical variables. The panel data consists of individuals' investment portfolios over 3 years, so the observations are not really independent.
I have used chi-square tests of independence using
However, since I have repeated individual observations, something I control for using vce(cluster ID) in my xtlogit regression, I would like to seek reassurance that
gives me the correct answers.
I would be most grateful if anyone could answer me.
Thank you very much in advance!
I'm a new user, so I apologize in advance for any errors.
I have panel data, and my current task is to analyze a possible relation between two categorical variables. The panel data consists of individuals' investment portfolios over 3 years, so the observations are not really independent.
I have used chi-square tests of independence using
Code:
tab first_variable second_variable, chi2
Code:
tab first_variable second_variable, chi2
I would be most grateful if anyone could answer me.
Thank you very much in advance!
Comment