Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Algebra

Authors: Margaret L. Lial, John Hornsby, David I. Schneider, Callie Daniels

12th edition

134697022, 9780134313795 , 978-0134697024

More Books

Students also viewed these Mathematics questions