Q1: [Regression and Correlation] The index of biotic integrity (IBI) is a measure of water quality in streams. As a data analyst you must monitor, track, and predict changes in water quality. You want to create a simple linear regression model that will allow you to predict changes in IBI in forested area. The following table conveys sample data from a coastal forest region and gives the data for IBI and forested area in square kilometers. Let forest area be the predictor variable (x) and IBI be the response variable (y). IBI X 47 72 21 19 72 58 49 Forest Area Y 38 59 27 24 63 49 45 Required a. b. c. Compute the error coefficient Plot Scatter graph Determine the regression equation d. Compute the correlation coefficient of the given data e. Estimate the forest area if IBI is 300

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Q1: [Regression and Correlation]
The index of biotic integrity (IBI) is a measure of water quality in streams. As a data analyst you must monitor, track, and predict changes
in water quality. You want to create a simple linear regression model that will allow you to predict changes in IBI in forested area. The
following table conveys sample data from a coastal forest region and gives the data for IBI and forested area in square kilometers. Let
forest area be the predictor variable (x) and IBI be the response variable (y).
IBI
X
47
72
21
72234
19
58
49
Forest Area
Y
38
59
27
24
63
49
45
Required
a.
Q2: [Naïve Bayes]
a. Write the pseudo-code of the following Naïve Bayes algorithm
b. Consider the given dataset that classifies animals into two distinct classes. The classes are labeled as 'cat' and
'dog'. Use Naive Bayes classifier to figure out the class (cat/dog) of an instance if it has the following values of
attributed
Plot Scatter graph
b. Determine the regression equation
c. Compute the error coefficient
d. Compute the correlation coefficient of the given data
e. Estimate the forest area if IBI is 300
Hair-black, Body Length-20, Height = 10, Weight=9, Ear length=2, Claws = TRUE
hair color body length (in) height (in) weight (lb) ear length (in)
class
black
18
9.2
8.1
2
20.1
17
15.5
grey
orange
brown
white
black
1
2
17
23.5
16
21
3
4
9.1
20
9.0
16.7
6
3
3
Q3 [K-Nearest Neighbor]
The quality of tissue paper is the measure of acid durability and tissue paper strength. In this connection a tissue paper company has
conducted a survey from random sample about Good Feel or Bad Feel of tissue paper. Further, the corresponding acid durability and
strength are measured of respective tissue paper. The data is illustrated in the following table. As the test sample the factory produces a
new paper tissue that passes laboratory tests with Acid Durability (sec)-4 and Strength (Kg/m²)-8. Given that K-3, Use the KNN
algorithm to find the output class of the test sample
Id
9
Acid Durability Strength
(sec)
(Kg/m²)
X1
X2
6
7
4
5
20
10
16
5
claws
TRUE
cat
FALSE dog
cat
1.95
TRUE
6.2 FALSE dog
2.1
TRUE cat
3.3 FALSE dog
5
Output Class
(Y)
Bad
Bad
Good
Good
Transcribed Image Text:Q1: [Regression and Correlation] The index of biotic integrity (IBI) is a measure of water quality in streams. As a data analyst you must monitor, track, and predict changes in water quality. You want to create a simple linear regression model that will allow you to predict changes in IBI in forested area. The following table conveys sample data from a coastal forest region and gives the data for IBI and forested area in square kilometers. Let forest area be the predictor variable (x) and IBI be the response variable (y). IBI X 47 72 21 72234 19 58 49 Forest Area Y 38 59 27 24 63 49 45 Required a. Q2: [Naïve Bayes] a. Write the pseudo-code of the following Naïve Bayes algorithm b. Consider the given dataset that classifies animals into two distinct classes. The classes are labeled as 'cat' and 'dog'. Use Naive Bayes classifier to figure out the class (cat/dog) of an instance if it has the following values of attributed Plot Scatter graph b. Determine the regression equation c. Compute the error coefficient d. Compute the correlation coefficient of the given data e. Estimate the forest area if IBI is 300 Hair-black, Body Length-20, Height = 10, Weight=9, Ear length=2, Claws = TRUE hair color body length (in) height (in) weight (lb) ear length (in) class black 18 9.2 8.1 2 20.1 17 15.5 grey orange brown white black 1 2 17 23.5 16 21 3 4 9.1 20 9.0 16.7 6 3 3 Q3 [K-Nearest Neighbor] The quality of tissue paper is the measure of acid durability and tissue paper strength. In this connection a tissue paper company has conducted a survey from random sample about Good Feel or Bad Feel of tissue paper. Further, the corresponding acid durability and strength are measured of respective tissue paper. The data is illustrated in the following table. As the test sample the factory produces a new paper tissue that passes laboratory tests with Acid Durability (sec)-4 and Strength (Kg/m²)-8. Given that K-3, Use the KNN algorithm to find the output class of the test sample Id 9 Acid Durability Strength (sec) (Kg/m²) X1 X2 6 7 4 5 20 10 16 5 claws TRUE cat FALSE dog cat 1.95 TRUE 6.2 FALSE dog 2.1 TRUE cat 3.3 FALSE dog 5 Output Class (Y) Bad Bad Good Good
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman