library(tidyverse)
library(readxl)
library(ggstatsplot)
library(DataExplorer)
library(dlookr)
library(flextable)
library(DT)
library(jmv)
library(pwr)
library(eurostat)
library(rnaturalearth)
library(rnaturalearthdata)
library(leaflet)
library(factoextra)
library(FactoMineR)
library(ggpubr)
diss <- read_csv("~/Desktop/R/data/diss.csv") %>% mutate_if(is.character, as.factor)
t_test <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 14)
one_way_anova <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 20)
sheet_15 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 15)
sheet_25 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 25)
sheet_1 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 1)
sheet_18 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 18)
sheet_24 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 24)
sheet_16 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 16)
sheet_12 <- read_excel("~/Desktop/R/various/jam_data.xlsx", sheet = 12)
stress <- read_csv("~/Desktop/R/data/stress.csv")
plot | com | veg_type | exp | top | elev | slope | s_ha | s_m2 | n2 |
|---|---|---|---|---|---|---|---|---|---|
sw1085nnw | a | f | een_nnw | convex | 1,085 | 36 | 42 | 2 | 9 |
sw1130n | a | f | n_ne_nne | flat | 1,130 | 34 | 33 | 2 | 5 |
sw1250nw | a | f | e_nw | convex | 1,250 | 24 | 37 | 6 | 12 |
sw1276nnw | a | f | een_nnw | concave | 1,276 | 26 | 33 | 3 | 8 |
sw1319n | a | f | n_ne_nne | concave | 1,319 | 27 | 30 | 2 | 5 |
sww1140nne | a | f | n_ne_nne | flat | 1,140 | 32 | 40 | 6 | 18 |
sww1215n | a | f | n_ne_nne | flat | 1,215 | 24 | 30 | 5 | 14 |
sww1300n | a | f | n_ne_nne | flat | 1,300 | 23 | 43 | 5 | 11 |
e1301nnw | b | f | een_nnw | flat | 1,301 | 28 | 24 | 5 | 11 |
s1156ne | b | f | n_ne_nne | flat | 1,156 | 14 | 26 | 2 | 3 |
s1280wwn | b | f | ees_wwn | convex | 1,280 | 9 | 17 | 2 | 3 |
ssw1229nnw | b | f | een_nnw | convex | 1,229 | 19 | 11 | 0 | 2 |
ssw1305nw | b | f | e_nw | flat | 1,305 | 29 | 17 | 1 | 3 |
sw1201nnw | b | f | een_nnw | flat | 1,201 | 29 | 21 | 2 | 5 |
sw1288e | b | f | e_nw | concave | 1,288 | 24 | 20 | 2 | 3 |
sw1335nnw | b | f | een_nnw | flat | 1,335 | 24 | 36 | 5 | 8 |
sww1340w | b | f | se_w | flat | 1,340 | 16 | 23 | 2 | 6 |
w1185nnw | b | f | een_nnw | concave | 1,185 | 16 | 34 | 3 | 11 |
w1220nne | b | f | n_ne_nne | flat | 1,220 | 27 | 40 | 4 | 9 |
w1370sww | b | f | sse_wws | concave | 1,370 | 15 | 28 | 3 | 7 |
e1105n | c | f | n_ne_nne | convex | 1,105 | 25 | 66 | 5 | 15 |
e1159nne | c | f | n_ne_nne | flat | 1,159 | 21 | 21 | 2 | 6 |
e1317n | c | f | n_ne_nne | flat | 1,317 | 28 | 40 | 4 | 14 |
e1446e | c | f | e_nw | flat | 1,446 | 23 | 14 | 1 | 4 |
e1497ne | c | f | n_ne_nne | flat | 1,497 | 25 | 22 | 4 | 8 |
e1550ne | c | f | n_ne_nne | flat | 1,550 | 16 | 25 | 6 | 11 |
e1600e | c | f | e_nw | convex | 1,600 | 26 | 35 | 7 | 13 |
e1701e | c | f | e_nw | concave | 1,701 | 19 | 33 | 7 | 13 |
s1248e | c | f | e_nw | concave | 1,248 | 9 | 38 | 3 | 11 |
see1420e | c | f | e_nw | concave | 1,420 | 15 | 64 | 10 | 33 |
see1519sw | c | f | s_sw_ssw | flat | 1,519 | 26 | 34 | 5 | 14 |
sse1514nnw | c | f | een_nnw | concave | 1,514 | 30 | 37 | 4 | 9 |
sse1549nnw | c | f | een_nnw | convex | 1,549 | 20 | 17 | 2 | 3 |
e1409see | d | f | ees_wwn | convex | 1,409 | 30 | 17 | 2 | 4 |
s1265e | d | f | e_nw | convex | 1,265 | 36 | 7 | 0 | 2 |
s1284nww | d | f | ees_wwn | convex | 1,284 | 21 | 21 | 2 | 4 |
s1494nww | d | f | ees_wwn | convex | 1,494 | 15 | 17 | 1 | 3 |
se1351n | d | f | n_ne_nne | concave | 1,351 | 24 | 16 | 1 | 3 |
se1411nee | d | f | een_nnw | convex | 1,411 | 25 | 28 | 4 | 8 |
se1494e | d | f | e_nw | convex | 1,494 | 18 | 28 | 2 | 6 |
see1379ne | d | f | n_ne_nne | convex | 1,379 | 18 | 13 | 2 | 3 |
see1489n | d | f | n_ne_nne | convex | 1,489 | 25 | 25 | 3 | 7 |
see1552nw | d | f | e_nw | flat | 1,552 | 27 | 39 | 6 | 10 |
see1601se | d | f | se_w | flat | 1,601 | 20 | 24 | 3 | 7 |
see1636e | d | f | e_nw | convex | 1,636 | 28 | 21 | 2 | 5 |
sse1574s | d | f | s_sw_ssw | flat | 1,574 | 25 | 13 | 1 | 3 |
ssw1317nw | d | f | e_nw | convex | 1,317 | 27 | 22 | 2 | 4 |
sw1314e | d | f | e_nw | flat | 1,314 | 28 | 11 | 0 | 2 |
sw1377w | d | f | se_w | convex | 1,377 | 23 | 20 | 2 | 5 |
sw1382nw | d | f | e_nw | concave | 1,382 | 22 | 23 | 2 | 4 |
sw1439nw | d | f | e_nw | flat | 1,439 | 26 | 29 | 4 | 7 |
sw1452nw | d | f | e_nw | flat | 1,452 | 28 | 26 | 2 | 7 |
sww1350nnw | d | f | een_nnw | convex | 1,350 | 23 | 13 | 2 | 2 |
sww1385n | d | f | n_ne_nne | flat | 1,385 | 17 | 21 | 3 | 6 |
w1080n | d | f | n_ne_nne | flat | 1,080 | 24 | 29 | 3 | 7 |
w1303ne | d | f | n_ne_nne | flat | 1,303 | 31 | 15 | 3 | 5 |
e1209nnw | e | f | een_nnw | convex | 1,209 | 16 | 14 | 2 | 3 |
s1193nnw | e | f | een_nnw | flat | 1,193 | 24 | 7 | 0 | 2 |
s1215ne | e | f | n_ne_nne | convex | 1,215 | 16 | 6 | 0 | 2 |
s1295nw | e | f | e_nw | flat | 1,295 | 27 | 7 | 2 | 2 |
s1327ne | e | f | n_ne_nne | flat | 1,327 | 14 | 6 | 1 | 2 |
s1350nww | e | f | ees_wwn | convex | 1,350 | 23 | 12 | 3 | 3 |
s1351sw | e | f | s_sw_ssw | flat | 1,351 | 24 | 7 | 2 | 1 |
s1399ssw | e | f | s_sw_ssw | flat | 1,399 | 19 | 5 | 0 | 1 |
sse1231sw | e | f | s_sw_ssw | flat | 1,231 | 22 | 16 | 3 | 3 |
ssw1346ne | e | f | n_ne_nne | flat | 1,346 | 7 | 8 | 2 | 2 |
ssw1397n | e | f | n_ne_nne | flat | 1,397 | 17 | 9 | 2 | 2 |
ssw1403w | e | f | se_w | flat | 1,403 | 18 | 8 | 2 | 2 |
sw1318nw | e | f | e_nw | convex | 1,318 | 26 | 16 | 1 | 3 |
sww1380nne | e | f | n_ne_nne | flat | 1,380 | 25 | 16 | 3 | 4 |
w1425nw | e | f | e_nw | flat | 1,425 | 18 | 12 | 1 | 3 |
w1505nee | e | f | een_nnw | convex | 1,505 | 22 | 12 | 3 | 3 |
w1513ssw | e | f | se_w | convex | 1,513 | 8 | 16 | 1 | 2 |
s1117w | f | f | se_w | convex | 1,117 | 15 | 57 | 10 | 24 |
s1440ssw | f | f | s_sw_ssw | flat | 1,440 | 29 | 32 | 1 | 8 |
se1204ne | f | f | n_ne_nne | concave | 1,204 | 18 | 42 | 0 | 7 |
se1330ssw | f | f | s_sw_ssw | flat | 1,330 | 23 | 24 | 4 | 13 |
se1423see | f | f | ees_wwn | flat | 1,423 | 19 | 39 | 4 | 12 |
se1530e | f | f | e_nw | flat | 1,530 | 26 | 43 | 8 | 23 |
se1586sw | f | f | s_sw_ssw | flat | 1,586 | 25 | 45 | 5 | 17 |
sse1160ees | f | f | ees_wwn | concave | 1,160 | 10 | 43 | 9 | 20 |
sse1277sw | f | f | s_sw_ssw | flat | 1,277 | 15 | 22 | 2 | 3 |
sse1301se | f | f | se_w | flat | 1,301 | 13 | 34 | 5 | 12 |
sse1350se | f | f | se_w | convex | 1,350 | 16 | 20 | 2 | 4 |
sse1500w | f | f | se_w | flat | 1,500 | 17 | 37 | 3 | 12 |
ssw1120sww | f | f | sse_wws | flat | 1,120 | 21 | 38 | 6 | 17 |
ssw1154se | f | f | se_w | convex | 1,154 | 28 | 26 | 2 | 6 |
ssw1163sww | f | f | sse_wws | flat | 1,163 | 14 | 43 | 10 | 19 |
e1255n | g | f | n_ne_nne | flat | 1,255 | 19 | 53 | 5 | 18 |
s1150e | g | f | e_nw | flat | 1,150 | 5 | 58 | 8 | 26 |
se1147se | g | f | se_w | concave | 1,147 | 5 | 45 | 5 | 21 |
se1260ees | g | f | ees_wwn | flat | 1,260 | 4 | 62 | 6 | 23 |
see1249se | g | f | se_w | flat | 1,249 | 3 | 49 | 8 | 24 |
see1272se | g | f | se_w | flat | 1,272 | 10 | 51 | 5 | 21 |
see1324enn | g | f | n_ne_nne | flat | 1,324 | 12 | 46 | 8 | 24 |
see1353sww | g | f | sse_wws | convex | 1,353 | 20 | 44 | 6 | 19 |
see1428sw | g | f | s_sw_ssw | flat | 1,428 | 22 | 42 | 9 | 22 |
sse1098nee | g | f | een_nnw | flat | 1,098 | 18 | 56 | 8 | 26 |
sse1400se | g | f | se_w | concave | 1,400 | 11 | 33 | 3 | 10 |
sse1449sw | g | f | s_sw_ssw | flat | 1,449 | 16 | 34 | 2 | 9 |
ssw1455w | g | f | se_w | flat | 1,455 | 8 | 16 | 2 | 5 |
sw1354n | g | f | n_ne_nne | flat | 1,354 | 23 | 46 | 7 | 21 |
sww1365s | g | f | s_sw_ssw | flat | 1,365 | 19 | 31 | 2 | 8 |
sww926sww | h | f | sse_wws | convex | 926 | 14 | 33 | 3 | 16 |
sww960nee | h | f | een_nnw | flat | 960 | 15 | 60 | 9 | 28 |
w1035nne | h | f | n_ne_nne | flat | 1,035 | 7 | 76 | 6 | 31 |
w1055sw | h | f | se_w | flat | 1,055 | 22 | 51 | 6 | 21 |
w967nnw | h | f | een_nnw | flat | 967 | 11 | 66 | 7 | 28 |
ssw1010sww | i | f | sse_wws | convex | 1,010 | 17 | 37 | 7 | 16 |
ssw1074sww | i | f | sse_wws | convex | 1,074 | 22 | 54 | 11 | 24 |
sww1039e | i | f | e_nw | flat | 1,039 | 22 | 36 | 12 | 19 |
sww1072nw | i | f | e_nw | flat | 1,072 | 17 | 37 | 3 | 16 |
sww970nnw | i | f | een_nnw | flat | 970 | 27 | 39 | 4 | 11 |
sww980e | i | f | e_nw | convex | 980 | 9 | 70 | 11 | 27 |
s1700s | j | s | s_sw_ssw | convex | 1,700 | 20 | 45 | 13 | 26 |
s1800ssw | j | s | s_sw_ssw | flat | 1,800 | 16 | 55 | 15 | 31 |
sse1700sse | j | s | sse_wws | convex | 1,700 | 16 | 52 | 10 | 25 |
sse1800s | j | s | s_sw_ssw | convex | 1,800 | 16 | 55 | 15 | 28 |
s1500s | k | s | s_sw_ssw | flat | 1,500 | 15 | 57 | 17 | 33 |
s1600sww | k | s | sse_wws | flat | 1,600 | 17 | 74 | 23 | 44 |
sse1600see | k | s | ees_wwn | flat | 1,600 | 17 | 60 | 17 | 34 |
ssw1515sww | k | s | sse_wws | flat | 1,515 | 9 | 61 | 18 | 33 |
ssw1600ssw | k | s | s_sw_ssw | convex | 1,600 | 15 | 46 | 15 | 27 |
ssw1700s | k | s | s_sw_ssw | flat | 1,700 | 15 | 48 | 13 | 26 |
sw1600w | k | s | se_w | concave | 1,600 | 16 | 51 | 12 | 31 |
sww1510w | k | s | se_w | concave | 1,510 | 13 | 69 | 15 | 41 |
se2000ssw | l | s | s_sw_ssw | concave | 2,000 | 7 | 56 | 16 | 34 |
ssw1806w | l | s | se_w | flat | 1,806 | 18 | 55 | 12 | 30 |
ssw1906sw | l | s | s_sw_ssw | concave | 1,906 | 10 | 47 | 14 | 25 |
sw1700sww | l | s | sse_wws | flat | 1,700 | 16 | 45 | 11 | 30 |
sw1800sww | l | s | sse_wws | flat | 1,800 | 17 | 57 | 13 | 30 |
sw1900w | l | s | se_w | convex | 1,900 | 13 | 54 | 13 | 29 |
sww1600nw | l | s | e_nw | flat | 1,600 | 17 | 50 | 21 | 34 |
sww1700nw | l | s | e_nw | flat | 1,700 | 15 | 35 | 11 | 19 |
sww1800nw | l | s | e_nw | flat | 1,800 | 15 | 52 | 18 | 33 |
sww1900nw | l | s | e_nw | flat | 1,900 | 18 | 41 | 8 | 19 |
sww2000nw | l | s | e_nw | convex | 2,000 | 19 | 45 | 13 | 24 |
w1600wwn | l | s | ees_wwn | flat | 1,600 | 13 | 49 | 14 | 30 |
w1700nnw | l | s | een_nnw | flat | 1,700 | 14 | 48 | 14 | 25 |
w1800nnw | l | s | een_nnw | flat | 1,800 | 13 | 38 | 11 | 22 |
w1900nww | l | s | ees_wwn | concave | 1,900 | 20 | 37 | 13 | 22 |
e1919e | m | s | e_nw | concave | 1,919 | 25 | 47 | 12 | 23 |
e2020e | m | s | e_nw | concave | 2,020 | 22 | 53 | 11 | 33 |
e2121e | m | s | e_nw | flat | 2,121 | 16 | 39 | 11 | 20 |
se1799nnw | m | s | een_nnw | flat | 1,799 | 18 | 39 | 11 | 19 |
se1900sw | m | s | s_sw_ssw | flat | 1,900 | 12 | 53 | 15 | 28 |
se2105s | m | s | s_sw_ssw | concave | 2,105 | 8 | 36 | 12 | 19 |
see1838ees | m | s | ees_wwn | flat | 1,838 | 13 | 39 | 14 | 22 |
see1940se | m | s | se_w | concave | 1,940 | 20 | 60 | 13 | 32 |
see2039sw | m | s | s_sw_ssw | concave | 2,039 | 13 | 40 | 13 | 21 |
sse2096sw | m | s | s_sw_ssw | convex | 2,096 | 10 | 36 | 9 | 16 |
sw2000sww | m | s | sse_wws | concave | 2,000 | 16 | 41 | 9 | 23 |
w2000w | m | s | se_w | flat | 2,000 | 17 | 38 | 12 | 22 |
s1900ssw | n | s | s_sw_ssw | flat | 1,900 | 9 | 64 | 16 | 34 |
s2000sw | n | s | s_sw_ssw | convex | 2,000 | 10 | 53 | 13 | 28 |
sse1900s | n | s | s_sw_ssw | convex | 1,900 | 10 | 52 | 17 | 29 |
sse2000s | n | s | s_sw_ssw | concave | 2,000 | 10 | 60 | 11 | 31 |
variables | min | Q1 | mean | median | Q3 | max | zero | minus | outlier |
|---|---|---|---|---|---|---|---|---|---|
elev | 926.0 | 1,255.0 | 1,448.1592357 | 1,385.0 | 1,600.00 | 2,121.0 | 0 | 0 | 1 |
slope | 3.0 | 15.0 | 18.8025478 | 18.0 | 24.00 | 36.0 | 0 | 0 | 0 |
s_ha | 5.0 | 21.0 | 35.5923567 | 37.0 | 48.00 | 76.0 | 0 | 0 | 0 |
s_m2 | 0.0 | 2.0 | 6.4968153 | 5.0 | 11.00 | 23.0 | 7 | 0 | 0 |
n2 | 1.0 | 5.0 | 15.0127389 | 13.0 | 24.00 | 44.0 | 0 | 0 | 0 |
e | 0.4 | 0.5 | 0.6433121 | 0.7 | 0.80 | 0.9 | 0 | 0 | 0 |
invasive | 0.0 | 1.0 | 2.1528662 | 2.0 | 3.00 | 12.0 | 35 | 0 | 5 |
rare | 0.0 | 0.0 | 0.1592357 | 0.0 | 0.00 | 2.0 | 139 | 0 | 18 |
tree_cover | 0.0 | 0.0 | 59.0764331 | 80.0 | 90.00 | 98.0 | 43 | 0 | 0 |
shrub_cover | 0.0 | 0.0 | 3.6560510 | 1.0 | 4.00 | 73.0 | 72 | 0 | 12 |
herb_cover | 0.0 | 4.0 | 31.1656051 | 13.0 | 74.00 | 98.0 | 11 | 0 | 0 |
ph | 1.0 | 3.0 | 6.4458599 | 5.0 | 9.00 | 23.0 | 0 | 0 | 6 |
ch | 0.0 | 0.0 | 0.9171975 | 0.0 | 1.00 | 5.0 | 89 | 0 | 24 |
h | 2.0 | 15.0 | 26.1783439 | 26.0 | 35.00 | 62.0 | 0 | 0 | 0 |
cr | 0.0 | 0.0 | 0.7515924 | 0.0 | 1.00 | 6.0 | 88 | 0 | 15 |
th | 0.0 | 0.0 | 1.2993631 | 1.0 | 2.00 | 6.0 | 60 | 0 | 2 |
trees | 0.0 | 1.0 | 2.6305732 | 2.0 | 4.00 | 12.0 | 16 | 0 | 6 |
shrubs | 0.0 | 2.0 | 4.7324841 | 5.0 | 7.00 | 15.0 | 17 | 0 | 1 |
semishrubs | 0.0 | 0.0 | 0.1464968 | 0.0 | 0.00 | 1.0 | 134 | 0 | 23 |
perennials | 2.0 | 16.0 | 26.1719745 | 27.0 | 34.00 | 59.0 | 0 | 0 | 0 |
biennials | 0.0 | 0.0 | 0.4713376 | 0.0 | 1.00 | 5.0 | 108 | 0 | 4 |
annuals | 0.0 | 0.0 | 1.4394904 | 1.0 | 2.00 | 7.0 | 52 | 0 | 1 |
x1_5 | 0.0 | 9.0 | 47.9824561 | 32.0 | 70.75 | 312.0 | 9 | 0 | 5 |
x5_10 | 0.0 | 17.0 | 62.2894737 | 42.5 | 87.50 | 301.0 | 2 | 0 | 6 |
x10_15 | 0.0 | 13.0 | 50.6666667 | 31.0 | 81.75 | 192.0 | 1 | 0 | 2 |
x15_20 | 0.0 | 13.0 | 39.5526316 | 31.0 | 56.75 | 183.0 | 1 | 0 | 3 |
x20_25 | 0.0 | 12.0 | 24.7982456 | 21.5 | 32.75 | 95.0 | 2 | 0 | 5 |
x25_30 | 0.0 | 5.0 | 12.8596491 | 10.0 | 18.75 | 55.0 | 12 | 0 | 5 |
x30_35 | 0.0 | 2.0 | 7.1052632 | 7.0 | 10.00 | 33.0 | 21 | 0 | 2 |
x_35 | 0.0 | 0.0 | 7.2631579 | 5.0 | 12.00 | 36.0 | 34 | 0 | 2 |
total_stems | 35.0 | 140.5 | 252.5175439 | 210.5 | 345.25 | 785.0 | 0 | 0 | 2 |
##
## DESCRIPTIVES
##
## Descriptives
## ────────────────────────────────────────────────────────────────────────────────────────────────────────────
## elev slope s_ha s_m2 invasive rare
## ────────────────────────────────────────────────────────────────────────────────────────────────────────────
## N 157 157 157 157 157 157
## Missing 0 0 0 0 0 0
## Mean 1448.159 18.80255 35.59236 6.496815 2.152866 0.1592357
## Std. error mean 22.64264 0.5420004 1.345808 0.4151531 0.1671556 0.03781294
## 95% CI mean lower bound 1403.780 17.74025 32.95462 5.683130 1.825247 0.08512367
## 95% CI mean upper bound 1492.538 19.86485 38.23009 7.310500 2.480485 0.2333477
## Median 1385.000 18.00000 37.00000 5.000000 2.000000 0.000000
## Standard deviation 283.7115 6.791246 16.86293 5.201854 2.094454 0.4737947
## Variance 80492.20 46.12102 284.3584 27.05928 4.386739 0.2244815
## Range 1195.000 33.00000 71.00000 23.00000 12.00000 2.000000
## Minimum 926.0000 3.000000 5.000000 0.000000 0.000000 0.000000
## Maximum 2121.000 36.00000 76.00000 23.00000 12.00000 2.000000
## Shapiro-Wilk W 0.9569441 0.9891714 0.9790337 0.8985776 0.8362938 0.3714480
## Shapiro-Wilk p 0.0000881 0.2695829 0.0171917 < .0000001 < .0000001 < .0000001
## ────────────────────────────────────────────────────────────────────────────────────────────────────────────
x1_5 | x5_10 | x10_15 | x15_20 | x20_25 | x25_30 | x30_35 | x_35 | total_stems |
|---|---|---|---|---|---|---|---|---|
43 | 43 | 43 | 43 | 43 | 43 | 43 | 43 | 43 |
##
## LINEAR REGRESSION
##
## Model Fit Measures
## ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
## Model R R² Adjusted R² AIC RMSE F df1 df2 p
## ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
## 1 0.9033856 0.8161056 0.8123139 582.9513 4.287989 215.2383 2 97 < .0000001
## ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────
##
##
## MODEL SPECIFIC RESULTS
##
## MODEL 1
##
## Model Coefficients - dan.grump
## ─────────────────────────────────────────────────────────────────────────
## Predictor Estimate SE t p
## ─────────────────────────────────────────────────────────────────────────
## Intercept 125.96556586 3.0409482 41.42312073 < .0000001
## dan.sleep -8.95024973 0.5534577 -16.17151638 < .0000001
## baby.sleep 0.01052447 0.2710637 0.03882656 0.9691085
## ─────────────────────────────────────────────────────────────────────────
##
##
## ASSUMPTION CHECKS
##
## Collinearity Statistics
## ───────────────────────────────────────
## VIF Tolerance
## ───────────────────────────────────────
## dan.sleep 1.651038 0.6056796
## baby.sleep 1.651038 0.6056796
## ───────────────────────────────────────
##
##
## Normality Test (Shapiro-Wilk)
## ─────────────────────────────
## Statistic p
## ─────────────────────────────
## 0.9922840 0.8413983
## ─────────────────────────────
##
## BINOMIAL LOGISTIC REGRESSION
##
## Model Fit Measures
## ──────────────────────────────────────────────────────────────────────────────
## Model Deviance AIC R²-McF χ² df p
## ──────────────────────────────────────────────────────────────────────────────
## 1 321.1986 333.1986 0.3940874 208.9086 5 < .0000001
## ──────────────────────────────────────────────────────────────────────────────
##
##
## MODEL SPECIFIC RESULTS
##
## MODEL 1
##
## Model Coefficients - stress
## ────────────────────────────────────────────────────────────────────────
## Predictor Estimate SE Z p
## ────────────────────────────────────────────────────────────────────────
## Intercept -4.43992668 1.08564769 -4.089657 0.0000432
## stability 0.11078612 0.01494365 7.413590 < .0000001
## flexibility 0.14233614 0.01639125 8.683664 < .0000001
## tasks -0.11216244 0.01977059 -5.673196 < .0000001
## lack_train 0.01931151 0.01036419 1.863293 0.0624211
## lack_car_dev 0.04517356 0.01309809 3.448866 0.0005629
## ────────────────────────────────────────────────────────────────────────
## Note. Estimates represent the log odds of "stress = Stressed" vs.
## "stress = Unstressed"
##
##
## ASSUMPTION CHECKS
##
## Collinearity Statistics
## ─────────────────────────────────────────
## VIF Tolerance
## ─────────────────────────────────────────
## stability 1.831916 0.5458765
## flexibility 2.850794 0.3507794
## tasks 3.653803 0.2736875
## lack_train 1.172410 0.8529441
## lack_car_dev 1.417788 0.7053242
## ─────────────────────────────────────────
##
##
## PREDICTION
##
## Classification Table – …
## ─────────────────────────────────────────────────────
## Observed Unstressed Stressed % Correct
## ─────────────────────────────────────────────────────
## Unstressed 324 24 93.10345
## Stressed 55 64 53.78151
## ─────────────────────────────────────────────────────
## Note. The cut-off value is set to 0.5
##
##
## Predictive Measures
## ────────────────────────────────────────────────────────
## Accuracy Specificity Sensitivity AUC
## ────────────────────────────────────────────────────────
## 0.8308351 0.9310345 0.5378151 0.8967691
## ────────────────────────────────────────────────────────
## Note. The cut-off value is set to 0.5