BaşlayınÜcretsiz Başlayın

Mental health vs. remote work

You have tested if there is an association between willingness to discuss mental health issues with a direct supervisor, and if an employee's anonymity will be protected when they take advantage of mental health treatment resources provided by their employer.

Now, you will test if there is an association between currently having a mental condition, current_condition, and an employee working remotely, work_remotely.

pandas and scipy.stats has been uploaded for you as pd and st, respectively, and the cleaned survey data as tech_mh.

Bu egzersiz

Analyzing Survey Data in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Perform cross tabulation and assign to variable, cross_table
cross_table = ____

# Conduct chi-square analysis
chi_analysis = ____

print(chi_analysis)
Kodu Düzenle ve Çalıştır