Use nonlinear regression to estimate α4 and β4 based on the following data.
y= α4Xe^(β4X)
x 0.1 0.2 0.4 0.6 0.9 1.3 1.5 1.7 1.8
y 0.75 1.25 1.45 1.25 0.85 0.55 0.35 0.28 0.14
If you were to use linear regression to find α4 and β4, how would you make the model linear? Plot the data points, the fit to the data using linear and nonlinear regression. What method produces the better estimate
`Hey,
Note: Brother in case of any queries, just comment in box I would be very happy to assist all your queries
clc
clear all
x=[0.1,0.2,0.4,0.6,0.9,1.3,1.5,1.7,1.8]';
y=[0.75,1.25,1.45,1.25,0.85,0.55,0.35,0.28,0.14]';
disp('Values using non linear regression');
f=@(rx) sum((rx(1)*x.*exp(rx(2)*x)-y).^2);
[S,fval]=fminsearch(f,[1,1]);
al14=S(1)
be14=S(2)
A=[ones(length(x),1) x];
b=log(y./x);
S=A\b;
disp('Values using linear regression');
disp('Alpha4=')
al4=exp(S(1))
disp('Beta4=')
be4=S(2)
xx=0.1:0.01:1.8;
yy=al4*xx.*exp(be4*xx);
yy1=al14*xx.*exp(be14*xx);
plot(xx,yy,xx,yy1,x,y,'o');
legend('Linear regression','Nonlinear regression','data
points');
disp('Sum of square of error using non linear is ');
disp(fval)
disp('Sum of square of error using linear is ');
disp(sum((al4*x.*exp(be4*x)-y).^2))
Kindly revert for any queries
Thanks.
Use nonlinear regression to estimate α4 and β4 based on the following data. y= α4Xe^(β4X) x...
5. Linearize the following model to fit the data points in the table below: у 3ахеbx 0.1 0.2 0.4 0.6 0.9 1.3 1.5 1.7 1.8 х 0.75 1.25 1.45 1.25 0.85 0.55 0.35 0.28 0.18 У (a) Use the least squares approach to calculate a and b (b) Plot the data points and regression model and calculate r2
Develop the equation to fit data using cubic regression. Solve the system of equation using Naïve Gauss method. Write down the equation. х у 0.5 13.429 0.55 26.606 0.6 25.880 0.65 40.969 0.7 38.696 0.75 58.633 0.8 75.829 0.85 102.786 0.9 150.862 0.95 212.095 1 305.255
Using LINEST what is the y-intercept of the best fit line for this data? x y 0.1 0.75 0.2 0.95 0.3 1.23 0.4 1.31 0.5 1.59 0.6 1.97 0.7 2.07 0.8 2.37 0.9 2.36 1 2.60
GRF: Ground Reaction Forces Jump Impulse: Takeoff Velocity: Jump-height: An athlete did a vertical jump. The measured GRF is shown in the figure below. How high can she jump? 1300 1250 1200 1150 1100 1050 1000 950 900 850 GRF [N] 0 + 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95 1 1.05 1.1 1.15 1.2 1.25 1.3 1.35 1.4 1.45 1.5 1.55 1.6 1.65 1.7 1.75 1.8 1.85 1.9 1.95 2 2.05 2.1 2.15 2.2 time [s]
Biological oxidation of phenylacetic acid is inhibited by propionic acid present in wastewater. The following data were obtained for enzymatic oxidation of phenylacetic acid at different concentrations of propionic acid: S (mM) 0.25 0.4 0.5 0.6 0.75 1.0 V (mM/l-h), I=0 1.0 1.7 1.9 2.1 2.4 2.5 V (mM/l-h), I = 1mM 0.65 1.1 1.3 1.4 1.8 2.2 V (mM/l-h), I = 2mM 0.55 0.9 1.0 1.3 1.4 1.8 What kind of inhibition is this? The value of Vm, Km,...
The scores on the verbal section of a certain graduate school entrance exam have a mean of 153 and a standard deviation of 8.7. Scores on the quantitative section of the exam have a mean of 154 and a standard deviation of 8.9. Assume the scores are normally distributed. Students intending to study engineering in graduate school have a mean score of 178 on the quantitative section and a mean score of 156 on the verbal section. a. Find the...
Use the following cell phone airport data speeds (Mbps) from a particular network. Find the percentile corresponding to the data speed 8.8 Mbps. 0.1 0.2 0.3 0.3 0.4 0.4 0.4 0.5 0.5 0.6 0.6 0.6 0.6 0.7 0.7 0.9 0.9 1.1 1.2 1.3 1.3 1.3 1.8 2.4 2.7 2.7 2.8 2.9 3.3 3.9 4.2 4.4 4.7 5.4 6.7 7.2 8.2 8.5 8.6 8.7 8.8 9.4 11.1 11.6 11.8 11.9 13.1 13.8 15.6 29.1 Percentile of 8.8equals nothing (Round to the...
Use the following cell phone airport data speeds (Mbps) from a particular network. Find the percentile corresponding to the data speed 8.5 Mbps. 0.1 0.1 0.2 0.2 0.3 0.3 0.3 0.4 0.4 0.4 0.4 0.5 0.6 0.6 0.6 0.7 0.9 1.1 1.3 1.3 1.6 1.4 1.7 2.4 2.5 2.5 2.6 2.9 2.6 4.7 3.1 5.9 3.2 8.5 9.8 8.8 12.1 12.8 8.9 13.5 14.9 29.9 13.9 13.9 14.3 15.2 14.1 13.9 14.6 1.9 Percentile of 8.5 = (Round to the...
Use the following cell phone airport data speeds (Mbps) from a particular network. Find Upper Q 1 0.2 0.2 0.3 0.4 0.4 0.5 0.5 0.5 0.6 0.7 0.7 0.7 0.7 0.9 0.9 0.9 0.9 1.3 1.4 1.8 1.8 1.9 2.2 2.3 2.3 2.3 2.6 3.1 3.3 3.8 4.2 4.7 5.5 6.8 7.3 8.4 9.5 11.7 12.5 12.7 13.5 13.6 13.8 13.9 14.3 14.4 14.6 14.7 15.5 25.6 Upper Q Mbps (Type an integer or a decimal. Do not round.)
Use the following cell phone airport data speeds (Mbps) from a particular network. Find the percentile corresponding to the data speed 4.4 Mbps. 0.2 0.2 0.3 0.3 0.4 0.4 0.6 0.7 0.8 0.8 0.8 0.8 0.9 0.9 0.9 1.2 1.3 1.5 1.5 1.6 1.7 2.2 2.4 2.5 2.6 2.9 3.3 3.8 3.9 4.4 5.2 5.4 5.6 6.5 6.5 7.4 10.5 11.7 12.1 12.2 12.2 12.3 12.4 13.1 15.3 15.4 15.5 15.6 15.6 30.6 Percentile of 4.4= (Round to the nearest...