From 7a64dc1a81c8f0b19c9ca2744c7f00be912d0f27 Mon Sep 17 00:00:00 2001 From: Alanah Jonas Date: Mon, 21 Oct 2024 18:26:55 +0100 Subject: [PATCH 1/2] Update anova.qmd add a reference to sas file and rename --- SAS/anova.qmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SAS/anova.qmd b/SAS/anova.qmd index 5863ebf4c..8387a2af6 100644 --- a/SAS/anova.qmd +++ b/SAS/anova.qmd @@ -1,5 +1,5 @@ --- -title: "linear-models" +title: "ANOVA" --- ### **Getting Started** @@ -60,3 +60,5 @@ knitr::include_graphics("../images/linear/sas-ss-type-3.png") ```{r, echo=FALSE, fig.align='center', out.width="75%"} knitr::include_graphics("../images/linear/sas-ss-type-4.png") ``` + +Reference: [Sum of squares type I, II, and III](http://dwoll.de/rexrepos/posts/anovaSStypes.html) From a856acb038c8288683b59c6c81239141fc077e19 Mon Sep 17 00:00:00 2001 From: Alanah Jonas Date: Mon, 21 Oct 2024 18:56:22 +0100 Subject: [PATCH 2/2] Update summary-stats.qmd update the title as per issue and add in the 4 quantiles --- SAS/summary-stats.qmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SAS/summary-stats.qmd b/SAS/summary-stats.qmd index e2304e80b..dc362948d 100644 --- a/SAS/summary-stats.qmd +++ b/SAS/summary-stats.qmd @@ -1,10 +1,11 @@ --- -title: "Deriving Quantiles or Percentiles in SAS" +title: "Calculating Quantiles (percentiles) in SAS" --- Percentiles can be calculated in SAS using the UNIVARIATE procedure. The procedure has the option `PCTLDEF` which allows for five different percentile definitions to be used. The default is `PCTLDEF=5`, which uses the empirical distribution function to find percentiles. This is how the 25th and 40th percentiles of `aval` in the dataset `adlb` could be calculated, using the default option for `PCTLDEF`. +For quantiles, Q1= 25%, Q2=50%, Q3 = 75%, Q4=100%. ```{r, eval=FALSE} proc univariate data=adlb;