LandisBarrettGalvin2013 | R Documentation |
The data, taken from \insertCitelbg13;textualANOFA, is a dataset where the
participants (n = 553) are classified according to two factors,
first, how modalities of care in a family
medicine residency program were given. The possible cases were Collocated Behavioral Health service
(CBH), a Primary-Care Behavioral Health service
(PBH) and a Blended Model
(BM).
Second, how a patient’s care was financed:
Medicare
(MC), Medicaid
(MA), a mix of Medicare/Medicaid
(MC/MA), Personal insurance
(PI), or Self-paid
($P). This
design therefore has 5 x 3 = 15 cells. It was thoroughly examined
in \insertCites15ANOFA and analyzed in \insertCitelc23bANOFA.
LandisBarrettGalvin2013
An object of class data.frame.
# running the anofa
L <- anofa( obsfreq ~ provider * program, LandisBarrettGalvin2013)
# getting a plot
anofaPlot(L)
# the G table shows a significant interaction
summary(L)
# getting the simple effect
e <- emFrequencies(L, ~ program | provider )
## Getting some contrast by provider (i.e., on e)
f <- contrastFrequencies(e, list(
"(PBH & CBH) vs. BM"=c(1,1,-2)/2,
"PBH vs. CBH"=c(1,-1,0))
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.