Maksettu toimituksen yhteydessä
I have a dataset of all alliances in the international system going back to 1816. I need a loop run over the dataset to create two new dummy variables for if a state ("member" in attached dataset) ever had a previous secret alliance ("1" in "publicanysec" variable in the attached dataset) and then another variable for if the state made a secret alliance in the past five years ("startdate" in the attached dataset). And then another variable for if the state made a secret alliance in the past ten years. I really need the code more than anything. I know it will use the foreach command. Need fairly quick turn around, though it is not a hard loop to run.
Projektin tunnus: #37490437
15 freelanceria on tarjonnut keskimäärin $47 tähän työhön
Hi, I am the best candidate for this job as I am proficient in statistical analysis and do this job. I can easily meet your targeted deadline. Please inbox me to further discuss.