Tags:
create new tag
, view all tags, tagging instructions
Return to Statistical Graphics Home

Please rate the graphic:

  • 5 stars = highest rating
  • 1 star = lowest rating
  • SCORE = average of all votes

Graph Rating
Score: 0, My vote: 0, Total votes: 0

Please add comments and then click on the "Add comment" button.

 

OriginalStatGraphicsForm edit

Image
Sensitvity Analysis
Click to enlarge image.
Title Sensitivity Analysis of Missing Data
Graph_Subgroup General Principles
Code Added Yes
Description X and Y depict the percentage of the missing data which is imputed as responder. Z depicts the resulting chi-square statistic, two-sided alpha = 0.05 significance level would be 3.84 (cyan).
Contributor/Email Mat Soukup (email: Mat.Soukup@fda.hhs.gov)
Background Binary outcome is defined as a two grade improvement from baseline value. The data set is from a randomly generated data set located on the OB network drive.
Impact
Special Considerations

Date Original
Original Date 2007
Modified Date

Use/Suitability Publication
Software Program R
Software

R-Code - Attachment R-script: Sensitivity Analysis of Missing Data
R-Code dat <- read.csv('//cdsnas/oebdbdms/Graphics/Datasets/CleanTrial.csv')

eot <- subset(dat, visit%in%6)
eot$binep <- ifelse(base$catvar-eot$catvar >= 2, 1, 0)

# Reduce size of data for easier calculation
ii <- sample(1:1500, 500, replace=FALSE)
eot2 <- eot[-ii,]

# Force some of the data to be missing (10% of data)
set.seed(77)
ww <- sample(1:1000, 100, replace=FALSE)
eot2$binep[ww] <- NA
ind <- eot2$binep[eot2$trtf%in%'Active']
ctl <- eot2$binep[eot2$trtf%in%'Placebo']

source("//cdsnas/oebdbdms/Graphics/Scripts/MissSens.txt")

#png('C:/Research/Graphics/Graphs4Display/webpages/classes/pages/images/misspersp.png',
# width=500, height=500)

pp <- miss.plot(ind, # Trt. arm with missing
ctl, # Control arm with missing
theta=305, # See option theta in persp
phi=25, # See option phi in persp
nticks=5, # See option nticks in persp
zpch.cex=1, # Size of the square plotted on the z-axis
plane=FALSE,
border='black',
ltheta=305,
lphi=25,
main="")
#dev.off()
SAS-Code - Attachment

SAS-Code

Stata-Code - Attachment

Stata-Code

Other Code - Attachment

Other Code

Keywords sensitivity analysis, missing data, chi-square statistic
OPTIONAL FIELDS

References

Datasets

Data

Attached Data

CATEGORIZATIONS

Classification-Evaluation Efficacy
Classification-Graph Type Perspective Plot
Graph_Type Perspective Plot
Variable Relationship Categorical versus Categorical
Data Types Categorical
Special Cases

Disclaimer The views expressed within CTSpedia are those of the author and must not be taken to represent policy or guidance on the behalf of any organization or institution with which the author is affiliated.
Permission Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT OLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Reference Image misspersp_reference_200.jpg
Topic revision: r12 - 30 Mar 2012 - 13:48:36 - MaryBanach
 

Copyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CTSPedia? Send feedback