path_analysis
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| path_analysis [2022/11/09 21:33] – hkimscil | path_analysis [2024/09/28 05:45] (current) – hkimscil | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Path Analysis ====== | ====== Path Analysis ====== | ||
| ===== Planned Behavior Modeling ===== | ===== Planned Behavior Modeling ===== | ||
| - | < | + | < | 
| ###################################################### | ###################################################### | ||
| ## data file: PlannedBehavior.csv | ## data file: PlannedBehavior.csv | ||
| Line 292: | Line 292: | ||
| # Summarize model | # Summarize model | ||
| summary(fitmod3, | summary(fitmod3, | ||
| + | </ | ||
| + | < | ||
| + | > df <- read.csv(" | ||
| + | > # Specify model | ||
| + | > specmod3 <- " | ||
| + | + # directional relationships | ||
| + | +    | ||
| + | +    | ||
| + | + | ||
| + | + # covariances | ||
| + | +    | ||
| + | +   norms ~~ control  | ||
| + | + " | ||
| + | > # Estimate model | ||
| + | > fitmod3 <- sem(specmod3, | ||
| + | > | ||
| + | > # Summarize model | ||
| + | > summary(fitmod3, | ||
| + | lavaan 0.6-12 ended normally after 18 iterations | ||
| + | |||
| + |   Estimator  | ||
| + |   Optimization method  | ||
| + |   Number of model parameters  | ||
| + | |||
| + |   Number of observations  | ||
| + | |||
| + | Model Test User Model: | ||
| + |                                                        | ||
| + |   Test statistic  | ||
| + |   Degrees of freedom  | ||
| + |   P-value (Chi-square)  | ||
| + | |||
| + | Model Test Baseline Model: | ||
| + | |||
| + |   Test statistic  | ||
| + |   Degrees of freedom  | ||
| + |   P-value  | ||
| + | |||
| + | User Model versus Baseline Model: | ||
| + | |||
| + | Comparative Fit Index (CFI) 1.000 | ||
| + | Tucker-Lewis Index (TLI) 1.019 | ||
| + | |||
| + | Loglikelihood and Information Criteria: | ||
| + | |||
| + | Loglikelihood user model (H0) -1258.517 | ||
| + | Loglikelihood unrestricted model (H1) -1257.506 | ||
| + |                                                        | ||
| + | Akaike (AIC) 2541.035 | ||
| + | Bayesian (BIC) 2580.555 | ||
| + |   Sample-size adjusted Bayesian (BIC)          | ||
| + | |||
| + | Root Mean Square Error of Approximation: | ||
| + | |||
| + | RMSEA 0.000 | ||
| + | 90 Percent confidence interval - lower 0.000 | ||
| + | 90 Percent confidence interval - upper 0.103 | ||
| + | P-value RMSEA <= 0.05 0.735 | ||
| + | |||
| + | Standardized Root Mean Square Residual: | ||
| + | |||
| + | SRMR 0.019 | ||
| + | |||
| + | Parameter Estimates: | ||
| + | |||
| + |   Standard errors  | ||
| + |   Information  | ||
| + | Information saturated (h1) model Structured | ||
| + | |||
| + | Regressions: | ||
| + |                     | ||
| + | intention ~ | ||
| + |     attitude  | ||
| + |     norms              | ||
| + |     control  | ||
| + |   behavior ~                                           | ||
| + |     intention  | ||
| + | |||
| + | Covariances: | ||
| + |                     | ||
| + | attitude ~~ | ||
| + |     norms              | ||
| + |     control  | ||
| + |   norms ~~                                             | ||
| + |     control  | ||
| + | |||
| + | Variances: | ||
| + |                     | ||
| + |     | ||
| + |     | ||
| + |     attitude  | ||
| + |     norms              | ||
| + |     control  | ||
| + | |||
| + | R-Square: | ||
| + |                     | ||
| + |     intention  | ||
| + |     behavior  | ||
| + | |||
| + | </ | ||
| + | |||
| + | < | ||
| + | a <- (5*(5+1))/2 | ||
| + | b <- 12 | ||
| + | a-b | ||
| + | |||
| </ | </ | ||
path_analysis.1667997180.txt.gz · Last modified:  by hkimscil
                
                