Learn R Programming

lordif (version 0.3-3)

plot.lordif.MC: Plot method for Monte Carlo simulation output

Description

Produces plots for Monte Carlo output

Usage

# S3 method for lordif.MC
plot(x, mfrow = c(3, 1), width = 7, height = 7, ...)

Value

Returns no object.

Arguments

x

an object of class lordif.MC returned from montecarlo

mfrow

number of rows and columns per page for multi-fane plots

width

width of the canvas of the plotting device in inches

height

height of the canvas of the plotting device in inches

...

extra graphical parameters

Author

Seung W. Choi <choi.phd@gmail.com>

Details

Generates the following graphs: 1. thresholds for Chi-square probability for Model 1 vs. 2 2. thresholds for Chi-square probability for Model 1 vs. 3 3. thresholds for Chi-square probability for Model 2 vs. 3 4. pseudo R-square change from Model 1 to 2 5. pseudo R-square change from Model 1 to 3 6. pseudo R-square change from Model 2 to 3 7. proportional beta change from Model 1 to 2

References

Choi, S. W., Gibbons, L. E., Crane, P. K. (2011). lordif: An R Package for Detecting Differential Item Functioning Using Iterative Hybrid Ordinal Logistic Regression/Item Response Theory and Monte Carlo Simulations. Journal of Statistical Software, 39(8), 1-30. URL http://www.jstatsoft.org/v39/i08/.

See Also

lordif, montecarlo, permute

Examples

Run this code
## s3 plot method for class 'lordif.MC':
if (FALSE) age.dif <- lordif(Anxiety[paste("R",1:29,sep="")],Anxiety$age)
if (FALSE) age.dif.MC <- montecarlo(age.dif,alpha=.05,nr=500)
if (FALSE) plot(age.dif.MC,mfrow=c(1,1),width=8,height=7)

Run the code above in your browser using DataLab