The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » sci.math.* »

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Question about use of 1-Sample Sign test
Replies: 1   Last Post: Apr 21, 2005 7:51 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View  
Ray Koopman

Posts: 3,383
Registered: 12/7/04
Re: Question about use of 1-Sample Sign test
Posted: Apr 21, 2005 7:51 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

(nA - nB) +- 1
To test the hypothesis p(A) = p(B), use z = --------------,
sqrt(nA + nB)

where the +- is taken opposite to the sign of (nA - nB),
so as to reduce the magnitude of the numerator.

If nA + nB >= 10 and the hypothesis is true
then z will be approximately standard normal.
Large |z| allow the hypothesis to be rejected.

Splitting the "No Preference" count 50-50 between the As & Bs
will lower the power of the test. wrote:
> Hi,
> I have collected some data and am trying to find a method of

> a statistical significance to a hypothesis about the data. This is
> first time I have collected data for analysis and I think my data
> (questionnaire) design
> may have been flawed so I am now trying to salvage what I can from

> final data.
> The data:
> Consists of 50 responses indicating preference for the design of a
> website. Possible responses include:
> Prefer Website A (+1)
> Have No Preference (0)
> Prefer Website B (-1)
> What I'm trying to do:
> I "think" that by attaching numerical values (in brackets above) to
> each response I can perform a 1-Sample Sign test. What I want to do
> with this test is to test the hypothesis that the median of the data

> >0 (i.e. more people preferred Website A). I am doing this by testing
> null hypothesis that the median is equal to 0 with an alternate
> that the median is greater than 0. If that p value generated
> from this test is less than 0.05 I accept the alternate hypothesis,
> otherwise I must accept the null hypothesis.
> What I would like to know:
> I have got this far by reading various text books but I am still
> unclear about certain aspects, these are:
> Can I viably perform this test (i.e. is it ok to associate numbers

> each response? I think it is as it results in non-parametric data
> is what the 1-Sign sample test is designed for)
> Why is the accept / reject level for the null hypothesis set at 0.05?
> This is something I have come across in every example in books and on
> the internet but it has never been explained. Is it something to do
> with a 95% confidence interval?
> If this is not a suitable test to perform, does anyone have any
> suggestions of tests which might be suitable?
> Lastly, if this is a suitable test to be performing, does anyone have
> any references towards good books or websites that I can use to

> understand the test mechanism?
> Many thanks in advance of anyone's reply.
> Cheers,
> Edd
> Disclaimer. Last time I posted I was pretty much flamed for

> to perform statistics without having the required knowledge!! I am
> doing this out of necessity as it for my degree dissertation. I
> acknowledge there may be many
> things I am not doing correctly but I am a Software Engineer and not

> statistician, this is why I have posted this request for info. So
> please go easy on me!

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.