BookmarkSubscribeRSS Feed
amanjot_42
Fluorite | Level 6

hi guys,

 

Can you please help me, I am trying to find an average difference between before and after the events - dividend amounts.

 

Firm dividend events Year

A 10 0  2000

A  12 0  2001

A  13 0  2002

A  10 1  2003

A   21 0  2004

B  22 0  1999

B  23 0  2000

B  34 0  2001

B  12 1  2002

B  33 0   2003

B  22 0  2004

B  9  0  2005

C  3 0  2009

C  4 1  2010

C  2 0  2011

C  4 0  2012

 

so, I want average of three years before the events (dummy=1), and average of three years after the events, and then the difference of these averages. This is to be done for all the firms.

 

Cheers

Amanjot

2 REPLIES 2

SAS Innovate 2025: Call for Content

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!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 583 views
  • 0 likes
  • 3 in conversation