Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update anova.qmd sas file #341

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion SAS/anova.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "linear-models"
title: "ANOVA"
---

### **Getting Started**
Expand Down Expand Up @@ -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)
3 changes: 2 additions & 1 deletion SAS/summary-stats.qmd
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Loading