Answer:
a)
On the basis of given visible data
got the scatter matrix and correlation matrix as follows:
We can say that both moisture content and sweatness are not highly correlated i.e. these varaibles are indepedent.
Dependent variable Brand liking is highly positively correlated with Moisture content(0.96) and with sweatness correlation is 0.52 which is also showing positive correlation with Brand liking.
b)
After fitting the simple linear regression model to the data in R we got results:
Intercept
B0=38.0
coefficient of moisture content B1=4.67
coefficient of sweatness B2=3.5
both coefficients are positive which shows when increases the one variable by one unit brand liking will increase by coefficients time of that variable.
c)
residuals we got from the model are:
Box plot :
d)
graphs are as follows:
Fig.1 Residuals vs moisture content
6.5. Brand preference. In a small-scale experimental study of the relation between degree of brand liking...
SAS code for problem:
title 'grocery questions';
data a; /* This data set will be a temporary sas file with
name
'a' . In this example we don't need to refer to this
name as if there is only one temporary sas file in use,
any procedure will automatically use it. */
input y x1 x2 x3 ; /* names input variables */
cards;
4264 305657 7.17 0
4496 328476 6.2 0
4317 317164 4.61 0
4292 366745 7.02 0...
1. For each of the following regression models, write down the X matrix and 3 vector. Assume in both cases that there are four observations (a) Y BoB1X1 + B2X1X2 (b) log Y Bo B1XiB2X2+ 2. For each of the following regression models, write down the X matrix and vector. Assume in both cases that there are five observations. (a) YB1XB2X2+BXE (b) VYBoB, X,a +2 log10 X2+E regression model never reduces R2, why 3. If adding predictor variables to a...
4.3 Analysis Assignment #4 Note 1: all assignments moving forward must adhere to the appropriate Six Step Process (SSP). As our study materials have specified, the SSP has 3 versions. Version 1 is to be used for all t-tests; for all correlation analyses and Version 3 is be used for all regression analyses. Note 2: The data sets for Q1, Q2 and Q3 below can be downloaded here. Week 4 Analysis Assignments.xlsx Q1: (30 points) Complete the following data analysis:...