{"id":3560,"date":"2018-09-25T21:18:41","date_gmt":"2018-09-25T11:18:41","guid":{"rendered":"https:\/\/casestudyhelp.com\/sample-questions\/?p=3560"},"modified":"2019-09-19T21:58:55","modified_gmt":"2019-09-19T11:58:55","slug":"matlab-assignments-for-engineering-students","status":"publish","type":"post","link":"https:\/\/casestudyhelp.com\/sample-questions\/matlab-assignments-for-engineering-students\/","title":{"rendered":"MATLAB Assignments for Engineering Students"},"content":{"rendered":"<h2><strong>1.\u00a0 (Worth 100 marks)<\/strong><\/h2>\n<h3><strong>Introduction<\/strong><\/h3>\n<p style=\"text-align: justify;\">To do something useful with big data, models are devised from the large numbers of observations in order to predict what will occur for some other observation(s). A simple linear model<sup>1<\/sup> is of the form:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4623\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-1.png\" alt=\"Formula 1\" width=\"217\" height=\"202\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">where <em>y<\/em><em><sub>i<\/sub><\/em> is the dependent variable, <em>i <\/em>is the observation number (there are a total of <em>M <\/em>observa- tions), <em>x<\/em><em><sub>ij<\/sub><\/em> is the set of independent variables, <em>N <\/em>is the number of independent variables (for big data, <em>M N <\/em>), and <em>a<\/em><em><sub>j<\/sub><\/em> are the set of model coefficients. Equation (1) lends itself to a matrix formulation:<\/p>\n<p style=\"text-align: center;\"><strong>Y <\/strong>= <strong>XA<\/strong><\/p>\n<p style=\"text-align: justify;\">The\u00a0 model\u00a0 coefficients\u00a0 <em>a<\/em><em><sub>j<\/sub><\/em><em>\u00a0 <\/em>are\u00a0 determined\u00a0 by\u00a0 measuring\u00a0 <em>y<\/em><em><sub>i<\/sub><\/em><em>\u00a0 <\/em>and\u00a0 <em>x<\/em><em><sub>ij<\/sub><\/em>.\u00a0\u00a0 One of\u00a0 the\u00a0 dangers of developing such a model is \u201cover-fitting\u201d the data. This is where <em>a<\/em><em><sub>j<\/sub><\/em> are tuned for the <em>M <\/em>observations so that <em>a<\/em><em><sub>j<\/sub><\/em> is an excellent model for <em>y<\/em><em><sub>i<\/sub><\/em><em>, <\/em><em>i <\/em><em>\u2264 <\/em><em>M <\/em>, but is a poor model for <em>y<\/em><em><sub>i<\/sub><\/em><em>, <\/em><em>i &gt; M <\/em>.\u00a0 Good practice is therefore to split the <em>M <\/em>observations into a \u201ctraining dataset\u201d (with <em>M<\/em><sub>1<\/sub> observations,\u00a0 <em>M<\/em><sub>1<\/sub> <em>\u2265 <\/em><em>N\u00a0 <\/em>and\u00a0 typically\u00a0 <em>M<\/em><sub>1<\/sub>\u00a0\u00a0\u00a0 <em>N <\/em>) and\u00a0 a\u00a0 \u201ctest\u00a0 dataset\u201d\u00a0 (with\u00a0 <em>M<\/em><sub>2<\/sub> observations, <em>M<\/em><sub>1<\/sub> + <em>M<\/em><sub>2<\/sub> = <em>M <\/em>, and typically <em>M<\/em><sub>2<\/sub> <em>&lt; M<\/em><sub>1<\/sub>). The\u00a0 values\u00a0 of\u00a0 <em>a<\/em><em><sub>j<\/sub><\/em> are\u00a0 determined\u00a0 from\u00a0 Eq.\u00a0 (1)\u00a0 using the training dataset (with <em>M<\/em><sub>1<\/sub> observations). The values can then be validated using the test dataset by calculating <em>y<\/em><em><sub>i<\/sub><\/em> using Eq. (1) and calculating the error from the actual values <em>y<\/em>\u02c6<em><sub>i<\/sub><\/em>.<\/p>\n<p style=\"text-align: justify;\">In this question, you are going to apply this methodology to determine if it is possible to estimate the mean pressure for the year based on temperature readings from each month. The ideal gas law is:<\/p>\n<p style=\"text-align: center;\"><strong><em>p <\/em>= <em>\u03c1RT<\/em><\/strong><\/p>\n<p style=\"text-align: justify;\">where <em>p <\/em>is the pressure, <em>\u03c1 <\/em>is the density, <em>R <\/em>the ideal gas constant and <em>T <\/em>the temperature.<\/p>\n<p style=\"text-align: justify;\">Your computational task is to use Eq. (1)<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4624\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-2.png\" alt=\"Formula 2\" width=\"206\" height=\"199\" \/><\/a><\/p>\n<p>in the form of Eq. (2)<\/p>\n<p style=\"text-align: center;\"><strong>P <\/strong>= <strong>TA<\/strong><\/p>\n<p style=\"text-align: justify;\">for \u00a0the \u00a09:00 \u00a0readings.\u00a0 \u00a0Here \u00a0<em>p<\/em>\u00af<em><sub>i<\/sub><\/em> is \u00a0the \u00a0average \u00a0pressure \u00a0across \u00a0all \u00a0months \u00a0for \u00a0day \u00a0<em>i<\/em>, \u00a0<em>T<\/em><em><sub>ij<\/sub><\/em> is \u00a0the temperature on day <em>i <\/em>and month <em>j\u00a0 <\/em>and <em>a<\/em><em><sub>j<\/sub><\/em> is the average coefficient for month <em>j<\/em>.\u00a0 You\u00a0 will use\u00a0 the entire 12 months\u2019 worth of data (<em>N\u00a0 <\/em>= 12) to calculate the average pressure for each calendar\u00a0 date (<em>M<\/em><em>\u00a0 <\/em>= 28 since there are only 28 days in February), i.e. <em>p<\/em>\u00af<sub>1<\/sub> is the average pressure calculated using the 1st of July, 1st of August, 1st of September, etc. For your assignment, the following value is to be used:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4625\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-3.png\" alt=\"Formula 3\" width=\"422\" height=\"210\" srcset=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-3.png 422w, https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/Formula-3-300x149.png 300w\" sizes=\"(max-width: 422px) 100vw, 422px\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">where <em>M<\/em><sub>2<\/sub> is to be rounded to the nearest integer. Because <em>M &gt; N <\/em>(we don\u2019t have <em>M N <\/em>), we will work with <em>M<\/em><sub>2<\/sub> <em>\u2264 <\/em><em>N <\/em>, which is not ideal, but is pragmatic, since it guarantees that <em>M<\/em><sub>1<\/sub> <em>&gt; N\u00a0 \u00a0<\/em>to produce statistically-good estimates of <em>a<\/em><em><sub>j<\/sub><\/em>.<\/p>\n<h3>Requirements<\/h3>\n<p>For this assessment item, you must perform hand calculations using Eq. (5):<\/p>\n<ol>\n<li>Calculate <em>a<\/em><sub>1<\/sub> using only the 1st of July (i.e. <em>M <\/em>= 1, <em>N <\/em>= 1).<\/li>\n<li>Calculate <em>a<\/em><sub>1<\/sub> and <em>a<\/em><sub>2<\/sub> using only the 1st and 2nd of both July and August (i.e. <em>M <\/em>= 2,\u00a0<em>N <\/em>= 2).<\/li>\n<\/ol>\n<p>You must also produce MATLAB code which uses Eq. (5):<\/p>\n<ol>\n<li>Repeats Requirements 1 and 2. Reports and verifies the<\/li>\n<li>*Successfully loads all the relevant<\/li>\n<li>*Repeats Requirement 2 using the loaded data. Reports and verifies the<\/li>\n<li>**Reports the value of <em>M<\/em><sub>2<\/sub> before it is rounded, to confirm the values of <em>M<\/em><sub>1<\/sub> and <em>M<\/em><sub>2<\/sub> you are to use. Calculates all the <em>a<\/em><em><sub>j<\/sub><\/em> using the training dataset of <em>M<\/em><sub>1<\/sub> values and reports <em>a<\/em><em><sub>j<\/sub><\/em>.<\/li>\n<li>**Uses the test dataset of <em>M<\/em><sub>2<\/sub> values to assess the quality of the modeled values of <em>p<\/em>\u00af<em><sub>j<\/sub><\/em>.<\/li>\n<li style=\"text-align: justify;\">***The accuracy of the results is limited because the variability in the temperature\u00a0 and pressure data is\u00a0 in\u00a0 the\u00a0 3rd\u00a0 or\u00a0 4th\u00a0 significant\u00a0 figure,\u00a0 and\u00a0 also\u00a0 because\u00a0 we\u00a0 do\u00a0 not\u00a0 have big data. To remedy\u00a0 the\u00a0 problem\u00a0 of\u00a0 significant\u00a0 figures,\u00a0 the\u00a0 data\u00a0 should\u00a0 be\u00a0 The first normalization technique to use in this circumstance is to \u201ccentre\u201d the data in\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 the matrix <strong>T <\/strong>(subtract a constant\u00a0 value,\u00a0 sometimes\u00a0 the\u00a0 mean,\u00a0 from\u00a0 all\u00a0 the\u00a0 data),\u00a0 which\u00a0 will make the variability in the 1st or 2nd significant figure. Use 15<em><sup>\u25e6<\/sup><\/em>C to centre\u00a0 the\u00a0 temperature data, produce\u00a0 new\u00a0 <em>a<\/em><em><sub>j<\/sub><\/em><em>\u00a0 <\/em>from\u00a0 your\u00a0 training\u00a0 dataset\u00a0 and\u00a0 test\u00a0 the\u00a0 coefficients.\u00a0 See if you achieve some further numerical improvement in this case by\u00a0 \u201cscaling\u201d the data\u00a0\u00a0 in <strong>T <\/strong>(non-dimensional sing, normally\u00a0 by dividing\u00a0 by\u00a0 the\u00a0 standard\u00a0 deviation)\u00a0 so\u00a0 that\u00a0 all\u00a0 the quantities are of the same order of magnitude<sup>2<\/sup>.<\/li>\n<li>Discusses the<\/li>\n<li>Have appropriate comments<\/li>\n<\/ol>\n<p>The projected difficulty of a Requirement is indicated by the number of * at the start. All students are expected to be able to complete Requirements which do not have an *.<\/p>\n<h2>Assessment Criteria<\/h2>\n<p style=\"text-align: justify;\">Your code will be assessed using the following scheme. Note that you are marked based on how well you perform for each category, so the correct answer determined in a basic way will receive half marks and the correct answer determined using an excellent method\/code will receive full marks.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4627\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table.png\" alt=\"table\" width=\"494\" height=\"352\" srcset=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table.png 494w, https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-300x214.png 300w\" sizes=\"(max-width: 494px) 100vw, 494px\" \/><\/a><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-1.png\"><br \/>\n<\/a><\/p>\n<h2>2.\u00a0 (Worth 100 marks)<\/h2>\n<h3>Introduction<\/h3>\n<p style=\"text-align: justify;\">When data is being measured, it is common for there to be data missing, which could be due to a fault in the measuring equipment, or the variable being unmeasurable at that moment. In the weather data for Dalby, the maximum temperature was not recorded on 29th October 2017, presumably because not all the temperature readings were recorded for that day, so therefore it is impossible to know whether the highest recorded temperature was actually the maximum. Leaving unknown\/unreliable readings blank is the best option, since inserting a value (such as zero) could be a valid value, and therefore pollutes the data (this is why my preferred option is to fill an empty slot in an array with NaN, since it is unlikely to have occurred from a calculation). If you need to be able to use a value where there is one missing, then you need to use some method of including an intelligent guess. In this question, you will use a global curve-fit to provide the guess. All of you will use <em>T<\/em><sub>3<\/sub> (the temperature measured at 3:00 pm) as the independent variable to model the maximum daily temperature, <em>T<\/em><sub>max<\/sub>. You will also compare the outcome for this modelling to using another variable, <em>V <\/em>, as the independent variable. For Your assignment, the following value is to be used:<\/p>\n<p style=\"text-align: center;\"><strong><em>Q<\/em><sub>2<\/sub> = 4<em>.<\/em>1501 <em>.<\/em><\/strong><\/p>\n<p>The independent variable (besides <em>T<\/em><sub>3<\/sub>) you are to use is based on your value of <em>Q<\/em><sub>2<\/sub>:<\/p>\n<p style=\"text-align: center;\"><strong><em>V <\/em><em>\u2261 <\/em><em>T<\/em><sub>min<\/sub> <em>,\u00a0 Q<\/em><sub>2<\/sub> <em>\u2264 <\/em>5<\/strong><\/p>\n<p style=\"text-align: center;\"><strong><em>V\u00a0 <\/em><em>\u2261 <\/em><em>T<\/em><sub>9<\/sub> <em>,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Q<\/em><sub>2<\/sub> <em>&gt; <\/em>5<\/strong><\/p>\n<p>where <em>T <\/em>is temperature and the subscript refers to either the daily minimum or the particular time of day.<\/p>\n<p>Your\u00a0 task is to estimate the value\u00a0 of <em>T<\/em><sub>max<\/sub> on 29th October 2017 using both <em>T<\/em><sub>3<\/sub> and <em>V <\/em>as\u00a0\u00a0 the independent variable.<\/p>\n<h2>Requirements<\/h2>\n<p>For this assessment item, you must perform hand calculations using <em>T<\/em><sub>max<\/sub> and <em>T<\/em><sub>3<\/sub>:<\/p>\n<ol>\n<li>Take the values from 28th and 30th October 2017 and estimate the coefficients of the three standard curve-fitting functions. These data points will provide a qualitative repre- sensation of the overall<\/li>\n<\/ol>\n<p>You must also produce MATLAB code which:<\/p>\n<ol start=\"2\">\n<li>Repeats Requirement 1 and verifies the<\/li>\n<li>*Performs curve-fits of all the data for <em>T<\/em><sub>max<\/sub> and <em>T<\/em><sub>3<\/sub>. Use the MATLAB function isfinite to filter the dataset so that only those dates with recordings of both <em>T<\/em><sub>max<\/sub> and <em>T<\/em><sub>3<\/sub> are included.<\/li>\n<li>Validates the three standard curve-fitting functions obtained in Requirement 3\u00a0 by\u00a0 com-\u00a0 paring with the parameters obtained in Requirement 1. Given the limited data used in Requirement 1 and the overall scatter in data, don\u2019t expect the values to be very<\/li>\n<li>Determines which curve-fit is the<\/li>\n<li>Demonstrates that the chosen curve-fit is the best both graphically and numerically, show- ing both the data and the relevant curve-fit.<\/li>\n<\/ol>\n<ol start=\"7\">\n<li>Displays a message in the Command Window stating which type of curve-fit was chosen, stating the parameters of the curve-fit and the result of the numerical test of the curve-fit.<\/li>\n<li>Plots the best curve-fit along with the data in a separate figure with normal-scale<\/li>\n<li>Uses the best curve-fit to estimate <em>T<\/em><sub>max<\/sub> for 29th October<\/li>\n<li>*Reports the value of <em>Q<\/em><sub>2<\/sub>, leading to the selection of <em>V <\/em>. Repeats Requirements 3, 8 and 9 using only a linear curve-fit with <em>V <\/em>the independent variable instead of <em>T<\/em><sub>3<\/sub>. Plots the curve-fit along with the Compares and discusses the two estimates for <em>T<\/em><sub>max<\/sub>.<\/li>\n<li>Have appropriate comments<\/li>\n<\/ol>\n<p>The projected difficulty of a Requirement is indicated by the number of * at the start. All students are expected to be able to complete Requirements which do not have an *.<\/p>\n<h2>Assessment Criteria<\/h2>\n<p style=\"text-align: justify;\">Your code will be assessed using the following scheme. Note that you are marked based on how well you perform for each category, so the correct answer determined in a basic way will receive half marks and the correct answer determined using an excellent method\/code will receive full marks.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4626\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-1.png\" alt=\"table 1\" width=\"465\" height=\"256\" srcset=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-1.png 465w, https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-1-300x165.png 300w\" sizes=\"(max-width: 465px) 100vw, 465px\" \/><\/a><\/p>\n<h2>3\u00a0 (Worth 100 marks)<\/h2>\n<h3>Introduction<\/h3>\n<p style=\"text-align: justify;\">This question provides an alternative methodology to the problem in Question 2. In this question, you will use interpolation to provide the guess. Time is an obvious independent variable to use, but Question 2 suggests that there are other options. For your assignment, the following value is to be used:<\/p>\n<p style=\"text-align: center;\"><strong><em>Q<\/em><sub>3<\/sub> = 2<em>.<\/em>4937 <em>.<\/em><\/strong><\/p>\n<p style=\"text-align: left;\">The independent variable (besides time), <em>V <\/em>, you are to use is based on your value of <em>Q<\/em><sub>3<\/sub>:<\/p>\n<p style=\"text-align: center;\"><strong><em>V <\/em><em>\u2261 <\/em><em>T<\/em><sub>min<\/sub> <em>,\u00a0 Q<\/em><sub>3<\/sub> <em>\u2264 <\/em>5<\/strong><\/p>\n<p style=\"text-align: center;\"><strong><em>V\u00a0 <\/em><em>\u2261 <\/em><em>T<\/em><sub>3<\/sub> <em>,\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Q<\/em><sub>3<\/sub> <em>&gt; <\/em>5<\/strong><\/p>\n<p>Where <em>T <\/em>is temperature and the subscript refers to either the daily minimum or the particular time of day.<\/p>\n<p style=\"text-align: justify;\">Your task is to estimate the value of <em>T<\/em><sub>max<\/sub> on 29th October 2017 using these two independent variables. For this problem you are to only use data from 19th to 31st October inclusive (a total of 12 days not including 29th October). These dates have been chosen to ensure that you do not have repeated values of the independent variable (which is numerically problematic) and also that you have sufficient data either side of 29th October for the interpolation methods to be numerically reliable.<\/p>\n<h2>Requirements<\/h2>\n<p>For this assessment item, you must perform hand calculations:<\/p>\n<ol>\n<li style=\"text-align: justify;\">Estimate the maximum temperature on 29th October 2017 using linear interpolation with time the independent<\/li>\n<li style=\"text-align: justify;\">**Repeat Requirement 1 using <em>V <\/em>as the independent variable. You must also produce MATLAB code which:<\/li>\n<li style=\"text-align: justify;\">Repeats Requirements 1, reporting the result to the Command<\/li>\n<li style=\"text-align: justify;\">Verifies Requirement<\/li>\n<li style=\"text-align: justify;\">Repeats Requirement 1 using cubic splines. Additionally validates the result with Re- quirement<\/li>\n<li style=\"text-align: justify;\">***Reports the value of <em>Q<\/em><sub>3<\/sub>, leading to the selection of <em>V <\/em>. Repeats the calculations of Requirements 3\u20135 using <em>V <\/em>as the independent variable. The results using the cubic spline method will not be very good for one reason or another. The function sortrows<\/li>\n<li style=\"text-align: justify;\">Compares and discusses the 2 answers for <em>T<\/em><sub>max<\/sub> on 29th October 2017 from Question 2 and the 4 answers from this<\/li>\n<li style=\"text-align: justify;\">Has an appropriate comment<\/li>\n<\/ol>\n<h3>Assessment Criteria<\/h3>\n<p style=\"text-align: justify;\">Your code will be assessed using the following scheme. Note that you are marked based on how well you perform for each category, so the correct answer determined in a basic way will receive half marks and the correct answer determined using an excellent method\/code will receive full marks.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4628\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-3.png\" alt=\"table 3\" width=\"441\" height=\"279\" srcset=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-3.png 441w, https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-3-300x190.png 300w\" sizes=\"(max-width: 441px) 100vw, 441px\" \/><\/a><\/p>\n<h2>4.\u00a0 (Worth 100 marks)<\/h2>\n<h3>Introduction<\/h3>\n<p style=\"text-align: justify;\">Predicting what will occur is the essence of a model. Many people rely on weather forecasting for their livelihood, and many more people for their ordinary lives. Your task is to devise and construct a simple model for two of the variables in the Bureau of Meteorology dataset: the temperature at 3:00 pm (<em>T<\/em><sub>3<\/sub>) and the relative humidity at 9:00 am (<em>\u03c6<\/em><sub>9<\/sub>).<\/p>\n<p style=\"text-align: justify;\">To obtain consistent results from your random number generation, you should initialise the seed to a fixed value using rng(seed). For your assignment, the value is:<\/p>\n<p style=\"text-align: center;\"><strong>seed = 1<em>.<\/em>1259<\/strong><\/p>\n<h2 style=\"text-align: justify;\">Requirements<\/h2>\n<p style=\"text-align: justify;\">For this assessment item, you must perform hand calculations on the data for July:<\/p>\n<ol>\n<li style=\"text-align: justify;\">Calculate the sample mean and standard deviation for <em>T<\/em><sub>3<\/sub> and <em>\u03c6<\/em><sub>9<\/sub> for the first 10 data values of each<\/li>\n<li style=\"text-align: justify;\">Use the first 20 data values <em>T<\/em><sub>3<\/sub> and <em>\u03c6<\/em><sub>9<\/sub> to estimate the sample pdf (i.e. the scaled frequency). Plot the sample pdfs. You can produce the plots in MATLAB, but you must perform the calculations of the value of the pdf for each value of <em>T<\/em><sub>3<\/sub> or <em>\u03c6<\/em><sub>9<\/sub> by<\/li>\n<\/ol>\n<p>You must also produce MATLAB code which:<\/p>\n<ol style=\"text-align: justify;\" start=\"3\">\n<li>Repeats the hand calculations and verifies the MATLAB<\/li>\n<li>Loads the entire 12 months\u2019 worth of data. The rest of the analysis is to be on the full dataset in this file<sup>3<\/sup>.<\/li>\n<li>*One of <em>T<\/em><sub>3<\/sub> and <em>\u03c6<\/em><sub>9<\/sub> can be represented by a standard distribution. Determine which variable and the corresponding distribution which best describes the variable, including proof that this distribution is an appropriate model and proof that the other variable cannot be modelled by the same distribution. Part of this proof may be demonstrated by completing Requirements 6\u20138.<\/li>\n<li>*Calculates the parameters of the population distribution for both variables, including the associated error in the estimation of the parameters. Reports the values to the Command Window.<\/li>\n<li>*Calculates the sample mean and sample standard deviation for both variables, along with an assessment of the accuracy of these<\/li>\n<li>*Graphically compares the sample pdf and population pdf for both<\/li>\n<li>*Reports to the Command Window a discussion of the applicability of the population distribution for both<\/li>\n<li>**Performs modelling for only the chosen variable from Requirement 5. Produces a prediction of the values for the 12 months by randomly generating samples from the distribution. Plots the time series of values which is thus produced along with the history of the recorded values. Discusses the validity of the predicted values in predicting the actual history (some analysis will assist you in drawing conclusions).<\/li>\n<li>Has an appropriate comment<\/li>\n<\/ol>\n<h3>Assessment Criteria<\/h3>\n<p style=\"text-align: justify;\">Your code will be assessed using the following scheme. Note that you are marked based on how well you perform for each category, so the correct answer determined in a basic way will receive half marks and the correct answer determined using an excellent method\/code will receive full marks.<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-full wp-image-4629\" src=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-4.png\" alt=\"table 4\" width=\"523\" height=\"272\" srcset=\"https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-4.png 523w, https:\/\/casestudyhelp.com\/sample-questions\/wp-content\/uploads\/2018\/09\/table-4-300x156.png 300w\" sizes=\"(max-width: 523px) 100vw, 523px\" \/><\/a><\/p>\n<h3>Submission<\/h3>\n<p style=\"text-align: justify;\">Submit your code, with the *.csv files that are provided to you, by the due date to the Study- Desk. Submit your hand calculations as a pdf file. Note that:<\/p>\n<ul style=\"text-align: justify;\">\n<li>You do not need to rename your files when uploading: the system automatically segregates different students\u2019<\/li>\n<li>If you can see that the files have uploaded, then you have successfully submitted your assignment. There is no need to click a \u201csend for marking\u201d button, but you will have to click a button confirming that the submission is your own<\/li>\n<li>You <strong>MUST <\/strong>upload all of your code along with input\/output files in a *.zip file. The following are the only file types that can be submitted:\n<ul>\n<li>*.zip<\/li>\n<li>*.pdf<\/li>\n<li>*.doc<\/li>\n<li>*.docx<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">The system will block any attempt by you to upload a file which doesn\u2019t match any of those file extensions.<\/p>\n<ul>\n<li style=\"text-align: justify;\">If you forgot to submit a file, do not upload it after the due date:\u00a0 the submission time\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 is based on when the last file was You should email the examiner in this circumstance (with any file attached). If you remember close to midnight on the day you made your submission, you only need to upload the file (don\u2019t bother emailing), since the submission day will effectively be the same.<\/li>\n<\/ul>\n<script type=\"text\/javascript\" charset=\"utf-8\" src=\"http:\/\/w.sharethis.com\/widget\/?wp=6.2.9\"><\/script>","protected":false},"excerpt":{"rendered":"<p>1.\u00a0 (Worth 100 marks) Introduction To do something useful with big data, models are devised from the large numbers of observations in order to predict what will occur for some other observation(s). A simple linear model1 is of the form: where yi is the dependent variable, i is the observation number (there are a total [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1084,722],"tags":[1190,1086,822,1127],"_links":{"self":[{"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/posts\/3560"}],"collection":[{"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/comments?post=3560"}],"version-history":[{"count":5,"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/posts\/3560\/revisions"}],"predecessor-version":[{"id":4630,"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/posts\/3560\/revisions\/4630"}],"wp:attachment":[{"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/media?parent=3560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/categories?post=3560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/casestudyhelp.com\/sample-questions\/wp-json\/wp\/v2\/tags?post=3560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}