Results 1 to 2 of 2

Math Help - calculating statistics

  1. #1
    Member princess_anna57's Avatar
    Joined
    Jul 2007
    Posts
    78

    calculating statistics

    Data is collected on the weekly number of calls made by a phone-salesperson over an eight-week period, and the number of sales they actually make in each of those weeks. The training manual specifies staff should be making sales on at least 25% of their calls. The data are:

    Week 1 2 3 4 5 6 7 8
    Calls 55 43 57 32 18 59 61 32
    Sales 20 15 18 12 2 21 18 8

    a) Draw a scatterplot of these data and comment on the suitability of linear regression to model the relationship.
    b) Calculate the regression coefficients and write down the estimated prediction equation.
    c) Calculate the predictions for x = 20 and x = 60 and use these to superimpose the regression line on your plot.
    d) Calculate the residuals for the sales for weeks 5 and 8, and interpret these numbers.

    Please help!
    Last edited by princess_anna57; July 30th 2007 at 07:14 PM.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Senior Member tukeywilliams's Avatar
    Joined
    Mar 2007
    Posts
    307
    So we want to calculate the coefficients of the following prediction equation:  y = a + bx .

    So  b = \frac{\sum_{i=0}^{n-1}(x_{i} - \overline{x})(y_{i} - \overline{y})}{\sum_{i=0}^{n-1} (x_i - \overline{x})^2}

    Then  a = \overline{y} - b \overline{x} .  \overline{x}, \overline{y} are the means/averages of the two sets of data.

    Doing this we get  a = -3.357 and  b = 0.394 . So the estimated prediction equation is  y = -3.357 + 0.394x . Then plug in  y(20), y(60) get a value and plot the points to make the line.

    The residuals are basically estimates of unobservable error or  x_i - \overline{x} (how far away values are from average). So for weeks 5 and 8 do the following: obtain  y(18) and  y(32) to get the predicted sales. Then subtract the actual values from the predicted values (i.e.  y(18) - 2 and  y(32) - 8 ).
    Last edited by tukeywilliams; July 30th 2007 at 09:58 PM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Calculating GPA Statistics
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: March 7th 2011, 03:02 PM
  2. Calculating E(X) and V (X)
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: April 12th 2010, 03:18 AM
  3. Statistics: Calculating expected value, poisson distribution?
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: October 2nd 2009, 08:16 AM
  4. calculating sum
    Posted in the Statistics Forum
    Replies: 5
    Last Post: May 19th 2009, 08:44 AM
  5. help calculating p-value (again)
    Posted in the Advanced Statistics Forum
    Replies: 2
    Last Post: July 23rd 2008, 08:01 PM

Search Tags


/mathhelpforum @mathhelpforum