Find mean square error between model and actual data

Assignment Help Electrical Engineering
Reference no: EM13254771

Some research data is provided to you for the purpose of learning to use Matlab features of polynomials and curve fitting, file name: mydata

You may load the data to your computer by typing mydata =load(‘path of the mydata').

The data contains three columns. The first column is the beak size of the chick, the second column is the beak size of the mother and the third column is the beak size of the father in an anthropology study.

1. Define the variables separately for each set of data.

2. Find the average beak size of the parent for each chick and put the data in a separate variable called ‘avgparents'.

3. Plot and label the chick's beak size vs. the average parent's beak size in a separate plot.

4. Find a linear fit and a polynomial fit of the second degree for the data in 3. Give the mathematical equation in each case. Plot the models and the data using two different markers and two different colors.

5 Use polyval to predict the chick beak size if the avgparent's beak size is 9.0:0.1:11 for the linear model.

6 Find the Mean square error between the model data (linear model) and the actual data.

Reference no: EM13254771

Questions Cloud

Classify the reaction kinds : Classify the reaction type : combination , combustion, decomposition , single displacement, or double-displacement
Journal entry to record the reacquisition of the bonds : Alpha, Inc. issued $100,000 of its 7% fiveyear bonds on January
Explain electrical field strengths to move the beams : Why does it take significantly stronger magnetic and electrical field strengths to move the beams of alpha particles compared with the beams of electrons (beta particles)
At what frequency is the current a maximum : A 16.0-? resistor, a 12.0-µF capacitor, and a 17.0-mH inductor are connected in series with a 170-V generator. At what frequency is the current a maximum
Find mean square error between model and actual data : Some research data is provided to you for the purpose of learning to use Matlab features of polynomials and curve fitting, file name: mydata You may load the data to your computer by typing mydata =load(‘path of the mydata').
Explain what will the final concentration of no : The balanced chemical equation is N2+O2 2NO.If more NO is added, bringing its concentration to 0.800 M, what will the final concentration of NO be after equilibrium is re-established
Describe the neo-classical quantity theory : What equation could you use to analyze this situation? Describe the neo-classical (monetarist) quantity theory of money that applies in this situation.
What are average weekly carrying costs : For the economic order quantity, What are average weekly total costs, including the cost of the inventory item?
Calculate the standard enthalpy change for the reaction : Calculate the standard enthalpy change for the reaction of an aqueous solution of barium hydroxide, Ba(OH)2, with an aqueous solution of ammonium nitrate, NH4NO3, at 25°C.  The complete ionic equation is

Reviews

Write a Review

Electrical Engineering Questions & Answers

  A three-phase system over a single-phase system

Give three advantages of a three-phase system over a single-phase system There are two basic three-phase connections, the wye connection and the delta connection. Draw a labelled diagram showing the wye connection

  How much coal must be burned to produce amnt of electricity

From your group, pick 3 mobile phones, and/or portable devices that are rechargeable. Estimate (using resources and available data), how much electricity that is used to charge them on a weekly basis

  Determine thermal equilibrium recombination rate of electron

A semiconductor, in thermal equilibrium, has a hole concentration of p0 = 2x10^16 cm^-3. The minority carrier life time = 3x10^-7 s. (Assume, ni = 10^10 cm^-3)

  Explain what are the practical interpretations

discuss the difference(s) and similarity(ies) between the modulations index used in AM and the modulation index used in FM What are the practical interpretations

  What effect has the dopant addition had on mean free paths

Adding dopants to a sample of silicon is found to reduce the Hall coefficient by a factor of 10 and increase the conductivity by a factor of 5. What effect has this dopant addition had on the mean free path

  What is the net number of electrons per second

What is the net number of electrons per second that pass through the cross-section of a wire carrying 5 A of dc current The current now is due to electrons, and the magnitude of the charge of each electron is 1.60×10?19 C.

  Measure current for different values of load resistance

The collector current was measured for different values of load resistance. It was noticed that the collector current was pretty much constant for the first 1900 ohms and then it fell drastically.

  Determine the minimum required sampling rate

(a) Determine the minimum required sampling rate fsamp(min). Hence, use twice this value. (b) Draw a block diagram of the system indicating the requirements of each block. (c) Design and write the difference equations of the digital filters needed.

  Give the algebraic formula for j and k inputs of flip-flops

Design a circuit using JK flip-flops that takes in a binary stream B0B1B2B3 and outputs 1 at a time t if the stream recieved thusfar (i.e. BoB1..Bt-1Bt), when read as an unsigned binary number, is divisible by 3.

  What is spectral density at 200 khz from carrier frequency

Calculate the Fourier Transform of f(t) = 5 sinc(-2t/100), and graph the magnitude and phase as a function of f. If the signal of problem 1 is delayed by 0.1 ms. What is the new Fourier Transform.

  Find the attenuation rate after a wave propagates on line

A transmission line is specified by the following, while operated at omega w=6*10^8 rad/s, L'= 0.4*10^-6 H/m, C'=40*10^-12 F/m, G'=80*10^-6 S/m, and R'=20 ohms/m. Find the attenuation rate after a wave propagates 10 meters on this line.

  Determine the current drawn from a three-phase line

Determine the current drawn from a three-phase 440 V line by a three-phase 15-hp motor operating at full load, 90% efficiency, and 80% power-factor lagging. Find the values of P and Q drawn from the line. (Hint: 1hp = 746W)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd