Exam 1 Flashcards

1
Q

What does Matrix do in r and how would we create this?

A

Matrix(c(1,2,3,4,5,6))

Matrix combines the 2 columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why is sample different from Population parameters?

A

Because of sampling error.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

On a scale of measurement, define Nominal scale and use starbucks as an example.

A

Nominal = unordered set of categories identified only by name. We can only tell if two individuals are the same or different.

-Tall, Grande, Venti (we don’t know the sizing yet).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

On a scale of measurement, define Ordinal scale and use starbucks as an example.

A

Ordinal = ordered set of categories. It tells us the direction of difference between two individuals.

Tall -> Small
Grande -> Medium
Venti -> Large

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

On a scale of measurement, define Interval scale and use starbucks as an example.

A

Interval is like temperature… 0 means something.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

4 steps to hypothesis testing

A

1) hypothesis: null or alternate
2) criteria for rejection: alpha value is >.05
3) statistic
4) decision: reject or retain null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which test violates the assumption of independence of observation? Why?

A

Dependent. Because we are measuring the same person both times… so we must statistically differentiate them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Nominal

Ordinal

Interval

Ratio

A

Nominal – Unordered categories (same or different: tall, grande, venti)
Ordinal – Ordered categories (direction of difference: tall -> small, grande ->med. venti ->large)
Interval – Zero is arbitrary (temperature, zero is a degree)
Ratio – Zero is absolute (weight, weight zero and you don’t exist)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Provide a written example of a t-test hypothesis testing from step 1 to 4.

A

1) hypothesis:
H0: No difference between means or mu1 - mu2 = 0 OR mu1 = mu2
H1: Difference between means
Mu1 - Mu2

2) criteria for rejection: alpha value is >.05
3) statistic:

4) decision:
reject or retain null

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What do we need to know about computing an independent t-test?

numerator
df
variance

A

Numerator:
There are 2 separate samples so the numerator will be a difference of my 2 samples (x bar 1 minus x bar 2) subtracted by (mu 1 minus mu 2, which equals 0).

Denominator:
df: will be N-2, since there are 2 sample means.

Variance needs to be weighted due to unequal sample sizes, so we use POOLED VARIANCE: How much variance there is within the WHOLE GROUP.

  1. Take sum of squares (most raw)… per group. SS tells me HOW FAR AWAY IS MY MEANS FROM MY SCORES? Need SS to figure out variance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly