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
Other

ISYE 6501 HW 08 Data Warehousing and Foundations of Business Intelligence (California State University, Fullerton).pdf

Rating
-
Sold
-
Pages
13
Uploaded on
10-06-2026
Written in
2025/2026

ISYE 6501 HW 08 Data Warehousing and Foundations of Business Intelligence (California State University, Fullerton).pdf

Institution
ISYE 6501
Course
ISYE 6501

Content preview

lOMoARcPSD|67928686




ISYE 6501 HW 08 Data Warehousing and Foundations of

Business Intelligence (California State University, Fullerton)


Tran Tran

ISYE 6501

5 March 2025

Homework 8

Question 11.1

#a. stepwise

> # call out data from data table

> rm(list = ls())

> set.seed(42)

> data = read.table("/Users/joeytran/Downloads/hw5/uscrime.txt", header = TRUE)

>

> #now we need to create our initial model 1 for stepwise regression

> model = lm(Crime~., data = data)

>

> step (

+ model, scope = list(lower_sc = formula(lm(Crime~., data = data)),

+ upper_sc = formula(lm(Crime~., data = data))),

+ direction = "both"

+)

Start: AIC=514.65

Crime ~ M + So + Ed + Po1 + Po2 + LF + M.F + Pop + NW + U1 +

U2 + Wealth + Ineq + Prob + Time

Call:

, lOMoARcPSD|67928686




lm(formula = Crime ~ M + So + Ed + Po1 + Po2 + LF + M.F + Pop +

NW + U1 + U2 + Wealth + Ineq + Prob + Time, data = data)

Coefficients:

(Intercept) M So Ed Po1 Po2 LF

-5.984e+03 8.783e+01 -3.803e+00 1.883e+02 1.928e+02 -1.094e+02 -6.638e+02

M.F Pop NW U1 U2 Wealth Ineq

1.741e+01 -7.330e-01 4.204e+00 -5.827e+03 1.678e+02 9.617e-02 7.067e+01

Prob Time

-4.855e+03 -3.479e+00

>

> #As shown on the result for stepwise regression above, it have removed 7 factors that

> #do not have significance

>

> #using the remainder of the factors, we're going to put together a new model that

> #works for the given data

> model1 = lm(Crime~M+Ed+Po1+M.F+U1+U2+Ineq+Prob, data = data)

> summary(model1)

Call:

lm(formula = Crime ~ M + Ed + Po1 + M.F + U1 + U2 + Ineq + Prob,

data = data)

Residuals:

Min 1Q Median 3Q Max -444.70

-111.07 3.03 122.15 483.30

Coefficients:

Estimate Std. Error t value Pr(>|t|)

(Intercept) -6426.10 1194.61 -5.379 4.04e-06 ***

M 93.32 33.50 2.786 0.00828 **

Written for

Institution
ISYE 6501
Course
ISYE 6501

Document information

Uploaded on
June 10, 2026
Number of pages
13
Written in
2025/2026
Type
OTHER
Person
Unknown

Subjects

$10.99
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

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.
lennyjast Chamberlain College Of Nursng
Follow You need to be logged in order to follow users or courses
Sold
102
Member since
2 year
Number of followers
35
Documents
2511
Last sold
3 days ago
LennyJast

Your Ultimate Source for Top-Quality Study Materials Welcome to LennyJast – your premier destination for top-notch study materials across a wide array of subjects. Whether you're gearing up for exams, seeking comprehensive resources, or aiming for academic excellence, you've come to the right place. Rest assured, every material you find here is meticulously curated and graded A+ to ensure your success. Your satisfaction is our priority, and your feedback drives us to continually enhance our offerings. Explore our collection, ace your exams, and don't forget to share your thoughts with us through reviews and ratings. Elevate your learning journey with LennyJast today! Top-Quality Study Materials Ace Your Exams A+ Graded Resources Comprehensive Subject Coverage Review and Rating System Academic Excellence

Read more Read less
3.5

12 reviews

5
4
4
2
3
4
2
0
1
2

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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

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

Student with book image

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

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions