Paper SD05 Using the SAS® System to Construct n-Values Plots

نویسندگان

  • Peter Wludyka
  • Amy Cox
چکیده

Often a statistical test is performed in which the observed outcome favors the alternative but the evidence in favor of the alternative is not statistically significant. Suppose that, for example, a researcher tests the hypothesis that the mean is 10 versus the alternative is less than 10 using a z-test. Suppose further that based on a sample of size 8, the p-value is 0.078 (hence the null hypothesis is not rejected with level of significance 0.05 ). Given the observed mean (X-bar) how large would the sample have to have been in order for the hypothesis to be rejected? An n-values plot can be used to answer this question. This plot has vertical axis n (sample sizes) and horizontal axis alpha (level of significance). Points forming an n-values line containing combinations of (alpha, n) with the minimum n required to rejected at alpha are plotted. A horizontal line at n =8 in this example would be plotted (the n-values line will intersect the n = 8 line at alpha = 0.078. Using the plot one can “see” that a sample of size 11 would have rejected at level of significance 0.05. SAS macros for generating plots for various commonly used tests will be presented. INTRODUCTION Several macros will be presented that can be used to produce nvalues plots. The following test will be considered: one-sample ztest and t-test for a mean; one sample z-test for a proportion; ANOVA F-test for two or more means; and 2 by 2 table tests. ONE SAMPLE Z-TEST AND PROTOTYPE Consider the standard z-test for the mean. The one sided hypothesis is

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Data Visualization of Outliers from a Health Research Perspective Using SAS/GRAPH and the Annotate Facility

SAS/GRAPH is a powerful tool for customizing the box plot to detect and identify outliers. This paper shows how to use the ANNOTATE facility and annotate data set to customize box plots and profile plots of outliers using data from a dietary-health study. This paper assumes: • A working knowledge of basic SAS/GRAPH procedures. • The ability to display or print graphics on your operating system...

متن کامل

190-31: Estimate the False Discovery Rate Using SAS®

This paper gives an exposition of recently developed methods of estimating the false discovery rate (FDR) under multiple comparisons and discusses their implementation using SAS. For example, microarray experiments typically involve tests of significance for hundreds or thousands of genes. For biologists confronted by this problem of multiplicity, the FDR is an appealing quantification of error...

متن کامل

Seasonal Trend Analysis of Monthly Water Quality Data

This paper presents user-friendly SAS macro and SAS programs to check the three parts of a time series: Trend, Cyclical patterns, and Stationarity. The SAS macro KENDALL performs the trend analysis. Seasonal Kendall Trend analysis, including summery statistics; overall Tau and the P-value of the test for trend; monthly Tau values, the corresponding P-values for each month; the Seasonal Kendall ...

متن کامل

How to Get Phase Portraits Animated with SASr

In this video-poster we exemplify how to create animated phase portraits of systems of difference or differential equations, by using the SASr GIF Animator. More precisely, we consider a system of difference or differential equations and want to illustrate how a change in one or more parameters changes the phase portrait. This is of great value e.g. when studying bifurcations. We exemplify this...

متن کامل

P-95: Flow Cytometry Analysis of Bovine Semen:A Qualitative Study

Background: Although AI practices have been introduced little over 60 years, the success rate remains relatively low. This might be due to the exclusive selection of semen based on motility analysis. Recent advancement in sperm sexing using flow cytometry with an increased throughput from next generation cell sorters, made use of this technology in studding sperm qualitative aspects other than ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003