Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split select variables into dummy variables #8

Open
matthew-white opened this issue May 25, 2014 · 2 comments
Open

Split select variables into dummy variables #8

matthew-white opened this issue May 25, 2014 · 2 comments

Comments

@matthew-white
Copy link
Collaborator

We've been getting requests for an option to split select fields into dummy variables, such that each choice of each select field is split into a set of dummy variables, one for each possible value of the associated list. Let's add this option or add an example to the help file that uses an existing SSC program.

@matthew-white matthew-white changed the title Convert select variables to dummy variables Split select variables into dummy variables May 25, 2014
@samhall555
Copy link

http://ideas.repec.org/c/boc/bocode/s429201.html --> "mrdum" is available on ssc : after getting the data imported into stata using odkmeta, its quite easy to generate the necessary dummy variables.

http://www.stata-journal.com/sjpdf.html?articlenum=st0082 discusses the use of "mrtab" for tabulation of the polytomous data types.

Quite helpful.

@matthew-white
Copy link
Collaborator Author

Looks perfect, thanks! I'll note this in the help file.

Do you use the char metadata to automate the use of mrdum? Perhaps it'd be useful to include that in the help file as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants