A previous article discusses Cohen's d statistic and how to compute it in SAS. For a two-sample independent design, Cohen's d estimates the standardized mean difference (SMD). Because Cohen's d is a biased statistic, the previous article also computes Hedges' g, which is an unbiased estimate of the SMD. Lastly, the article discusses how to estimate the standard error of the statistic. Today's article extends the analysis by showing how to compute a confidence interval (CI) for Cohen's d (and ...| The DO Loop
What is Cohen's d statistic and how is it used?| The DO Loop
SAS provides procedures to fit common probability distributions to sample data. You can use PROC UNIVARIATE in Base SAS or PROC SEVERITY in SAS/ETS software to estimate the distribution parameters for approximately 20 common distributions, including normal, lognormal, beta, gamma, and Weibull. Since there are infinitely many distributions, you may eventually need to fit a distribution that SAS does not natively support. There are three often-used methods for fitting the parameters of a distri...| The DO Loop
Dating can be a challenge. No, I'm not talking about the process of finding a soulmate. I'm talking about managing days, weeks, months, and years in statistical analyses and reports! One challenge is how to number the weeks of the year. Because there are seven days in a week, 52 weeks equals 7*52 = 364 days of the year. Of course, there are 365 (or 366) days in a year, so the "first week of the year" does not always start on New Year's Day. But when does it start? What date is the first day o...| The DO Loop
In SAS, the INPUT and PUT functions are powerful functions that enable you to convert data from character type to numeric type and vice versa.| The DO Loop
Just like the SAS DATA step, the SAS IML language supports both functions and subroutines.| The DO Loop
A previous article discusses a formula for a confidence interval for R-square in a linear regression model (Olkin and Finn (1995) "Correlations redux", Psychological Bulletin) The formula is useful for large data sets, but should be used with caution for small samples.| The DO Loop
The most common question I’ve been asked as a SAS programming instructor is, “Where do I begin?” If you are new to SAS programming and want a great FREE resource to get started, then continue reading. As part of learn.sas.com, we’ve created a new free course, SAS Programming: Getting Started. This...| communities.sas.com