Nothing
\dontrun{
# read in the example data (generated, not real student data)
sdf <- readNAEP(path=system.file("extdata/data", "M36NT2PM.dat", package = "NAEPprimer"))
# example with glm model
myLogit <- logit.sdf(formula=dsex ~ b017451 + b003501, data = sdf, returnVarEstInputs = T)
# single coefficient integer
waldTest(model = myLogit, coefficients = 2)
# set of coefficients integer vector
waldTest(model = myLogit, coefficients = 2:5)
# specify levels of factor variable to test
waldTest(myLogit, c("b017451Every day", "b017451About once a week"))
# specify all levels of factor variable to test
waldTest(myLogit, "b017451")
# example with lm model
fit <- lm.sdf(formula=composite ~ dsex + b017451, data = sdf, returnVarEstInputs = T)
waldTest(model = fit, coefficients = "b017451")
# examples with alternative (nonzero) null hypothesis values
waldTest(model = myLogit, coefficients = 2, H0 = 0.5)
waldTest(model = myLogit, coefficients = 2:5, H0 = c(0.5, 0.6, 0.7, 0.8))
waldTest(model = myLogit, coefficients = "b017451", H0 = c(0.5, 0.6, 0.7, 0.8))
waldTest(model = myLogit, coefficients = c("b017451Every day", "b017451About once a week"),
H0 = c(0.1, 0.2))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.