Mulai sekarangMulai gratis

Tying it all together!

Now let's look at a new example to practice what we learned this chapter! Let's ask "Does homeownership vary by education level?" To answer this question, I want you to create a contingency table, visualize differences with a segmented bar graph, and then run a chi square test.

Latihan ini merupakan bagian dari kursus

Analyzing Survey Data in R

Lihat Kursus

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

# Construct a contingency table
tab <- ___
Edit dan Jalankan Kode