Dear Stata Forum,
I have data on 200 people and their participation in a game over 4 rounds. The game consists of participants allocating a specific budget into three categories (wheat, lavender flowers, oranges). Next, changes to the allocation are presented (e.g., a drought negatively affects wheat and oranges but positively impacts lavender flowers). The participant can then adjust the allocation (for example return to the original). After this, this round is complete, and a new round begins. The rounds are independent of each other. In essence, one participant (as measured by one unique ID) completes four rounds, so I have approximately 800 observations.
My dependent variable is categorical (say 1 if they return to the original choice, 0 if not). Later, I plan to improve my analysis to more scenarios: e.g., 2 if it’s in between, 3 if it’s larger, etc.
The independent variables are round -categorical, risk (low to very high risk of severe weather impact) - categorical, successful past harvests (in %) - continuous, percentage points differences between the original and changed allocation- continuous, gender- categorical, assignment to TC/CG – categorical.
Previously, I only analyzed changes per category through Chi2 tests of independence. Now, my adviser recommended I look at horizontal changes, how individuals perform across all 4 rounds.
Now my question arises on how to analyze the performance of IDs in all four rounds (horizontally) instead of just (vertically) through categories.
The Statistics Department at UCLA https://stats.oarc.ucla.edu/stata/wh...s-using-stata/ recommends logistic regression and Chi2 tests.
When performing logistic regression or Chi2 tests, does Stata analyze the observations across one individual or category? Can I force it to analyze across individuals?
I am most grateful for your comments, insights, and help.
Thank you in advance, and kind regards!
I have data on 200 people and their participation in a game over 4 rounds. The game consists of participants allocating a specific budget into three categories (wheat, lavender flowers, oranges). Next, changes to the allocation are presented (e.g., a drought negatively affects wheat and oranges but positively impacts lavender flowers). The participant can then adjust the allocation (for example return to the original). After this, this round is complete, and a new round begins. The rounds are independent of each other. In essence, one participant (as measured by one unique ID) completes four rounds, so I have approximately 800 observations.
My dependent variable is categorical (say 1 if they return to the original choice, 0 if not). Later, I plan to improve my analysis to more scenarios: e.g., 2 if it’s in between, 3 if it’s larger, etc.
The independent variables are round -categorical, risk (low to very high risk of severe weather impact) - categorical, successful past harvests (in %) - continuous, percentage points differences between the original and changed allocation- continuous, gender- categorical, assignment to TC/CG – categorical.
Previously, I only analyzed changes per category through Chi2 tests of independence. Now, my adviser recommended I look at horizontal changes, how individuals perform across all 4 rounds.
Now my question arises on how to analyze the performance of IDs in all four rounds (horizontally) instead of just (vertically) through categories.
The Statistics Department at UCLA https://stats.oarc.ucla.edu/stata/wh...s-using-stata/ recommends logistic regression and Chi2 tests.
When performing logistic regression or Chi2 tests, does Stata analyze the observations across one individual or category? Can I force it to analyze across individuals?
I am most grateful for your comments, insights, and help.
Thank you in advance, and kind regards!
Comment