Calculating "At Least" Probability Problems in SPSS

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

fallenphoenix
Posts: 1
Joined: Sun Sep 13, 2015 7:46 am

Calculating "At Least" Probability Problems in SPSS

Postby fallenphoenix » Sun Sep 13, 2015 7:56 am

I probably seem like an SPSS noob by posting this, but I was just wondering how to use SPSS to calculate "at least" probability problems. I have taken a Ph.D. level course implementing SPSS, but it focused primarily on concepts like linear regression, multivariate analysis, etc. I would like to broaden my SPSS knowledge with concepts like probability.

A problem example is as follows:

In a population of 40 college students, exactly 12 are freshman and 18 are sophomores. Suppose a sample of 5 students is selected at random and without replacement from this population. Consider the following:

-At least one of the 5 selected numbers are sophomores.

How can I use SPSS to calculate this? Any help would be greatly appreciated! Thanks guys.
JonPedersen
Posts: 119
Joined: Wed May 25, 2011 7:07 am
Contact:

Re: Calculating "At Least" Probability Problems in SPSS

Postby JonPedersen » Mon Sep 14, 2015 10:02 am

Hi,
This is not really what SPSS is designed for. You could make a single line datafile with two variables TotalStudents and Sophomores, and then write syntax using those variables and standard formula. Thus there are no shortcuts. Easier to do in R, Excel, Matlab or something like that.
jon

Who is online

Users browsing this forum: No registered users and 2 guests

cron