hello! I am looking to merge two datasets to end with coherent district-level daily dataset from 2009-2013 with temperature, rainfall, and total rainfall variables.
- the first dataset "finalrainfall" has the following shape
Year Edate District_id State_name District_name dailymeanrainfall dailytotalrainfall
- the second dataset "finaltemp" has the following shape
Year Edate District_id State_name District_name Weightedavertemp
I initially tried using the merge command, but I got the error message given that there variables I used werent unique identifiers (merge 1:1 district_id year using "finalrainfall"
I have tried using also joinby - joinby district_id year using "finalrainfall" -
are the results given in this case by joinby equivalet to what merge would have provided?
Related Posts with merging panel data - merge or joinby?
Users of SEM: Updated command: swainHi: For those who uses SEM models, you may be aware that the chi-square test of fit is not properly…
ppmlhdfe in panelsDear everyone, I post this because I am confused with bilateral fixed effect estimates: I estimate…
How to place significant stars infront of standard errors but still maintain the wide formatHi, I'm trying to get an esttab table that looks like table 1 attached. specifically, i want the sta…
vector of control variables for panel datai want to know the command to get vector of control variable. I want to get vector of country level …
Is this the proper use of theTwo-Stage Least Squares (2SLS) Regression AnalysisHello, I can't show my data or real variable names but I have a question about whether what I want …
Subscribe to:
Post Comments (Atom)
0 Response to merging panel data - merge or joinby?
Post a Comment