<p>my dear fellows. I mainly do experimental research, so I run experiments in which participants play a game repeatedly (for 20 periods for example). <strong>The dataset</strong> I get after the experiments <strong>would be that each individual's decision is measured 20 times consecutively/repeatedly</strong>.</p>
<p>Consider a MWE of my data as follows (in R):</p>
<pre><code>Subject_ID &lt;- c(1, 2, 3 ,1, 2, 3)
Period &lt;- c(1, 1, 1, 2, 2, 2)
DV &lt;- sample.int(20, 6, replace = TRUE)
IV1 &lt;- c(5, 2, 7, 5, 2, 7)
df &lt;- bind_cols(Subject_ID = Subject_ID, Period = Period, DV = DV, IV1 = IV1)
df
# A tibble: 6 x 4
  Subject_ID Period    DV   IV1
       &lt;dbl&gt;  &lt;dbl&gt; &lt;int&gt; &lt;int&gt;
1          1      1    14     5
2          2      1     4     2
3          3      1    17     7
4          1      2    15     5
5          2      2     5     2
6          3      2    15     7
</code></pre>
<p>In this MWE, DV is the dependent variable, IV1 is the first independent variable. This is a dataset for one treatment, and usually, I would combine the dataset for all treatments together.</p>
<p>For data analysis, I usually do rank-sum test for treatment effects first, then I will do some regressions. If the outcome of the game in each period is only provided at the end of the experiment, the data would usually pass the serial correlation test, and thus I can use the pooled OLS regression like <code>DV ~ Constant + IV1 + error</code>(heteroskedasticity-robust standard errors can be used if heteroskedasticity is detected).</p>
<p>When the dependent variable is a binary variable, I would use the pooled logit regression or pooled probit regression.</p>
<p><em>However, recently, I read some articles and posts on generalized estimation equations, conditional logistic regressions, (generalized) linear mixed effects models, and I am a bit overwhelmed.</em> I really don't know which is the right one to use for the kind of data that I collected from experiments.</p>
<p>Is there anyone who can help me? Or is there any book/article that you would recommend to me which clearly deals with the dataset that I mentioned at the beginning?</p>
<p>Thank you so much!</p>

CC BY-SA 4.0
2021-05-26T11:03:20.530Z
this can't be answered without you providing all the details of your study, its not like conditional logistic regression is always better than traditional logit model since thye serve different purposes. What do you want to uncover here? What are all the details of the experiment that you will use to generate data?  etc (with some models sample size can matter as well). If you are not specific then all one can give you is opinion and opinion seeking questions and opinion based answers are contrary to the rules of this site
1muflon1
CC BY-SA 4.0
2021-05-26T12:59:21.673Z
Thanks a lot for your comment. I will give a MWE in the question.
Lin Jing
<econometrics><experimental-economics>
Which statstical method/model should I use with my study?
Lin Jing
# Which statstical method/model should I use with my study?

(Asked by: username_0 on 2021-05-26)

my dear fellows. I mainly do experimental research, so I run experiments in which participants play a game repeatedly (for 20 periods for example). The dataset I get after the experiments would be that each individual's decision is measured 20 times consecutively/repeatedly.
Consider a MWE of my data as follows (in R):
Subject_ID <- c(1, 2, 3 ,1, 2, 3)
Period <- c(1, 1, 1, 2, 2, 2)
DV <- sample.int(20, 6, replace = TRUE)
IV1 <- c(5, 2, 7, 5, 2, 7)
df <- bind_cols(Subject_ID = Subject_ID, Period = Period, DV = DV, IV1 = IV1)
df
# A tibble: 6 x 4
  Subject_ID Period    DV   IV1
           
1          1      1    14     5
2          2      1     4     2
3          3      1    17     7
4          1      2    15     5
5          2      2     5     2
6          3      2    15     7

In this MWE, DV is the dependent variable, IV1 is the first independent variable. This is a dataset for one treatment, and usually, I would combine the dataset for all treatments together.
For data analysis, I usually do rank-sum test for treatment effects first, then I will do some regressions. If the outcome of the game in each period is only provided at the end of the experiment, the data would usually pass the serial correlation test, and thus I can use the pooled OLS regression like DV ~ Constant + IV1 + error(heteroskedasticity-robust standard errors can be used if heteroskedasticity is detected).
When the dependent variable is a binary variable, I would use the pooled logit regression or pooled probit regression.
However, recently, I read some articles and posts on generalized estimation equations, conditional logistic regressions, (generalized) linear mixed effects models, and I am a bit overwhelmed. I really don't know which is the right one to use for the kind of data that I collected from experiments.
Is there anyone who can help me? Or is there any book/article that you would recommend to me which clearly deals with the dataset that I mentioned at the beginning?
Thank you so much!

**Tags:** econometrics, experimental-economics

> **Comments:**
> **username_1**: this can't be answered without you providing all the details of your study, its not like conditional logistic regression is always better than traditional logit model since thye serve different purposes. What do you want to uncover here? What are all the details of the experiment that you will use to generate data?  etc (with some models sample size can matter as well). If you are not specific then all one can give you is opinion and opinion seeking questions and opinion based answers are contrary to the rules of this site  
> **username_0**: Thanks a lot for your comment. I will give a MWE in the question.  

---

## 0 answers

