help stata2pvd: Help for converting Stata data to pvd PathView files - 2010-02-05

Overview

The command stata2pvd converts Stata data into a pvd text file that can be
read by the PathView interactive program.

Syntax

stata2pvd varlist using pvd-file-name,
, options

Required

id(ID_variable)
Name of ID variable.

catlabels(category_labels)
Labels for categories; 11 characters or shorter.

itemlabels(item_labels)
Labels for items; 11 characters or shorter.

Optional

sort(items|_all) Sort by these variables before saving pvd file.

stable Use Stata's stable option when sorting.

miss Keep cases even if they have missing data.

replace Replace pvd file if it already exists.

title(title) Title for labeling contents of pvd file.

Extract data from GSS

use icpsr_gss3, clear
* names of items to use
local items "frdcreat frdcultr frddynam frdfun frdhonst frdintel frdresp"
* labels to use for selected items
local itlbl "CREATIVE CULTURED DYNAMIC FUN_LOVING HONEST SMART RESPONSIBLE"

stata2pvd `items' using pv_gss_friends01, replace ///
id(id) title("GSS Friends data \ jsl 2010-02-05") ///
catlabels(1_NotAtAll 2_NotToo 3_Fairly 4_Very 5_Extrmly) ///
itemlabels(`itlbl') ///
sort(_all)

About Pathview

PathView is an interactive program for computing parallel coordinates
graphs for categorical variables. To obtain further information about
the PathView program, go to:

For more information on PathView, check here.

Authors

J. Scott Long - jslong@indiana.edu

Departments of Sociology and Statistics, Indiana University