Posts Tagged ‘ Statistical Thinking ’

Coverage probability of confidence intervals: A simulation approach

September 8, 2016
By
Coverage probability of confidence intervals: A simulation approach

The article uses the SAS DATA step and Base SAS procedures to estimate the coverage probability of the confidence interval for the mean of normally distributed data. This discussion is based on Section 5.2 (p. 74–77) of Simulating Data with SAS. What is a confidence interval? Recall that a confidence

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Coverage probability of confidence intervals: A simulation approach

Weighted percentiles

August 29, 2016
By
Weighted percentiles

Many univariate descriptive statistics are intuitive. However, weighted statistic are less intuitive. A weight variable changes the computation of a statistic by giving more weight to some observations than to others. This article shows how to compute and visualize weighted percentiles, also known as a weighted quantiles, as computed by

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Weighted percentiles

In praise of simple graphics

June 27, 2016
By

'Tis a gift to be simple. -- Shaker hymn In June 2015 I published a short article for Significance, a magazine that features statistical and data-related articles that are of general interest to a wide a range of scientists. The title of my article is "In Praise of Simple Graphics."

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on In praise of simple graphics

Head-tail versus head-head: A counterintuitive property of coin tosses

April 13, 2016
By
Head-tail versus head-head: A counterintuitive property of coin tosses

I saw an interesting mathematical result in Wired magazine. The original article was about mathematical research into prime numbers, but the article included the following tantalizing fact: If Alice tosses a coin until she sees a head followed by a tail, and Bob tosses a coin until he sees

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Head-tail versus head-head: A counterintuitive property of coin tosses

Monte Carlo estimates of pi and an important statistical lesson

March 14, 2016
By
Monte Carlo estimates of pi and an important statistical lesson

Today is March 14th, which is annually celebrated as Pi Day. Today's date, written as 3/14/16, represents the best five-digit approximation of pi. On Pi Day, many people blog about how to approximate pi. This article uses a Monte Carlo simulation to estimate pi, in spite of the fact that

The post Read more »

Tags: , , ,
Posted in SAS | Comments Off on Monte Carlo estimates of pi and an important statistical lesson

Why doesn’t PROC UNIVARIATE support certain common distributions?

December 7, 2015
By
Why doesn’t PROC UNIVARIATE support certain common distributions?

A SAS customer asked: Why isn't the chi-square distribution supported in PROC UNIVARIATE? That is an excellent question. I remember asking a similar question when I first started learning SAS. In addition to the chi-square distribution, I wondered why the UNIVARIATE procedure does not support the F distribution. These are

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Why doesn’t PROC UNIVARIATE support certain common distributions?

Guessing games, ensemble averages, and the wisdom of the crowd

November 11, 2015
By
Guessing games, ensemble averages, and the wisdom of the crowd

How much does this big pumpkin weigh? One of the cafeterias at SAS invited patrons to post their guesses on an internal social network at SAS. There was no prize for the correct guess; it was just a fun Halloween-week activity. I recognized this as an opportunity to apply the

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Guessing games, ensemble averages, and the wisdom of the crowd

Models and simulation for 2×2 contingency tables

October 14, 2015
By
Models and simulation for 2×2 contingency tables

When modeling and simulating data, it is important to be able to articulate the real-life statistical process that generates the data. Suppose a friend says to you, "I want to simulate two random correlated variables, X and Y." Usually this means that he wants data generated from a multivariate distribution,

The post Read more »

Tags: , ,
Posted in SAS | Comments Off on Models and simulation for 2×2 contingency tables

Welcome!

SAS-X.com offers news and tutorials about the various SAS® software packages, contributed by bloggers. You are welcome to subscribe to e-mail updates, or add your SAS-blog to the site.

Sponsors





Dear readers, proc-x is looking for sponsors who would be willing to support the site in exchange for banner ads in the right sidebar of the site. If you are interested, please e-mail me at: tal.galili@gmail.com
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.