Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
astra-cdc committed Jan 17, 2024
1 parent e9d8106 commit 56b947b
Show file tree
Hide file tree
Showing 8 changed files with 1,400 additions and 195 deletions.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
, surveytable.adjust_svyciprop = FALSE
, surveytable.adjust_svyciprop.df_method = "NHIS"

, surveytable.svychisq_statistic = "Wald"
, surveytable.svychisq_statistic = "F"
)
# No - creates a startup message which cannot be suppressed.
# set_count_1k()
Expand Down
1,577 changes: 1,390 additions & 187 deletions docs/articles/surveytable.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgdown_sha: ~
articles:
Example-National-Ambulatory-Medical-Care-Survey-NAMCS-tables: Example-National-Ambulatory-Medical-Care-Survey-NAMCS-tables.html
surveytable: surveytable.html
last_built: 2024-01-12T03:31Z
last_built: 2024-01-17T17:05Z
urls:
reference: https://cdcgov.github.io/surveytable/reference
article: https://cdcgov.github.io/surveytable/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/show_options.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/tab_subset.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/search.json

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ NAMCS
NCHS
NHIS
ORCID
PSU's
PUF
SEM
SEs
Talih
USC
importsurvey
knowns
4 changes: 2 additions & 2 deletions vignettes/surveytable.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ The `tab_subset()` function makes it easy to perform hypothesis testing by using
Consider the relationship between `SEX` an `SPECCAT`:

```{r, results='asis'}
tab_subset("SEX", "SPECCAT", test = TRUE)
tab_subset("AGER", "SPECCAT", test = TRUE)
```

According to these tables, there is an association between physician specialty type and patient sex. Among visits to primary care physicians, there is a statistical difference between male and female patients. But this difference is not statistically significant among the other two specialty types. Looking at it another way, among female patients, surgical and medical care specialties are statistically similar, and are statistically different from primary care. On the other hand, among male patients, there is only a statistical difference between primary and surgical specialties.
According to these tables, there is an association between physician specialty type and patient age. For instance, for patients under 15 years, there is a statistical difference between primary care physician specialty and medical care specialty. But for older patients, such as in the 45-64 age group, there is no statistical difference between the two specialty types.

As another example, consider the relationship between `MRI` and `SPECCAT`:

Expand Down

0 comments on commit 56b947b

Please sign in to comment.