DATASET
y x1 x2 x3 x4 x5 x6 60323 83.0 234289 2356 1590 107608 1947 61122 88.5 259426 2325 1456 108632 1948 60171 88.2 258054 3682 1616 109773 1949 61187 89.5 284599 3351 1650 110929 1950 63221 96.2 328975 2099 3099 112075 1951 63639 98.1 346999 1932 3594 113270 1952 64989 99.0 365385 1870 3547 115094 1953 63761 100.0 363112 3578 3350 116219 1954 66019 101.2 397469 2904 3048 117388 1955 67857 104.6 419180 2822 2857 118734 1956 68169 108.4 442769 2936 2798 120445 1957 66513 110.8 444546 4681 2637 121950 1958 68655 112.6 482704 3813 2552 123366 1959 69564 114.2 502601 3931 2514 125368 1960 69331 115.7 518173 4806 2572 127852 1961 70551 116.9 554894 4007 2827 130081 1962
`Hey,
Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.
clc
clear all
close all
A=[60323 83.0 234289 2356 1590 107608 1947
61122 88.5 259426 2325 1456 108632 1948
60171 88.2 258054 3682 1616 109773 1949
61187 89.5 284599 3351 1650 110929 1950
63221 96.2 328975 2099 3099 112075 1951
63639 98.1 346999 1932 3594 113270 1952
64989 99.0 365385 1870 3547 115094 1953
63761 100.0 363112 3578 3350 116219 1954
66019 101.2 397469 2904 3048 117388 1955
67857 104.6 419180 2822 2857 118734 1956
68169 108.4 442769 2936 2798 120445 1957
66513 110.8 444546 4681 2637 121950 1958
68655 112.6 482704 3813 2552 123366 1959
69564 114.2 502601 3931 2514 125368 1960
69331 115.7 518173 4806 2572 127852 1961
70551 116.9 554894 4007 2827 130081 1962];
y=A(:,1);
L=[ones(size(A,1)),A(:,2:7)];
R=y(:);
disp('Coefficients are')
beta=L\R
err=abs(y-L*beta);
errorbar(y,err)
y=y-mean(y);
y=y/std(y);
figure;
hold on;
for i=2:7
x=A(:,i);
x=x-mean(x);
x=x/std(x);
plot(x,y);
end
legend('x1 vs y','x2 vs y','x3 vs y','x4 vs y','x5 vs y','x6 vs y')
Kindly revert for any queries
Thanks.
DATASET y x1 x2 x3 x4 x5 x6 60323 83.0 234289 2356 1590 107608 1947 61122...
Question 19 Find the pivot in the tableau. X1 X2 X3 X4 X5 X6 Z 2 3 6 1 0 0 0 10 2 1 2 0 0 0 20 4 04 0 0 1 040 -2 4 -8 0 1 0 یہ نہ مانم plonu 1 oloor 1 in row 2, column 5 6 in row 1, column 3 O 3 in row 1, column 2 4 in row 3, column 1 Question 16 5 p Write the expression...
ou will calculate L5and U5for the quadratic function y=x2−x+15 between x=0and x=4. Enter Δx ____________, x0 ____________, x1 ____________, x2 ____________, x3 ____________, x4 ____________, x5 ____________. Enter the upper bounds on each interval: M1 ____________, M2 ____________, M3 ____________, M4 ____________, M5 ____________. Hence enter the upper sum U5: ____________ Enter the lower bounds on each interval: m1 ____________, m2 ____________, m3 ____________, m4 ____________, m5 ____________. Hence enter the lower sum L5: ____________
Problem No-3 Implement the following two-level function using multi-level NOR gates: f(x1,X2.X3,X4,X5,X6,x7)=X1X«X5+X\X4X¢+> kaX4X6+X2X3X7 [9] Assume that logic gates have a maximum fan in of 2 and the input variables are available in uncomplemented form only (The number of gates required is shown in parenthesis).
X1=3000 X2=7 X3=8 X4=6 X5=3
I: The Stratum of the clay and loading shown in Figure below: Find: 1- Consolidation settlement after 2 years of the construction (Cv=0.3 m-/year). 2- Time factor at consolidation settlement of 90%. 3- Time to reach a 45% consolidation settlement. 4- Draw he, hp, and ht distributions. Weight of tankt water + Weight of the columns =X1 KN Tank Columns Fill yu 17 kN/m (x2*X, *1) m Footing 4" Sandy= 18 kN/m', 9= 25 Clay,...
3. Description of each X and data for 27 franchise stores are given below The data (X1, X2, X3, X4, X5, X6) are for each franchise store. X1 annual net sales/$1000 X2 number sq. ft/1000 X3 - inventory I$1000 X4- amount spent on advertising /$1000 X5 size of sales district/1000 families X6 number of competing stores in distric X1 X2 X3 X4 X5 X6 231 3 294 8.2 8.2 11 156 2.2 232 6.9 4.1 12 10 0.5 149 3...