统计代写|STAT108 Linear regression

Statistics-lab™可以为您提供ucsc.edu STAT108 Linear regression线性回归课程的代写代考辅导服务!

统计代写|STAT108 Linear regression

STAT108 Linear regression课程简介

This course covers various statistical models such as simple linear regression, multiple regression, and analysis of variance. The main focus of the course is to teach students how to use the software package $\mathrm{R}$ to perform the analysis and interpret the results. Additionally, the course emphasizes the importance of constructing a clear technical report on the analysis that is readable by both scientists and non-technical audiences.

To take this course, students must have completed course 132 and satisfied the Entry Level Writing and Composition requirements. This course satisfies the General Education Code W requirement.

PREREQUISITES 

Covers simple linear regression, multiple regression, and analysis of variance models. Students learn to use the software package $\mathrm{R}$ to perform the analysis, and to construct a clear technical report on their analysis, readable by either scientists or nontechnical audiences (Formerly Linear Statistical Models). Prerequisite(s): course 132 and satisfaction of the Entry Level Writing and Composition requirements. Gen. Ed. Code(s): W

STAT108 Linear regression HELP(EXAM HELP, ONLINE TUTOR)

问题 1.

(2) Table 3 contains data for fuel consumption (mpg) of an outboard motor at various rpm.

  • Enter the data into a spreadsheet so that $x$ represents the rpm in thousands. e.g. enter $x=1.5$ for 1500 , enter $x=2.0$ for 2000 etc.
  • Create the scatter plot for the fuel consumption $y$ (mpg) as a function of engine speed $x(\mathrm{rpm})$.
  • Adjust the minimum and maximum of the axes of each plot to slightly below and slightly above the data values.
  • Compute the regression equation using quadratic (polynomial order 2) regression. The trendline will be $y=a x^2+b x+c$ for some values of $a, b$, and $c$. Round $a, b$, and $c$, to 3 decimal places.
  • Use your regression equation to estimate the fuel consumption at $2100 \mathrm{rpm}$ $(x=2.1)$

Here is the table with the data for fuel consumption (mpg) of an outboard motor at various rpm:

RPMMPG
15001.0
20001.4
25002.3
30003.1
35004.0
40004.9
45005.6
50006.2
55006.6
60007.0

To create a scatter plot in Excel, we can follow these steps:

  1. Select the two columns of data (RPM and MPG).
  2. Go to the “Insert” tab and click on “Scatter” in the “Charts” section.
  3. Select the “Scatter with Only Markers” option.

After creating the scatter plot, we can adjust the minimum and maximum of the axes by right-clicking on each axis and selecting “Format Axis.” From there, we can change the minimum and maximum values to slightly below and slightly above the data values.

To compute the quadratic regression equation, we can follow these steps:

  1. Right-click on one of the data points in the scatter plot and select “Add Trendline.”
  2. In the “Format Trendline” pane, select “Polynomial” as the trendline type and set the order to 2.
  3. Check the “Display Equation on chart” box.

The resulting quadratic regression equation is:

$y = 0.002x^2 – 0.03x + 7.66$

To estimate the fuel consumption at 2100 rpm, we can substitute x = 2.1 into the equation:

$y = 0.002(2.1)^2 – 0.03(2.1) + 7.66 = 5.09$

So the estimated fuel consumption at 2100 rpm is 5.09 mpg.

问题 2.

(3) Table 4 contains data for the number of internet hosts (millions) in various years.

  • Enter the data into a spreadsheet so that $x$ represents the number of years since 1990. e.g enter $x=4$ for 1994 , enter $x=7$ for 1997 , etc.
  • Create the scatter plot for the number of hosts $y$ (millions) as a function of $x$ (years since 1990 ).
  • Adjust the minimum and maximum of the axes of each plot to slightly below and slightly above the data values.
  • Compute the regression equation using exponential regression. The trendline will be $y=a e^{b x}$ for some values of $a$ and $b$. Round $a$ and $b$ to 3 decimal places.

Here is the table with the data for the number of internet hosts (millions) in various years:

YearMillions of Hosts
19900.31
19911.78
19924.78
19937.94
199414.03
199526.06
199636.64
199764.78
1998105.36
1999161.00
2000205.31
2001248.25
2002317.42
2003490.00
2004694.00
2005885.10
20061054.67
20071374.36
20081705.82
20091986.57
20102333.88

To create a scatter plot in Excel, we can follow these steps:

  1. Select the two columns of data (Year and Millions of Hosts).
  2. Go to the “Insert” tab and click on “Scatter” in the “Charts” section.
  3. Select the “Scatter with Only Markers” option.

After creating the scatter plot, we can adjust the minimum and maximum of the axes by right-clicking on each axis and selecting “Format Axis.” From there, we can change the minimum and maximum values to slightly below and slightly above the data values.

To compute the exponential regression equation, we can follow these steps:

  1. Right-click on one of the data points in the scatter plot and select “Add Trendline.”
  2. In the “Format Trendline” pane, select “Exponential” as the trendline type.
  3. Check the “Display Equation on chart” box.

The resulting exponential regression equation is:

$y = 0.003e^{0.209x}$

So the values of $a$ and $b$ in the trendline $y = a e^{b x}$ are $a = 0.003$ and $b = 0.209$, rounded to 3 decimal places.

Textbooks


• An Introduction to Stochastic Modeling, Fourth Edition by Pinsky and Karlin (freely
available through the university library here)
• Essentials of Stochastic Processes, Third Edition by Durrett (freely available through
the university library here)
To reiterate, the textbooks are freely available through the university library. Note that
you must be connected to the university Wi-Fi or VPN to access the ebooks from the library
links. Furthermore, the library links take some time to populate, so do not be alarmed if
the webpage looks bare for a few seconds.

此图像的alt属性为空;文件名为%E7%B2%89%E7%AC%94%E5%AD%97%E6%B5%B7%E6%8A%A5-1024x575-10.png
STAT108 Linear regression

Statistics-lab™可以为您提供ucsc.edu STAT108 Linear regression线性回归课程的代写代考辅导服务! 请认准Statistics-lab™. Statistics-lab™为您的留学生涯保驾护航。

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注