Subject Age X Glucose level Y
1 43 99
2 21 65
3 25 79
4 42 75
5 57 87
6 59 81
In the data above perform simple linear regression (manual) on the data of the glucose level at different age levels. Determine the regression equation and also show graphically the regression line that best fits the data.
Solution:


Problem #1: Consider the below matrix A, which you can copy and paste directly into Matlab. The matrix contains 3 columns. The first column consists of Test #1 marks, the second column is Test # 2 marks, and the third column is final exam marks for a large linear algebra course. Each row represents a particular student.A = [36 45 75 81 59 73 77 73 73 65 72 78 65 55 83 73 57 78 84 31 60 83...
topic: model selection on applied linear regression
Exercise 5.5.10 Perform model selection for the blood pressure data in Table 3.1 using Ri and stepwise selection algorithm. Compare the results with all possible subsets regression. 47 3.8 Exercises Age Weight Pulse Blood pressure 21 7 88 24 56 70 25 65 72 28 53 60 32 67 60 35 80 70 7 57 68 38 58 64 39 68 75 160 135 140 118 134 60 67 1 64 8 42...
Calculate the range, mean, mode, median, Standard deviation Calculate the skewness and kurtosis for the above data and interpret the data. The following is data collected from the daily salary employees of ZZ COMPANY.. 68 19 43 11 37 30 19 67 65 34 96 23 93 73 46 39 21 12 89 52 33 21 18 57 80 56 91 62 56 48 84 23 78 96 49 36 90 42 65 15 43 36 65 59 34 71...
The accompanying table provides data for the sex, age, and weight of bears. For sex, let 0 represent female and let 1 represent male. Letting the response (y) varieble represent weight, use the dummy variable of sex and the variable of age and to find the multiple regression equation, Use the equation to find the predicted weight of a bear with the characteristics given below. Does sex appear to have much of an effect on the weight of a bear?...
Create a JavaFX application that generates a 10 x 10 grid. Populate each cell in the grid with a random integer in the range [0, 99]. If the integer is divisible by 2, color the cell blue. If the integer is divisible by 3, color the cell yellow. If the integer is divisible by 6, color the cell green. Here's a sample run: Number Grid 74 74 38 57 62 40 42 65 27 38 44 8 48 60 30...
Problem 8.4: Refer to Muscle Mass Problem 1.27. Second-order regression model (8.2) with independent normal error terms is expected to be appropriate. A. Fit regression model (8.2). Plot the fitted regression function and the data. Does the quadratic regression function appear to be a good fit here? Find R^2. B. Test whether or not there is regression relation; use α= .05. State the alternatives, decision rule and conclusion. C. Estimate the mean muscle mass for women aged 48...
Please compute your z -don't use a package State your conclusion in plain English - not just rejection 1 Students in the online class are suspicious that their schools 60 point loss may have caused their teacher to take out his frustration on the students by giving them a harder than usual exam. They manage to hack into his computer and get the following data: Scores for test Nov 2011 71 74 64 77 58 72 73 79 50 78...
1. Forecast demand for Year 4.
a. Explain what technique you utilized to forecast your
demand.
b. Explain why you chose this technique over others.
Year 3 Year 1 Year 2 Actual Actual Actual Forecast Forecast Forecast Demand Demand Demand Week 1 52 57 63 55 66 77 Week 2 49 58 68 69 75 65 Week 3 47 50 58 65 80 74 Week 4 60 53 58 55 78 67 57 Week 5 49 57 64 76 77...
Write a C program to assign natural numbers 1 to 100 into a one-dimensional integer array. Display all the values in the array on the screen. For each number in the array, determine if the number contains digit 7 or is divisible by 7. Display all those numbers on the screen. Original array: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27...
Student stress at final exam time comes partly from the
uncertainty of grades and the consequences of those grades. Can
knowledge of a midterm grade be used to predict a final exam grade?
A random sample of 200 BCOM students from recent years was taken
and their percentage grades on assignments, midterm exam, and final
exam were recorded. Let’s examine the ability of midterm and
assignment grades to predict final exam grades.
The data are shown here:
Assignment
Midterm
FinalExam...