stata code

Completed Posted 5 months ago Paid on delivery
Completed Paid on delivery

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.

Statistics SPSS Statistics Statistical Analysis Excel R Programming Language

Project ID: #37490437

About the project

15 proposals Remote project Active 5 mos ago

Awarded to:

(0 Reviews)
0.0

15 freelancers are bidding on average $47 for this job

schoudhary1553

Top 1% in Freelancer.com Hi, Greetings! ✅checked your project details: ✅Completed Time: In project deadline We have worked on 900 + Projects. I have 6 + years of the experience in same kind of projects. If you are look More

$70 USD in 2 days
(560 Reviews)
8.5
arunkumar9896

Hi Hope you are doing good, I can perfectly help you with that in quick turnaround. I am a professional Excel expert holding 7 years of experience in utilizing advance level tools, creating dynamic dashboards and Exc More

$30 USD in 1 day
(37 Reviews)
5.5
braincenter

Hello, I am delighted to have come across your project post and express my sincere interest in working with you. As an experienced contractor, I am confident that I possess the skills and expertise required to deliver More

$100 USD in 2 days
(13 Reviews)
4.9
OWINOKAMAU

Hi there! My name is Maxwell, and I am a statistician with over five years of experience in writing and machine learning. I understand you are looking for someone to create two new dummy variables for if a state ever h More

$30 USD in 2 days
(18 Reviews)
4.5
mobimubasir

Hello. I read your requirement i will do that. Please come on chat we will discuss more about this. I will waiting your reply.

$30 USD in 1 day
(19 Reviews)
4.3
hireonweb

I understand that you are looking for someone to create two new dummy variables for if a state had a previous secret alliance and then another variable for if the state made a secret alliance in the past five years or More

$100 USD in 3 days
(21 Reviews)
4.4
IhsanKhattak7

I am STATA Expert, and I will help you with STATA. I am M.Phil. scholar (Ph.D. in progress) and Data Analyst have full command of data analysis with 5 years of experience. I can use different software like Stata,,SPSS More

$10 USD in 1 day
(19 Reviews)
4.4
wilfrednjorog

Hey! Greetings from Wilfred! I am thrilled to express my strong interest in this stata code project. With my years of experience working as a freelancer, I have honed my skills in Excel, Statistics, Statistical Anal More

$30 USD in 1 day
(5 Reviews)
4.1
nabeelraza1993

I am ready to tackle your dataset project involving the analysis of international alliances since 1816. With a solid understanding of data manipulation and programming, I will efficiently create the required dummy vari More

$20 USD in 7 days
(4 Reviews)
2.9
safimirza47

Certainly, I'll promptly create a loop in your dataset to generate the required dummy variables. Utilizing Stata's foreach command, I'll iterate through the data, creating indicators for previous secret alliances, secr More

$20 USD in 7 days
(1 Review)
0.6
MohamedBruh

Hello there! I am mohamed, a software engineer with over 10 years of experience in data analysis and software development. I know that you are looking for someone to run a loop over your dataset and create two new dumm More

$20 USD in 4 days
(0 Reviews)
0.0
MirhaKhan786

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.

$30 USD in 1 day
(0 Reviews)
0.0