ECON 257D1 Midterm 1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/56

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:17 AM on 10/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

57 Terms

1
New cards

Main types of data

Primary, secondary

2
New cards

Secondary data

information collected by someone other than the user, sometimes for another purpose

3
New cards

Primary data

information collected by the user for a specific purpose

4
New cards

Correlation

two variables move together

5
New cards

Causation

movement of one variable forces movement of another

6
New cards

Reasons why there can be correlation without causation

Third variable problem, directionality (reverse causation), coincidence

7
New cards

Third variable problem

omitted variable bias, outside variable forcing movement of both

8
New cards

Chicken and egg (reverse causality)

Which causes which

9
New cards

How to prove causation

randomized controlled trials (where all variables except one are constant, hard to do in economics in the real world), temporal sequence (prove one happened before the other)

10
New cards

GDP

gross domestic product, market value of all final goods and services per year, q x p

11
New cards

PPP

purchasing power parody, eg Big Mac index, currency translation more accurate than exchange rate

12
New cards

real vs. nominal GDP

real GDP uses an index year/holds inflation stable, nominal is in current year

13
New cards

continuous variables

variables (like income) that can be any value

14
New cards

discrete variables

1/0, eg yes/no

15
New cards

ȳ

mean of data set

16
New cards

comparison of means

ȳ-ȳᶜ

17
New cards

population variance equation

𝜎²=1/n Σ(yᵢ-ȳ)²

18
New cards

sample variance

s²=1/n-1 Σ(yᵢ-ȳ)²

19
New cards

standard deviation equation

√var Y

20
New cards

standard deviation intervals

if normal, 34.1 is 1SD 13.6 is 2SD 2.3 is 3SD

21
New cards

z-score, units

(yᵢ-ȳ)/SD, unitless

22
New cards

shaky

lots of spread

23
New cards

good estimator is

unbiased, efficient

24
New cards

unbiasedness

ȳ is centred on μ, E(ȳ)=μ

25
New cards

population mean

μ, E(y)=μ

26
New cards

ū

average deviation

27
New cards

efficiency

ȳ is close to μ

28
New cards

what is 𝜎² the population variance of

population variance of yᵢ

29
New cards

population variance of ȳ (variance of means)

𝜎ȳ², E((y-μ)²)

30
New cards

covariance

2E(x-μx)(y-μy)

31
New cards

covariance is negative, positive, 0 if …

positive if upward correlation, negative if downward, 0 if cloud no correlation independent

32
New cards

𝜎2x+y

𝜎x2+𝜎y2

33
New cards

what to always do before starting a do file

clear

34
New cards

rename a variable

ren varog varnew

35
New cards

label a variable

label variable var1 “"

36
New cards

get rid of rows of data

drop in #/#

37
New cards

revalue variable

replace var=”” if var==””

38
New cards

convert variable from strings to numbers

destring var, replace

39
New cards

red data

strings

40
New cards

black data

numeric

41
New cards

find median

centile var, centile (50)

42
New cards

sort variable into above and below median

gen var2=# if var1>= `r(c_1)’&var1!=.

replace var2=# if var1<=`r(c_1)’

43
New cards

missing value

black .

44
New cards

Tell me the quantities of each value and percents

tab var

45
New cards

Tell me the mean, min/max, SD, # of observations, variance, median, quarters, skew

sum var, detail

46
New cards

save something

save “\” , replace

47
New cards

format for data, graph, table

.dta, gph, .rtf

48
New cards

make a graph

collapse (mean) mean_var1=var1, by var2

graph twoway (bar mean_var1 var2, barw(#)), xlabel(# ““ etc) xtitle(““) ylabel (# ““ etc) ytitle(““) title (““)

graph save

49
New cards

make a table

eststo var1:estpost summarize var2 if var1==#

esttab var1 var2 using “\.dta”, plain cells(“mean(label(Mean) fmt (0))” “sd(label(SD) fmt(0))” “count(label(N) fmt(0))”) mtitles(“ “ “ “) noobs replace label title()

50
New cards

import first row as variables

import ““, firstrow

51
New cards

how to import sas

import sas using ““

52
New cards

browse a variable

browse var

53
New cards

number of observations

count var

54
New cards

general stats about data (string/numbers, missing)

codebook var

55
New cards

look at distribution

hist var

56
New cards

sort variable from smallest to largest

sort var

57
New cards

bias directionality

can be product positive if all possible third variables end up positive or vice versa, or product neutral, it is positive and overstates bias if a third variable causes both things to happen more, negative understates bias and causes one, but reduces the other