interaction_effects_in_regression_analysis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
interaction_effects_in_regression_analysis [2025/06/16 07:36] – [Two category variables] hkimscil | interaction_effects_in_regression_analysis [2025/06/16 13:00] (current) – [E.g.2] hkimscil | ||
---|---|---|---|
Line 420: | Line 420: | ||
====== E.g.2 ====== | ====== E.g.2 ====== | ||
{{: | {{: | ||
- | Download the data file to c:/ | + | < |
- | do | + | # states.data <- readRDS(" |
- | < | + | states.data <- readRDS(url("http://commres.net/ |
+ | </ | ||
Or, read the above data file directly | Or, read the above data file directly | ||
Line 470: | Line 471: | ||
</ | </ | ||
< | < | ||
- | > data.info <- data.frame(attributes(data)[c(" | + | > data.info <- data.frame(attributes(states.data)[c(" |
> # attributes(data) reveals various attributes of the data file, | > # attributes(data) reveals various attributes of the data file, | ||
> # which contains variable names and labels. | > # which contains variable names and labels. |
interaction_effects_in_regression_analysis.1750027000.txt.gz · Last modified: 2025/06/16 07:36 by hkimscil