User Tools

Site Tools


path_analysis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
path_analysis [2022/11/09 21:29] hkimscilpath_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> 
 +
 +<code html 66 |A description>
 +some text
 +</code>
 +
 ===== Planned Behavior Modeling ===== ===== Planned Behavior Modeling =====
 <code> <code>
Line 274: Line 285:
  
  
 +</code>
 +====== Model 3 ======
 +<code>
 +# Specify model
 +specmod3 <- "
 +  # directional relationships
 +  intention ~ attitude + norms + control 
 +  behavior ~ intention
 +  
 +  # covariances
 +  attitude ~~ norms + control
 +  norms ~~ control 
 +"
 +# Estimate model
 +fitmod3 <- sem(specmod3, data=df)
 +
 +# Summarize model
 +summary(fitmod3, fit.measures=TRUE, rsquare=TRUE)
 +</code>
 +
 +<code>
 +a <- (5*(5+1))/2
 +b <- 12
 +a-b 
 +
 </code> </code>
path_analysis.txt · Last modified: 2022/11/11 08:34 by hkimscil

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki