Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4,6 TrustPilot
logo-home
Exam (elaborations)

DataScience_ISM_Ch04 – Instructor Solution Manual Chapter 4

Rating
-
Sold
-
Pages
14
Grade
A+
Uploaded on
24-02-2026
Written in
2025/2026

Access complete instructor solutions for Chapter 4 of Principles of Data Science by OpenStax. This Instructor Solution Manual (ISM) includes worked solutions, sample answers, and step-by-step explanations for exercises covering data cleaning, exploratory data analysis, and descriptive statistics. Ideal for instructors preparing lectures, grading assignments, or guiding students through Chapter 4. Official ISM access requires verified instructor credentials via OpenStax.

Show more Read less
Institution
Data Science
Course
Data Science

Content preview

, Principles of Data Science



Chapter 4
Inferential Statistics and Regression Analysis



Critical Thinking Questions
[4.1, LO 4.1.1]
1. An automotive designer wants to create a 90% confidence interval for the mean length of a
body panel on a new model electric vehicle. From a sample of 35 cars, the sample mean length
is 37 cm and the sample standard deviation is 2.8 cm.
a. Create a 90% confidence interval for the population mean length of the body panel
using Python.
b. Create a 90% confidence interval for the population mean length of the body panel
using Excel.
c. Create a 95% confidence interval for the population mean length of the body panel
using Python.
d. Create a 95% confidence interval for the population mean length of the body panel
using Excel.
e. Which confidence interval is narrower, the 90% or 95% confidence interval?

Solution a: A confidence interval for the mean when the population standard deviation is
unknown can be calculated using the Python t-interval() function.

import scipy.stats as stats
from scipy.stats import t
import numpy as np
import math

# Enter sample mean, sample standard deviation, and sample size
sample_mean = 37
sample_standard_deviation = 2.8
sample_size = 35

# Degrees of freedom (sample size - 1)
degrees_of_freedom = sample_size - 1

# Confidence level
confidence_level = 0.90

# standard error
standard_error = sample_standard_deviation / math.sqrt(sample_size)

# Calculate confidence interval using t.interval function
t.interval(confidence_level, degrees_of_freedom, sample_mean,
standard_error)

The resulting output will look like this:


11/11/24 For more free, peer-reviewed, openly licensed resources visit OpenStax.org. 2

Written for

Institution
Data Science
Course
Data Science

Document information

Uploaded on
February 24, 2026
Number of pages
14
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

R147,24
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF


Document also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EduDocs Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
4189
Member since
1 year
Number of followers
13
Documents
940
Last sold
1 day ago

4,6

305 reviews

5
230
4
45
3
14
2
7
1
9

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions