Docsity

Attitudes Towards Premarital Sex & Religious Affiliation: Statistical Comparison, Study notes of Statistics

Toggle sidebar
bg1
Stat 101L: Lecture 39
1
1
Categorical Data
In Chapter 3 we introduced the
idea of categorical data.
In Chapter 15 we explored
probability rules and when events
are independent.
In Chapter 26 we put these two
ideas together to compare counts.
2
Categorical Data
National Opinion Research Center’s
General Social Survey
In 1996 a sample of 1895 adults in the
U.S. were asked the question “When
is premarital sex wrong?” The
participants were also asked with what
religion they were affiliated.
3
Who?/What?
Who?
–A sample of 1895 adults.
What?
–Attitude towards premarital sex.
–Religious affiliation.
pf3
pf4
pf5

Partial preview of the text

Download Attitudes Towards Premarital Sex & Religious Affiliation: Statistical Comparison and more Study notes Statistics in PDF only on Docsity!

1

Categorical Data

In Chapter 3 we introduced the

idea of categorical data.

In Chapter 15 we explored

probability rules and when events

are independent.

In Chapter 26 we put these two

ideas together to compare counts.

2

Categorical Data

National Opinion Research Center’s

General Social Survey

In 1996 a sample of 1895 adults in the

U.S. were asked the question “When

is premarital sex wrong?” The

participants were also asked with what

religion they were affiliated.

3

Who?/What?

Who?

–A sample of 1895 adults.

What?

–Attitude towards premarital sex.

–Religious affiliation.

4

What?

When is premarital sex wrong?

  • Categorical: Always, Almost

Always, Sometimes, Never

What is your religious affiliation?

  • Categorical: Catholic, Jewish,

Protestant, None, Other

5

When is Premarital Sex Wrong?

Total 452 183 429 831 1895

Other 15 13 23 40 91

None 20 13 45 147 225

Protestant 355 117 227 384 1083

Jewish 0 3 14 34 51

Catholic 62 37 120 226 445

Almost Sometimes Never Total Always

Always

Religion

6

When is Premarital Sex Wrong?

Other 16.5% 14.3% 25.3% 43.9% 100%

None 8.9% 5.8% 20.0% 65.3% 100%

Protestant 32.8% 10.8% 21.0% 35.4% 100%

Jewish 0.0% 5.9% 27.4% 66.7% 100%

Catholic 13.9% 8.3% 27.0% 50.8% 100%

Almost Sometimes Never Total Always

Always

Religion

10

Comparing Counts

If religion and attitude towards

premarital sex are independent

then

Pr(A and B) = Pr(A)*Pr(B)

where A is a religion category

and B is an attitude category.

11

Expected Count

If religion and attitude toward

premarital sex are independent

we would expect to see

nPr(A)Pr(B)

people in the religion category

A and the attitude category B.

12

Total 452 183 429 831 1895

Other 91

None 225

Protestant 1083

Jewish 51

Catholic 445

Almost Sometimes Never Total Always

Always

Religion

13

Expected Count

Catholic and Always

E
E * *

14

Expected Counts

Total 452 183 429 831 1895

Other 21.7 8.8 20.6 39.9 91

None 53.7 21.7 50.9 98.7 225

Protestant 258.3 104.6 245.2 474.9 1083

Jewish 12.2 4.9 11.5 22.4 51

Catholic 106.1 43.0 100.8 195.1 445

Almost Sometimes Never Total Always

Alway Religion s

15

Observed = Expected?

Take the difference between

the observed and expected

counts in a cell.

Square the difference.

Divide by the expected count.

Sum up over all the cells.