Hi eveyone,
I have a data of thousands of companies (that means that in my SAS database I have thousands of rows) and each company has its capital structure . So I want to compute power indices of each shareholders in each company (e.g. Normalised Banzhaf index, Banzhaf index, Shapley-Shubik Indices, Shapley-Shubik indices for an "oceanic" game, ...).
It is easy to compute these indices individually, and there are many web sites that can do this "company by company", but the problem that I have is: I can't compute thousands of cases one by one and I need a code/program to do that, if possible, in one command.
I use SAS to do my econometrics analysis and I have not an advanced knowledge in SAS Coding.
Does somebody have a SAS code to compute power indices? Does somebody can help me to develop a code for these power indices?
Thank you in advance.
Please show a sample of the data for a couple of companies, in a sas data step. Nobody can make a programming recommendation without knowing the data layout and some data values.
And then show what you would like the output to look like for your example input data.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.
Ready to level-up your skills? Choose your own adventure.