Documente Academic
Documente Profesional
Documente Cultură
TherelationshipbetweengroupstatusandYisconstantdependingonX.
TherelationshipbetweengroupandYdisregardingXisaboutthesameasholdingXconstant
4/17
Simulation 2
5/17
Discussion
Some things to note in this simulation
TheXvariableishighlyrelatedtogroupstatus
TheXvariableisrelatedtoY,theinterceptdoesn'tdependonthegroupvariable.
ThegroupvariableismarginallyrelatedtoYdisregardingX.
Themodelwouldestimatenoadjustedeffectduetogroup.
TheXvariableremainsrelatedtoYholdinggroupstatusconstant
Thereisn'tanydatatoinformtherelationshipbetweengroupandY.
Thisconclusionisentirelybasedonthemodel.
6/17
Simulation 3
7/17
Discussion
Some things to note in this simulation
Marginalassociationhasredgrouphigherthanblue.
Adjustedrelationshiphasbluegrouphigherthanred.
GroupstatusrelatedtoX.
ThereissomedirectevidenceforcomparingredandblueholdingXfixed.
8/17
Simulation 4
9/17
Discussion
Some things to note in this simulation
NomarginalassociationbetweengroupstatusandY.
Strongadjustedrelationship.
GroupstatusnotrelatedtoX.
ThereislotsofdirectevidenceforcomparingredandblueholdingXfixed.
10/17
Simulation 5
11/17
Discussion
Some things to note from this simulation
Thereisnosuchthingasagroupeffecthere.
GroupstatusandXunrelated.
TheimpactofgroupreversesitselfdependingonX.
Bothinterceptandslopedependsongroup.
There'slotsofinformationaboutgroupeffectsholdingXfixed.
12/17
Simulation 6
13/17
Do this to investigate the bivariate relationship
library(rgl)
plot3d(x1, x2, y)
14/17
Residual relationship
15/17
Discussion
Some things to note from this simulation
X1unrelatedtoX2
X2stronglyrelatedtoY
AdjustedrelationshipbetweenX1andYlargelyunchangedbyconsideringX2.
AlmostnoresidualvariabilityafteraccountingforX2.
16/17
Some final thoughts
Modelingmultivariaterelationshipsisdifficult.
Playaroundwithsimulationstoseehowtheinclusionorexclustionofanothervariablecanchange
analyses.
Theresultsoftheseanalysesdealwiththeimpactofvariablesonassociations.
17/17