Learn R Programming

ANOFA (version 0.1.3)

LandisBarrettGalvin2013: LandisBarrettGalvin2013 data

Description

The data, taken from lbg13;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 s15ANOFA and analyzed in lc23bANOFA.

Usage

LandisBarrettGalvin2013

Arguments

Format

An object of class data.frame.

References

Examples

Run this code

# 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))
     )


Run the code above in your browser using DataLab