path_analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
path_analysis [2022/11/09 21:29] – hkimscil | path_analysis [2022/11/10 18:14] – [Path Analysis] hkimscil | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Path Analysis ====== | ====== Path Analysis ====== | ||
+ | <code html 3> | ||
+ | some text | ||
+ | some text | ||
+ | some text | ||
+ | some text | ||
+ | </ | ||
+ | |||
+ | <code html 66 |A description> | ||
+ | some text | ||
+ | </ | ||
+ | |||
===== Planned Behavior Modeling ===== | ===== Planned Behavior Modeling ===== | ||
< | < | ||
Line 274: | Line 285: | ||
> | > | ||
+ | </ | ||
+ | ====== Model 3 ====== | ||
+ | < | ||
+ | # Specify model | ||
+ | specmod3 <- " | ||
+ | # directional relationships | ||
+ | intention ~ attitude + norms + control | ||
+ | behavior ~ intention | ||
+ | | ||
+ | # covariances | ||
+ | attitude ~~ norms + control | ||
+ | norms ~~ control | ||
+ | " | ||
+ | # Estimate model | ||
+ | fitmod3 <- sem(specmod3, | ||
+ | |||
+ | # Summarize model | ||
+ | summary(fitmod3, | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | a <- (5*(5+1))/2 | ||
+ | b <- 12 | ||
+ | a-b | ||
+ | |||
</ | </ |
path_analysis.txt · Last modified: 2022/11/11 08:34 by hkimscil