Testing whether one mean is higher than another

  • Thread starter Thread starter Tom McCurdy
  • Start date Start date
  • Tags Tags
    Mean Testing
Tom McCurdy
Messages
1,017
Reaction score
1
There was a problem that was talked about in class where we had the amount of quantity sold in one column and the promotion level in another column. The promotion took values between 0 and 0.88 with a number of values being zero.

The problem discussed was to test the following hypothesis
The average quantity sold by Bob when there is a promotion (p>0) is significantly higher than when there is no promotion.

My professor claimed the problem should be solved using regression. He had the independent column as the promotion value and the dependent column as the quantity sold. Then his plan was to use the regression results in excel to test whether or not the slope was equal to zero.

Now the biggest mistake I see right away is that he would need to categorize it into a discrete system where you have group 1) promotion, and group 2) no promotion. The second problem I see is then what arbitrary value do you give the group 1) of promotion


Now it's been awhile since I have taken a statistics class but from what I remember when you are doing hypothesis testing for two sample means and you have
H_0 : \mu_{promo} = \mu_{no-promo}
H_1 : \mu_{promo} > \mu_{no-promo}

Now the sample sizes are different
the promo category had 201 samples
the non promo category had 17 samples

Now you would need to decide if you could consider the population variances to be equal.
If they were equal you would test the means in one fashion, and if they weren't equal you had to test the means in another fashion... which was a substantial amount of work.

Is my professor right... can you just bypass this all by simply putting the numbers into two categories and doing a linear regression and checking the p-value for their slope?
 
Mathematics news on Phys.org
For the professor's approach, which is essentially a graphics approach, but with Excel doing the calculations, it's not clear to me how you would plot the points representing the different samples. For the 17 samples where there was no promotion, you would have points scattered along the vertical axis.

If by "promotion" you mean something like "10% price drop" and "20% price drop," the graph would have many points scattered along vertical lines at the locations on the horizontal axis for the various price drops. I suppose you could find the line of best fit (i.e., use a regression line), but you'd want to take the calculated slope of the line with a grain of salt if the correlation coefficient R was large.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.

Similar threads

Replies
7
Views
1K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
7
Views
2K
Replies
20
Views
2K
Replies
5
Views
3K
Replies
1
Views
2K
Replies
5
Views
2K
Back
Top