Hi all, I am working on a study of grant applications and selections. I have about 8 years worth of data, and am looking at the research term – PIs and CO-Is. The goal is to see if certain characteristics of the person (e.g. demographics, experience) predict the likelihood of getting a grant.
(Fyi, I previously posted about building a model for PIs only here: https://www.statalist.org/forums/for...model-question)
However, now I have data on BOTH PIs and the CO-Is. The grant is awarded to the whole team. Thus, I was thinking I have to now account for the team in the modeling. A person could be a PI on more than one grant, and be selected as a PI on more than one grant. A person could apply as a PI on one grant and be a CO-I on another grant, for example, and have both grants selected.
The dataset is unique on the unique identifier for the person (ID_person) and the team_id (ID_team)
I was thinking a crossed random effects model may be appropriate here, since it seems that observations are nested in a combination of individuals and teams.
Here is the code I came up with, but I’m not sure it’s correct (?). In particular, I am not sure about the random effects part.
melogit awarded independentvariables || all:R.ID_team || ID_person:, or
A couple of additional questions:
1. I have 8 years worth of data. There is interest in examining the data for each year and also for all years combined. Does it make sense to run the model separately for each year and also for all years combined?
2. I mentioned in the previous post that some of the specific grant areas a person applies to can give out more grants than others, and that it can depend on the year. Across the 8 years, there are about 150 year-grant area combinations. Since this model already has 2 random effects, it seems that it might be best that these are included as dummy variables (grant-area year) in the model. However, this seems like it would be a very complicated model.
3. Does it make sense to have a dummy variable for whether someone is a Co-I or PI?
Thank you in advance for any advice!
MJ
Related Posts with model with crossed random effects
ppml (gravity equation) with quadratic term of the distance variableHello, Here is my question: I am testing the curvilinear (inverted U-shape) effect of distance (cu…
How to reshape data for analysis (Discrete choice experiment)Hi there, hello to the community. I'd need some help with how to prepare/shape data for analysis fro…
margins not estimableHello, I am trying to have the partial effect of being an immigrant evaluated at the mean level of y…
Extracting unique strings from multiple variables for each observationI have school level data with the name of different counties they have belonged to across a number o…
Stata 10.1I am currently using Stata 15. However, some user-written commands do not work in Stata 15 and requi…
Subscribe to:
Post Comments (Atom)
0 Response to model with crossed random effects
Post a Comment