weightTAPSoutput: An object outputted by weightTAPS function

Description Details Author(s) See Also


Objects of class weightTAPSoutput are created by the weightTAPS function


An object of the class ‘weightTAPSoutput’ has the following slots:

The slot df contains the dataframe(s) that represent the final subset data. The final subset data keeps only the outcome and covariates of interest specified. It also accounts for non-response in the outcome variable and attrition. Respondents with missing values in the outcome variable for any of the waves desired are removed from the final dataframe. Missing values in sociodemographic variables are imputed for the respondents that remain in the sample, in order to compute their proper weight. The missing covariate data can be left as is, by specifying method="none". If imputation is desired, the argument method can be set to 'multi' for multiple imputation, or 'hotdeck' for hotdeck imputation. If multiple imputation is done, the argument m should be set to the number of imputed dataframes to be created.

The slot attrit is a list of attrition rates from the first wave specified in the outcome argument. Each quantity represents the percentage of people (by demographic group) that attritted TAPS through the waves specified. It compares the initial composition of each demographic group (from the oldest wave specified) to the composition of the same demographic group in the final subset data delivered by weightTAPS(). Large values, particularly large values relative to other values in the same sociodemographic category, indicate high rates of attrition.

The slot stats lists each sociodemographic group's share of the overall population as represented in the final sample for each outcome. The information contained in both the attrit and stats slots can be graphically illustrated using the plot(objectname) function. Two different types of plots are displayed after running the plot function: a dot chart and a set of trend plots. The dot chart shows the differences between the sociodemographic composition of the sample in the first wave specified and the final subset dataframe. This information is disaggregated by the following sociodemographic groups: Age and Gender, Ethnicity, Education, Income, Region and Metropolitan status, and Internet use. The trend plots presented illustrate the changing composition of the sample by demographic group across the waves specified. The lines shown in each plot correspond to the different categories within each of the groups mentioned. The lines show the percentage of the final subset data belonging to each category by wave. The plots aim to show the variation in the composition of the sociodemographic groups through the waves specified.

print(objectname) will show a summary of the attrition rates. show(objectname) will run the print function.


David Carlson carlson.david@wustl.edu, Michelle Torres smtorres@wustl, and Taeyong Park t.park@wustl.edu

See Also

weightTAPSPACK weightTAPS variablesTAPS subsetTAPS wavesTAPS simpleWeight attritTAPS multipleImp hotdeckImp wavesTAPS

weightTAPSPACK documentation built on May 2, 2019, 9:18 a.m.