Description Usage Arguments Value Examples
Produces results from sysVarOut.
1 | sysVarOutResults(baseModel, testModel, Gaussian = TRUE)
|
baseModel |
The name of the model that was produced by sysVarOut to be used as the null model for comparison (e.g., sysOut$models$base). |
testModel |
The name of the model that was produced by sysVarOut that you want results for (e.g., sysOut$models$profile, sysOut$models$profilePlusDist, sysOut$models$profileByDist). |
Gaussian |
Whether the system variable is Gaussian. Default is true. |
A list of results including an LRT comparison of the test model to the null, an omnibus anova test for the parameters in the model (this is identical to the LRT test for Gaussian dyadic system variables), a summary of the parameter estimates, and exponentiated parameter estimates (e.g., odds ratios) if Gaussian = FALSE.
1 2 3 4 5 6 7 8 9 10 | data <- rties_ExampleDataShort
newData <- dataPrep(basedata=data, dyadId="couple", personId="person",
obs_name="dial", dist_name="female", time_name="time", time_lag=2)
ic <- indivInertCoord(prepData=newData, whichModel="inertCoord")
profiles <- inspectProfiles(whichModel="inertCoord", prepData=newData,
paramEst=ic$params, n_profiles=2)
fullData <- makeFullData(basedata=data, dyadId="couple", personId="person",
dist_name="female", lpaData=profiles, params=ic$params)
sysOut <- sysVarOut(fullData=fullData, sysVar_name="conflict", sysVarType="indiv")
sysVarOutResults(baseModel=sysOut$models$base, testModel=sysOut$models$profileByDist)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.