Skip to content

felixholub/genshares

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

GENSHARES

This is a simple program which calculates row-wise shares of a variable list. It will later be extended to allow for more customization.

Installation

In Stata, simply run

cap ado uninstall genshares
net install genshares, from(https://github.com/felixholub/genshares/raw/master/src/)

Usage

webuse union, clear
keep year grade
contract year grade
rename _freq size_
reshape wide size_, i(year) j(grade)
genshares size*

About

Stata command which allows to quickly calculate rowwise shares of a variable ist.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published