hi i have a data
company name first year last year
ibm 2002 2005
apple 2004 2007
how do i make this as below?
ibm 2002
ibm 2003
ibm 2004
ibm 2005
apple 2004
apple 2005
apple 2006
apple 2007
thanks so much in advance
Data want;
set have;
Do year = first_year to last_year;
output;
end;
Run;
Data want;
set have;
Do year = first_year to last_year;
output;
end;
Run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.