Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

If n = 100 and mean = 219 and sample standard deviation = 35, which of the following Python lines outputs the 95% confidence interval?

If n = 100 and mean = 219 and sample standard deviation =

35, which of the following Python lines outputs the 95%

confidence interval?

Question 3 options:

a)

import scipy.stats as st

n = 100

df = n - 1

mean = 219

stderror = 35.0/(n**0.5)

print(st.t.interval(0.90, df, mean, stderror))

b)

import scipy.stats as st

n = 100

df = n - 1

mean = 219

stderror = 35.0/(n**0.5)

print(st.t.interval(0.95, df, mean, stderror))

c)

import scipy.stats as st

n = 100

df = n - 1

mean = 219

stderror = 0.5/(n**35)

print(st.t.interval(0.95, df, mean, stderror))

d)

import scipy.stats as st

n = 219

df = n - 1

mean = 100

stderror = 35.0/(n**0.5)

print(st.t.interval(0.95, df, mean, stderror))

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

Quantitative Analysis For Management

Authors: Barry Render, Ralph M. Stair, Michael E. Hanna

11th Edition

9780132997621, 132149117, 132997622, 978-0132149112

Students also viewed these Mathematics questions