r:path_analysis
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| r:path_analysis [2024/10/30 03:32] – [Lavaan in R: explanation] hkimscil | r:path_analysis [2025/11/30 23:22] (current) – hkimscil | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| * The number of unique (non-redundent) source of information | * The number of unique (non-redundent) source of information | ||
| * $p(p+1)/2$ | * $p(p+1)/2$ | ||
| - | | + | |
| - | * Just-identified (df = 0) | + | * Just-identified (df = 0) |
| - | * Model can be estimated, but cannot be assessed | + | * Model can be estimated, but cannot be assessed |
| - | * Over-identified (df > 0) | + | * Over-identified (df > 0) |
| - | * Model can be estimated and assessed | + | * Model can be estimated and assessed |
| - | * Under-identified (df < 0) | + | * Under-identified (df < 0) |
| - | * Model cannot be either estimated or assessed | + | * Model cannot be either estimated or assessed |
| * Exogenous and | * Exogenous and | ||
| Line 58: | Line 58: | ||
| install.packages(" | install.packages(" | ||
| library(readr) | library(readr) | ||
| - | df <- read.csv(" | + | df <- read.csv(" |
| head(df) | head(df) | ||
| str(df) | str(df) | ||
| Line 132: | Line 132: | ||
| < | < | ||
| - | > df <- read.csv(" | + | > df <- read.csv(" |
| > head(df) | > head(df) | ||
| attitude norms control intention behavior | attitude norms control intention behavior | ||
| Line 573: | Line 573: | ||
| < | < | ||
| # processdata< | # processdata< | ||
| - | processdata< | + | processdata< |
| | | ||
| </ | </ | ||
| Line 665: | Line 665: | ||
| > | > | ||
| > # processdata< | > # processdata< | ||
| - | > processdata< | + | > processdata< |
| + header=TRUE, | + header=TRUE, | ||
| > | > | ||
| Line 1070: | Line 1070: | ||
| CODING | CODING | ||
| < | < | ||
| - | processdata< | + | processdata< |
| | | ||
| str(processdata) | str(processdata) | ||
| Line 1182: | Line 1182: | ||
| {{youtube> | {{youtube> | ||
| < | < | ||
| - | processdata <- read.csv(" | + | processdata <- read.csv(" |
| str(processdata) | str(processdata) | ||
| # install.packages(" | # install.packages(" | ||
r/path_analysis.1730259168.txt.gz · Last modified: by hkimscil
