# Hypothesis testing

#1
I have a set of data, the type of distribution is not known.
The data is discreet. It's a number of lines in a shop.
I'm carrying out a hypothesis testing to see if the mean differs from a certain value. I have the SD and the mean of the sample.

Can I carry out a such a test without assuming that my data is a normal distribution? or is that the only way forward?
0
8 years ago
#2
I have a set of data, the type of distribution is not known.
The data is discreet. It's a number of lines in a shop.
I'm carrying out a hypothesis testing to see if the mean differs from a certain value. I have the SD and the mean of the sample.

Can I carry out a such a test without assuming that my data is a normal distribution? or is that the only way forward?
I would personally assume that your data has a normal distribution, or can be set up to have one as it then sounds like a 1-sample z test to me, are you trying to check if the number is smaller, greater or just not equal to the certain value?
0
#3
(Original post by MathsNerd1)
I would personally assume that your data has a normal distribution, or can be set up to have one as it then sounds like a 1-sample z test to me, are you trying to check if the number is smaller, greater or just not equal to the certain value?
Yup. Checking to see if the mean is different from 150.
I've assumed a normal population and an unknown standard deviation. So I've used a one sample t-test.

How would I be able to calculate the power of the test?
0
8 years ago
#4
Yup. Checking to see if the mean is different from 150.
I've assumed a normal population and an unknown standard deviation. So I've used a one sample t-test.

How would I be able to calculate the power of the test?
I've only been taught how to calculate the power of the test for known standard deviations, so unfortunately I can't help you with that problem And I'm guessing you've got a two tailed test then? Sounds a lot like the stuff I'm currently doing in my Statistics module
0
#5
(Original post by MathsNerd1)
I've only been taught how to calculate the power of the test for known standard deviations, so unfortunately I can't help you with that problem And I'm guessing you've got a two tailed test then? Sounds a lot like the stuff I'm currently doing in my Statistics module
Yup two tailed test.

H0: μ=150
Η1: μ ≠ 150

I remember doing power of a test from my S4 days but not for a t-test. :/
0
8 years ago
#6
Yup two tailed test.

H0: μ=150
Η1: μ ≠ 150

I remember doing power of a test from my S4 days but not for a t-test. :/
Very nice and are you not given the standard deviation, I thought it was only possible to work out the power for a z-test, it'll be interesting to see how its done for a t-test in the future, if I were to continue with this type of module anyway
0
#7
(Original post by MathsNerd1)
Very nice and are you not given the standard deviation, I thought it was only possible to work out the power for a z-test, it'll be interesting to see how its done for a t-test in the future, if I were to continue with this type of module anyway
No. I have the sample SD but not the population SD.

I'm sure there is a method for t-test.

Check this out: http://www.cyclismo.org/tutorial/R/power.html

I just can't make any sense of it.
0
8 years ago
#8
No. I have the sample SD but not the population SD.

I'm sure there is a method for t-test.

Check this out: http://www.cyclismo.org/tutorial/R/power.html

I just can't make any sense of it.
What's said there makes some sense, but I wouldn't know where to begin if instructed to do it myself, mainly because I'm not the best with R as of yet, so I'd struggle just to do the basics
0
#9
(Original post by MathsNerd1)
What's said there makes some sense, but I wouldn't know where to begin if instructed to do it myself, mainly because I'm not the best with R as of yet, so I'd struggle just to do the basics
Not to me. Man this coursework is killing me.
I can't wait to get it out of the way. Last piece for this term and then a long break before the exams.
0
8 years ago
#10
Not to me. Man this coursework is killing me.
I can't wait to get it out of the way. Last piece for this term and then a long break before the exams.
If you ever get the answer to this, I'd be interested to know exactly what method you were expected to use. If this is the store data thing you posted about the other day it seems implausible that you could draw conclusions from such a small sample without making some pretty big assumptions somewhere along the line!
0
#11
(Original post by davros)
If you ever get the answer to this, I'd be interested to know exactly what method you were expected to use. If this is the store data thing you posted about the other day it seems implausible that you could draw conclusions from such a small sample without making some pretty big assumptions somewhere along the line!
I was just plotting the cumulative probabilities for each of the data and this is what I've got.

Any conclusions from this

Ignore the thumbnail one, i've updated the new one.
0
#12
(Original post by davros)
If you ever get the answer to this, I'd be interested to know exactly what method you were expected to use. If this is the store data thing you posted about the other day it seems implausible that you could draw conclusions from such a small sample without making some pretty big assumptions somewhere along the line!
Finally reached a solution.
0
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### Poll

Join the discussion

#### Y13's - If you haven't confirmed your firm and insurance choices yet, why is that?

I am waiting until the deadline in case anything in my life changes (24)
18.6%
I am waiting until the deadline in case something else changes (e.g. exams/pandemic related concerns) (14)
10.85%
I am waiting until I can see the unis in person (10)
7.75%
I still have more questions before I make my decision (22)
17.05%
No reason, just haven't entered it yet (33)
25.58%
Something else (let us know in the thread!) (26)
20.16%