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
How to calculate a value from a stringColleagues, I have a dataset with a land-use description codified with a alphanumeric string. Some …
How to retrieve all the coefficient of independent variables of did_imputation package?Hi all, Normally, in a research paper, we need to present a table of coefficients of all independen…
Question about Stata close button on MacBook?Dear all, My Stata version is Stata 17 (MP 4) and on MacBook Air.I find that the close button's colo…
keep the variable if it's value(name) exist in another fileHello! I have two databases, one is in CSV and the other is on XLSX. Both files contain a variable …
How STATA Works With Missing Data in Panel Data RegressionI will be grateful if anyone here could help me with panel data regression using STATA. I am current…
Subscribe to:
Post Comments (Atom)
0 Response to model with crossed random effects
Post a Comment