Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( i ) Download the txt file ( ENB _ 2 0 2 3 . txt ) from CloudDeakin and save it to your R

(i) Download the txt file (ENB_2023.txt) from CloudDeakin and save it to your R working directory.
(ii) Assign the data to a matrix, e.g. using
the.data <- as.matrix(read.table("ENB_2023.txt"))
(iii) The variable of interest is Y. To investigate Y, generate a subset of num_row=400(use the same setting
for the following tasks as well) with numerical data e.g. using:
my.data <- the.data[sample(1:num_samples,num_row) c(1:num_col)]
This would give you a new dataset with num_row rows and num_col columns. Values of num_sample and num_col
have to be determined from the data provided.
(iv)Use scatter plots and histograms to understand the relationship between each of the variables X1 X2, X3, X4, X5,
and your variable of interest Y, i.e., catter plots of (X1, Y),(X2, Y),...,(X5, Y), and histograms of X1 X2, X3,
X4, X5, Y.

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_2

Step: 3

blur-text-image_3

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

Flash XML Applications Use AS2 And AS3 To Create Photo Galleries Menus And Databases

Authors: Joachim Schnier

1st Edition

0240809173, 978-0240809175

More Books

Students also viewed these Databases questions

Question

Write a java program to cracked lottery code

Answered: 1 week ago

Question

4. Are there any disadvantages?

Answered: 1 week ago

Question

3. What are the main benefits of using more information technology?

Answered: 1 week ago

Question

start to review and develop your employability skills

Answered: 1 week ago