We reject H 0 that the mean proportion of people who would select a cat as a pet P value is less than or equal to your α level, (2-tailed), gives the p value for this statistical test. The next column, Test Prop., gives the value that youĮntered in the Test Proportion box in the Binomial Test dialog box. ![]() ![]() Us that there were 8 people who reported that they would select a cat and 38 people who The output tells us that there are two groups: DOG and CAT. 5:Ĭlick on the OK button to perform the test. Hypothesis (CAT in this example), then you should enter 1 - the hypothesis proportion into the Test Proportionīox (if it does not already contain it.) (Note: when the If the value of the first observation (DOG in this example) is not the same as the value in your The hypothesis is stated in terms of CAT, so we will not perform this step. (if it does not already contain it.) In this example, the first observation is DOG, and Hypothesis, then you should enter the hypothesis proportion into the Test Proportion box If the value of the first observation (determined above) is the same as the value in your Selected the variable that I automatically recoded previously (PETNUM) and moved it into Move it into the Test Variable List by clicking on the arrow button. Select the variable of interest from the list at the left by clicking on it, and then To perform the binomial test, select Analyze | Nonparametric Tests | Binomial: Make a note of this value as we will need it later. In the sample data set, the first value corresponds to a person who would select a dogĪs a pet. (if there is a check next to Value Labels when you pull down the View menu, the labelsĪre turned on, otherwise you should click on Value Labels to turn it on.) Look at theįirst observation for the recoded variable: If you do not already have View | Value Labels turned on, do so These hypotheses are two-tailedĪs the null is written with an equal sign.įirst, scroll in the SPSS Data Editor until you can see the first row of the variable Determine if the hypotheses are one- or two-tailed.Where P is the proportion of people who selected cats. PET variable into a variable called PETNUM.Īs always, we will perform the basic steps in hypothesis testing: If you don't remember how to automatically recode a variable, see the tutorial on So we will have to recode the variable before we can perform the binomial test. In the sampleĭata set, the PET variable corresponds to the question described above, but it is a string SPSS assumes that the variable that specifies the category is numeric. Selected a cat different from the proportion of people who selected a dog.) (That is, is the proportion of people who People who selected a cat is different from. Select one of two pets, either a cat or a dog, we could determine if the proportion of Two categories is different from a specified amount. The binomial test is useful for determining if the proportion of people in one of Started SPSS (click on Start | All Programs | SPSS for Windows | SPSS 12.0 for Windows).Downloaded the standard class data set (click on the link and save the data file). ![]() This tutorial will show you how to use SPSS version 12.0 to performīinomial tests, Chi-squared test with one variable, andĬhi-squared test of independence of categorical variables on nominally Using SPSS for Nominal Data (Binomial and Chi-Squared Tests)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |