Hello everyone, thank you for the helpful advice in my previous posts.
I would like to create a variable for the maximum number of periods an individual could have participated in a panel.
Given I have refreshment samples, and four panels I already created a variable for number of periods actually participated in.
The structure of the panel is such that in the third period, 1/3 of the initial sample was refreshed.
How can I do this in a quick command?
Related Posts with How to create a variable for maximum number of periods an individual can participate in a panel
which is the correct way to do three-way interactionDear statalist, I have 3 variables, say x, y, and z. x and y are dummies, z is continuous. I want t…
Sorting data in chronological orderHello, This post is similar to what I previously posted here: https://www.statalist.org/forums/for.…
The Monty Hall problem through permutations: can somebody translate the Stata code below to R code?Good morning, I have written a paper on how one can use the Monty Hall problem (with the 3 doors an…
Clarification neededDear StataList, I am reading an interesting paper by Brons et al. (2017), where on page 812 they de…
CMP model with interaction between endogenous and exogenous variablesDear all, I am having an endogenous variable X1 and an exogenous variable X2 and instruments Z1 and…
Subscribe to:
Post Comments (Atom)
0 Response to How to create a variable for maximum number of periods an individual can participate in a panel
Post a Comment