Question: Investigate Difficile data set. In this dataset patients are given a drug to help improve their energy. (simple python code) date set link: https://raw.githubusercontent.com/researchpy/Data-sets/master/difficile.csv my

Investigate Difficile data set. In this dataset patients are given a drug to help improve their energy. (simple python code)

date set link: https://raw.githubusercontent.com/researchpy/Data-sets/master/difficile.csv

my teacher put the date set link into this cvs file:

import pandas as pd

df = pd.read_csv("17.2.1 difficile.csv")

Question 1. Run 1-way ANOVA

given code so far:

import scipy.stats as stats import statsmodels.api as sm from statsmodels.formula.api import ols

Question 2. Run a pairwise ANOVA to check for dose's significance on libido.

given code so far:

import statsmodels.stats.multicomp as mc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!