Posts Tagged ‘ Data Analysis ’

Should you use principal component regression?

October 25, 2017
By
Should you use principal component regression?

This article describes the advantages and disadvantages of principal component regression (PCR). This article also presents alternative techniques to PCR. In a previous article, I showed how to compute a principal component regression in SAS. Recall that principal component regression is a technique for handling near collinearities among the regression [...] The post Should you use principal component regression? appeared first on The DO Loop.

Read more »

The diffogram and other graphs for multiple comparisons of means

October 18, 2017
By
The diffogram and other graphs for multiple comparisons of means

In a previous article, I discussed the lines plot for multiple comparisons of means. Another graph that is frequently used for multiple comparisons is the diffogram, which indicates whether the pairwise differences between means of groups are statistically significant. This article discusses how to interpret a diffogram. Two related plots [...] The post The diffogram and other graphs for multiple comparisons of means appeared first on The DO Loop.

Read more »

Graphs for multiple comparisons of means: The lines plot

October 16, 2017
By
Graphs for multiple comparisons of means: The lines plot

Last week Warren Kuhfeld wrote about a graph called the "lines plot" that is produced by SAS/STAT procedures in SAS 9.4M5. (Notice that the "lines plot" has an 's'; it is not a line plot!) The lines plot is produced as part of an analysis that performs multiple comparisons of [...] The post Graphs for multiple comparisons of means: The lines plot appeared first on The DO Loop.

Read more »

Order correlations by magnitude

October 9, 2017
By
Order correlations by magnitude

Correlations between variables are typically displayed in a matrix. Because the correlation matrix is determined by the order of the variables, it is difficult to find the largest and smallest correlations, which is why analysts sometimes use colors to visualize the correlation matrix. Another visualization option is the pairwise correlation [...] The post Order correlations by magnitude appeared first on The DO Loop.

Read more »

Create and interpret a weighted histogram

October 4, 2017
By
Create and interpret a weighted histogram

If you perform a weighted statistical analysis, it can be useful to produce a statistical graph that also incorporates the weights. This article shows how to construct and interpret a weighted histogram in SAS. How to construct a weighted histogram Before constructing a weighted histogram, let's review the construction of [...] The post Create and interpret a weighted histogram appeared first on The DO Loop.

Read more »

How to understand weight variables in statistical analyses

October 2, 2017
By
How to understand weight variables in statistical analyses

How can you specify weights for a statistical analysis? Hmmm, that's a "weighty" question! Many people on discussion forums ask "What is a weight variable?" and "How do you choose a weight for each observation?" This article gives a brief overview of weight variables in statistics and includes examples of [...] The post How to understand weight variables in statistical analyses appeared first on The DO Loop.

Read more »

Fisher’s transformation of the correlation coefficient

September 20, 2017
By
Fisher’s transformation of the correlation coefficient

Pearson's correlation measures the linear association between two variables. Because the correlation is bounded between [-1, 1], the sampling distribution for highly correlated variables is highly skewed. Even for bivariate normal data, the skewness makes it challenging to estimate confidence intervals for the correlation, to run one-sample hypothesis tests ("Is [...] The post Fisher's transformation of the correlation coefficient appeared first on The DO Loop.

Read more »

Store multiple strings of text as a macro variable in SAS with PROC SQL and the INTO statement

Store multiple strings of text as a macro variable in SAS with PROC SQL and the INTO statement

I often need to work with many variables at a time in SAS, but I don’t like to type all of their names manually – not only is it messy to read, it also induces errors in transcription, even when copying and pasting.  I recently learned of an elegant and efficient way to store multiple […]

Read more »

Construct polynomial effects in SAS regression models

September 7, 2017
By
Construct polynomial effects in SAS regression models

If you use SAS regression procedures, you are probably familiar with the "stars and bars" notation, which enables you to construct interaction effects in regression models. Although you can construct many regression models by using that classical notation, a friend recently reminded me that the EFFECT statement in SAS provides [...] The post Construct polynomial effects in SAS regression models appeared first on The DO Loop.

Read more »

7 ways to view correlation

September 5, 2017
By
7 ways to view correlation

Correlation is a fundamental statistical concept that measures the linear association between two variables. There are multiple ways to think about correlation: geometrically, algebraically, with matrices, with vectors, with regression, and more. To paraphrase the great songwriter Paul Simon, there must be 50 ways to view your correlation! But don't [...] The post 7 ways to view correlation appeared first on The DO Loop.

Read more »


Subscribe

Email:

  Subscribe