Showing posts with label economics. Show all posts
Showing posts with label economics. Show all posts

Saturday, July 28, 2018

Trade war that is easy to win


Donald Trump once declared trade wars are easy to win. 

In June, US applied 25% tariffs on 50 billion of Chinese goods. Three days later, US applied additionally 10% tariffs on 200 billion of Chinese goods. China responded with tariffs on 50 billion of US goods. 

Which country has the advantage in this trade war ? Let us look at it from some perspectives.

1. Trade balance
China import from US : $130 billion
China export to US : $500 billion
US China trade alone accounts for more than 50% of US trade deficit. 

China cannot keep up with US in charging tariff. China will run out of US goods to levy tariffs.

2. Mutual dependency
2.1 China relies on US for its core technology, such as the case of ZTE.
ZTE is banned from buying components from US company.

2.2 China depends on US for its agricultural products.
China import from US for 95 million tonnes of soybean. China produces 14 million tonnes of soybean. If China is determined to self-produced soybean, it would need 506 billion sqm of agricultural land to be self sustainable. China has about 1400 billion sqm of agricultural land. Is it feasible to use up to 33% of agricultural land for the sole purpose of soybean farming? The answer is obvious.

Argentina and Brazil are the number one and two soybean exported in the world. China could import soybean from Brazil. However, the soybean production, distribution, and sales network of Brazilian soybean are controlled by US company.

2.3 US company dependence of China market
GM sells more cars in China than in the US
Apple's 40 billion market in China

3. US dollar domination
3.1 Japan, China, Germany, their foreign reserve is held in USD. They are creditors to US. If they do not lend money to US, US prints its own money. US dollar depreciates. It is not good for the creditors. Therefore they continue to buy US treasury bonds. Furthermore, China is a trading country, the issuance of RMB is based on their reserve in USD. 

3.2 Crude oil is priced in US dollar. To buy oil, USD is needed.






Tuesday, December 5, 2017

Thesis on Digital Currency

Here is my master degree thesis on Bitcoin. The topic is :

THE RISK PERCEPTIONS AND TECHNOLOGY ADOPTIONS OF E­-COMMERCE USERS
TOWARDS DIGITAL CURRENCY

It is on google drive at the link below :
click at thesis link

Wednesday, August 2, 2017

Game Theory

Basic Concepts of Game Theory
Motivating Example
Location Game: setting shop on a beach

On a linear beach, there are two vendors, they charge the same price. Where should the vendors locate their shops?
- in the center, near each other

what if there are three vendors?
- 3 vendors at the same spot, each get 1/3, one vendor moves, it gets more profit
- 3 vendors different positions, one vendor moves to center, it gets more profit
- no equilibrium

Information
Mutual Knowledge vs Common Knowledge
Mutual Knowledge: all players know A
Common Knowledge: everyone knows that everyone knows A

Perfect Information vs Imperfect Information
Perfect Information: the player knows the full history of the game so far
Imperfect Information:  the player does not know parts of the history of the game, such as sealed bid auction

Complete Information vs Incomplete Information
Complete Informatio: the player knows the type of other players and rules of the game
Incomplete Information: the incumbent does not know the true type of entrants

Perfect but Incomplete Information Game
- Price negotiation over used car at a dealer shop

Action vs Strategy
Bill has 5 actions and 6 strategies

Normal Form Game (Strategic Form Game)
- simultaneous game
- static setting
- represented by game matrix

Prisoner's Dilemma Game

      |     C          D
---------------------------
C   | -8, -8     -2, -15
D   | -15, -2   -3, -3

conditions
- each player has dominant strategy
- dominant strategy equilibrium (-8,-8) worse than optimal choice, dominant strategy equilibrium should be pareto inefficient to at least some other outcome (-3,-3)

how to escape from prisoner's dilemma
- price leadership
- price signaling
- focal points
- info agglomeration: online price agglomeration could intensify or mitigate price wars. However, you lower the price, competitor can see it immediately, and copy the rpice, so it is not worth it to lower the price.
- commitment

strictly dominant strategy
u(si, s-i) > u(si, s-i) for all si
weakly dominant strategy
u(si, s-i) >= u(si, s-i) for all si   and
u(si, s-i) > u(si, s-i) for some si

Iterated Dominance Equilibrium
- dominated strategy, strategies that will not be played
- eliminate strictly dominated strategy
- eliminate weakly dominated strategy, iterated weak dominance is not robust

Maximin Strategy Equilibrium
- choose the strategy that gives you a max payoff among the min payoff from each strategy

      |       L          R                  payoff
---------------------------
T   |    10, 4     8, 15                 8
B   | -100, 5   20, 10               -100
payoff     4        10

Nash Equilibrium
(x*, y*) is a NE if
- x* is best choice given 2's choice of y*
- y* is best choice given 1's choice of x*

coordination game
      |    S         R
---------------------------
S   | 5, 5     0, 1
R   | 1, 0    1, 1

anti-coordination game
      |    S            R
---------------------------
S   | -5,- 5     10, 20
R   | 20, 10    -3, -3

if multiple NEs:
1. use focal points
- cultural convention
- social convention
- common perception

2. use risk dominance
if (v>=1),(v>=1) at least one of them is strict inequality, then (S,S) payoff dominate (R,R)
      |    S       R
---------------------------
S   |  v,v     0, 1
R   | 1, 0    1, 1
(v-1) > (1-0)
(S,S) risk dominate (R,R)

Mixed Strategy Nash Equilibrium
- assign probabilities to pure strategies
                                 F
                |   DL (q)     CC (1-q)    if Nadal choose
   -------------------------------
  (p) DL   |  50,50       80, 20          DL with prob p
N ------------------------------
(1-p) CC  |  90,10 .     20,80          CC with prob 1-p
                                                   so Federer payoff is
if Federer chooses                   50p + 10(1-p) = 20p +80(1-p) => p=0.7
DL with prob q                         if p> 0.7, q = 1
CC with prob 1-q                         p < 0.7 , q =0
so Nadal's payoff is                    p=0.7 , indiff over q
50q + 80(1-q) = 90q + 20(1-q)
    q = 0.6
if q<0.6, p =1
  q > 0.6, p = 0
  q = 0.6, indifference over p

NE (p*, 1-p*) = (0.7, 0.3)
      (q*, 1-q*) = (0.6, 0.4)
implications of mixed strategy NE
- each player should mix his pure strategy so that the other player is indifferent among all his pure strategy
 choose (p,1-p) so that UDL = UCC
 choose (q,1-q) so that UDL = UCC
- assign zero prob to dominated pure strategy
- randomise just right, avoid outguessed by opponent
- each player mix his pure strategies so that the other player is indifferent among all his pure strategies

Oligopoly Games
                       |   compete on quantity      compete on price
------------------------------------------------------------------------
simultaneous  |     Cournot                          Bertrand
(static)            |
                       |    Cournot-                         Bertrand-
sequential       |  Stackelberg                      Stackelberg
substitute: q1 up -> q2 down
collusion outcome less than NE outcome

Application of simultaneous games
Tragedy of the commons
horizontal axis: % of car commuters
vertical axis: payoff for commuters
NE : (q, 1-q) 
- q% commute in cars and (1-q)% in busses
still not socially efficient
- all commuting by busses is still Pareto efficient

Sequential Games (Extensive Form Game)
- dynamic setting
- backward induction: for finite dynamic games, start from last stage of the game, not for infinite game
- subgame perfect NE: rule out NE of non credible threat, for finite and infinite game

Sequential Bargaining
𝛿 > 50% , first mover adv              ; agreement reached in first round of bargaining
𝛿 < 50%,  second mover adv
0< 𝛿 <100%,  𝛿 is time value

Subgame Perfect Equilibrium
Example 1
SPNE outcome (0, 4)
SPNE strategy:
If B choose R, A will choose (5, -1), so B will choose L, but A will not choose R, A choose L, B choose R, so (0,4) is SPNE outcome.
Strategic Moves
To solve empty promise problem, make 5 worse than 4, cut (5,-1) branch, make 4 better than 5

Example 2
In game theory, having fewer option may be better, because you can manipulate the other player's choices so that outcome is better for you.

Strategic Moves
to influence opponents expectation about your action
to get around prisoner' dilemma
introduced by Thomas Schelling
- cross shareholding
- MFC clause (mutual adoption, 2 period model)
- price matching guarantee policy (mutual adoption)
- entry deterrence:
   -- side payment, merge, build a reputation, invest in extra capacity

chicken game
- two gangsters race their cars toward each other , the first one to chicken out loses.

G                   Gang B
a        | Straight          Avoid
n   --------------------------------
g   S   | -100,- 100      10, -2
A   A   | -2, 10               0, 0

- you don't know how to secure the equilibrium that is favorable to you, because they are two NE
- so you use strategic moves to gain advantage
- commitment, play aggressively, scare your opponents

Entry deterrence
- incumbent facing a potential entrant
- entrant moves first, incumbent moves later
- the latter can behave strategically to deter the entry

I                   Entrant
n        | Enter          Stay out
c    --------------------------------
u    E   | 100,20      200, 0
m   S   |  70, -10      130, 0
bent

the NE is (100,20), it is incumbent dominant strategy, but potential entrant will enter

a few options:
- side payment, illegal?
- marge, anti-competitive ?
- build a reputation for being irrational, manipulate rivals choices to your advantage
(incumbent can increase 70 to > 100, or decrease 100 to be < 70)











the SPNE is (100,20)





in chicken game, sequential game, use strategic moves to show commitment and gain advantage

Fudenberg Tirole Taxanomy

Your
rival's
actions
Your firm commitment


Tough soft
Strategic complement You commit tough, your rival tough too
(puppy dog)
You commit soft
your rival soft too
(fat cat)
Strategic substitutes You commit tough, your rival soft
(top dog)
You commit soft
your rival tough
(lean & hungry look)


How to apply
step 1: calculate your profit as a function of what the other players might do
 πyou = f(others actions)
step 2: guess your competitor's profits as a function of what you might do
 πothers = f(your actions)
step 3: can legally cooperate?
if yes, use cooperative game theory
if no, use non-cooperative game theory
step 4: create the game's payoff
step 5: pick the game strategies
step 6:strategic moves
step 7: make the moves

(to be continued.)


Wednesday, July 12, 2017

Macroeconomics (Part 2)

Marshall-Lerner condition

A depreciation has two good effects (substitution of imports , more demand for exports) and one bad effects (imports are more expensive). Marshall-Lerner condition is real depreciation leads to an increase in NX if sum of export and import elasticity is > 1. Initially, the condition is not met, devaluation worsens the trade balance. In the long run, trade balance will improve, it is called the  J curve effect.
PED (x-m) > 1, devaluation improves current account balance.

PED: price elasticity of demand

Mundell-Fleming model

An extension of IS-LM model, the Mundell–Fleming model describes the short-run relationship between an economy's nominal exchange rate, interest rate, and output. It is used in open economy. This model has been used to argue that an economy cannot simultaneously maintain a fixed exchange rate, free capital movement, and an independent monetary policy. This principle is frequently called the "impossible trinity," "unholy trinity," or the "Mundell–Fleming trilemma."

It is also known is IS-LM-BoP model. BoP is (Balance of Payments).
In perfect capital mobility, the BoP curve is horizontal.

In perfect capital mobility and fixed exchange rate, the increase in gov spending (expansionary fiscal policy) forces the central bank to supply more local currency, to keep the interest rate unchanged. At the same interest rate, the output has increased.


In perfect capital mobility and fixed exchange rate, the increase in local currency  (expansionary monetary policy) will drop the exchange rate. It forces the government to buy local currency to maintain fixed exchange rate. This reduces the money supply. This means monetary policy has no effect.

So it is impossible to have fixed exchange rate, perfect capital movement, and independent monetary policy.

Minimum wage policy

Why minimum wage is not good for the country?
If wage > productivity,
1) πe ↑ => P↑
w ↑ => C ↑, Pe ↑
Pe => πe ↑ => P ↑

2) P ↑ => X ↓ & IM ↑ => NX ↓
P ↑ => ε = EP/P* => ε↑ => NX ↓

Purchasing power of currency and Purchasing power parity

The purchasing power of a currency refers to the quantity of the currency required to purchase a unit of a good, or basket of goods and services. Purchasing power is determined by the relative cost of living and inflation rates in different countries.

Purchasing power parity means equalising the purchasing power of two currencies by taking into account these cost of living and inflation differences. The basis of PPP is law of one price. In the absence of transportation and other transaction costs, competitive markets will make the price of an identical good the same in two countries, expressed in the same currency.

For example, a particular TV set that sells for 400Rp in India should cost 800Rp in Pakistan if the exchange rate between India and Pakistan is 2 Pak/India. If the price of the TV in Pakistan was only 700 Rp, consumers in India would prefer buying the TV set in Pakistan. If this process (called "arbitrage") is carried out at a large scale, the India consumers buying Pakistan goods will bid up the value of the Pakistan Dollar, thus making Pak goods more costly to them. This process continues until the goods are again the same price.

For example again, if we convert GDP in China to US dollars using market exchange rates, relative purchasing power is not taken into account. By adjusting rates to take into account local purchasing power differences, known as PPP adjusted exchange rates, international comparisons are more valid.

Money illusions and Money neutrality

The illusions of money : people think of money in nominal terms, the nominal value of money is mistaken for its purchasing power.

Neutrality of money : change in stock of money affects nominal variables, such as price, wages, exchange rate, doe not affect real variables, such as employment, GDP, consumption.

Microfoundations in Macroeconomics

It is a macro model that is built up from a formal analysis of the behaviour of individual agents in a consistent way. There may be just a single representative agent, or increasingly heterogeneous agents. So this way of macro analysis will involve lots of optimisation by individual agents, to derive aggregate relationships.

Differences between Micro and Macroeconomics
The difference between micro and macro economics is easy to tell. Microeconomics is the study of economics at an individual, group or company level. Microeconomics focuses on issues that affect individuals and companies. Micro looks at supply and demand and the setting of price level.

Macroeconomics, on the other hand, is the study of a national economy as a whole. Macro studies the GDP and how it is affected by national income, unemployment, growth rate.

Friday, July 7, 2017

Unconventional Monetary Policy

Quantitative Easing
QE is Large Scale Asset Purchase (LSAP). The Fed buying a set quantity of bonds from private financial institutions
The goal :
to facilitate bank lending and increase money supply
to increase broad money supply even without further bank lending


to lower interest rates for types of risky financial assets
- enlarge the balance sheet of the Fed

misconceptions about QE
- QE gives banks free money
the money is not free because while banks earns interest on the newly created reserves, it also need to pay interest on the newly created deposit


As seen in figure above, pension fund sells gov bond, get cash, buy more risky assets (portfolio rebalancing), support asset prices because of search of yields.

- QE leads to high quantity of M2
customer can use the money to repay loan, and reduce money supply
( customer borrow cheaply, to repay expensive loan)

Monetary Finance
or helicopter money as coined by Milton Friedman
running fiscal deficit, not financed by debt, but by increase in monetary base
such as CB directly credits gov current account, free of interest
- enlarge the balance sheet of CB

Negative Interest Rates
CB charge banks that hold reserve at CB
bank cannot transfer negative rates to deposits, for fear of losing customers
new loans are priced at lower rates
banks net interest income falls
the profit margin between lending and deposit rates is squeezed
banks unwilling to lend -> less bank income -> bank shares fall

the existence of paper currency makes it difficult for CB to take policy rate below zero

Negative Interest Rates policy could be contractionary, as it is a reduction of money supply

Forward Guidance
Management of expectations
let business estimate how long low interest rates may be around
a way of converting low ST interest rates into lower LT interest rates
time inconsistency can be a problem of forward guidance

Financial Crisis
initial phase (credit boom and bust, asset price boom and bust)
->banking crisis->debt deflation
debt deflation: debt become bigger in real terms during deflation

initial phase (credit boom and bust, severe fiscal imbalances)
->currency crisis->financial crisis

wholesale deposits: a deposit at a bank made by institutional investors, such as mutual bank, pension, large business, another bank. It involves large amount of money, and usually short term

** if banks use whole funds as a source of funds, and make long term loan. If wholesale funding dries up, banks could have liquidity problem.

Yield Curve
term spread = 10 yr yield - 2 yr yield  (slope of the yield curve)
stock market is poor indicator of recessions
(the link between stock prices and GDP growth is weak)
yield curve is better indicator of recessions

Breakeven inflation
the rate that make you indifferent between TIPS and nominal bond, if CPI inflation averages to that level over the years
eg. 10 yr breakeven rate = 10 yr nominal treasure yield - 10 yr TIPS yield

if CPI inflation > breakeven inflation, buys TIPS

Thursday, July 6, 2017

The Money Supply Process

Players in the money supply process
- Central Bank
- Commercial Bank
- Depositors: individuals and institutions

Monetary Base = Currency + Reserves
(MB: aka High powered money)

Reserves = RR + excess reserves

Reserves are bank's deposit with CB, plus currency in bank's vault

Monetary Base Changes
To change MB, CB uses OMO, or lending to banks
- to increase MB, buy gov bond
- to decrease MB, sell gov bond

Example: Open market purchase from a bank
CB
Asset                         Liabilities
Securities +100m     Reserves +100m
Commercial Bank
Asset                          L
Securities -100m       no change
Reserves  +100m

Example: Open market sales to a bank
CB
Asset                         L
Securities -100m     Reserves  -100m
Commercial Bank
Asset                          L
Securities +100m       no change
Reserves  -100m

Example: CB lends to bank
CB
Asset                         L
Loans +100m           Reserves  +100m
Commercial Bank
Asset                         L
Reserves +100m       Loans + 100m

MB = MBn + BR
BR: borrowed reserves by banks, cannot controlled by CB
MBn: non borrowed monetary base

Money Creation
CB control MB, but not the overall money supply
commercial banks are creators of deposit money

Bank A
Asset                   L
Reserves +100   checkable deposit +100
(after bank A makes a loan to bank B)
Bank A
Asset                  L
Reserves +100   checkable deposit +100
newloan  +90     newdeposit   +90
(after borrower withdraws cash)
Bank A
Asset                 L
Reserves +10    checkable deposit +100
newloan  +90  
Bank B
Asset                 L
Reserves +90    checkable deposit +90

R = rr x D     ; rr : required reserve ratio, D : deposit, R : reserve
M = m x MB   ; m : money multiplier
M = C + D
MB = C + R = C + rrD + ER
m = (C + D) / (C + rrD + ER)

Definition of Money
narrow money
M0: notes and coins in circulation
MB: M0 + reserves
M1: M0 + checkable deposits + traveler cheques
broad money
M2: M1 + savings deposit, time deposits,




Wednesday, July 5, 2017

Central Bank and Monetary Policy

The Monetary Policy Objectives
Price stability - control inflation
Economic stability - push for sustainable economic growth
Financial stability - efficient payments system

Inflation is bad because:
erode purchasing power
cause uncertainty in economy
reduce country's competitiveness - goods and services become expensive
worse income inequality - the rich can always keep their financial assets in stock market, real estate, foreign assets
other economic costs -  rent seeking behavior, inflation make credit cheap

FX intervention is costly
control depreciation - not enough FX reserve
control appreciation - negative carry, FX valuation loss
- negative carry:  the difference of interest payment on foreign assets and interest payment on domestic gov bonds
- FX valuation loss: the valuation of FX assets reduce when FX depreciate against domestic currency

FX sterilization: to offset the effect of FX intervention. For example, CB sells domestic currency, and buys foreign currency to support its currency. To mop up excess liquidity in the market , do so by selling gov bonds,

Monetary Policy Tools
Reserve requirement (RR):
for liquidity management and monetary control
increase the cost of operation on banks, distort market system if the reserve does not pay interest (it is a tax on banks)

Open Market Operations (OMO):
- repo, reverse repo

1 day bilateral repo rate: policy rate
7 day, 14 day repo rate, auction

- outright purchase/sale of gov bands
- foreign exchange swap

Discount window and discount rate
- discount window also known as standing facility
lending facility , deposit facility
CB lending rate : policy rate + 0.5%
CB borrowing rate : policy rate - 0.5%
iU (CB lending rate ), iL (CB borrowing rate)
iU - iL : interest rate corridor
important to have corridor, CB wants to influence the market rate around the policy rate

- discount rate is usually set at fed fund rate + 100bp. The purpose is the Fed prefers banks to borrow from each other in the federal funds market, so that they can monitor each other's credit risk.

corridor too wide: more volatility in market rate
corridor too narrow: too little penalty for commercial bank when they come to lend/borrow

standing facility and OMO are market based , RR is not market based. If banks don't transmit well, use RR

Monetary Policy Regime
1. exchange rate targeting:
-CB must have sufficient reserves
-CB and gov must be ready to use capital controls

2. monetary targeting:
-target the supply of money in economy

3. inflation targeting:
-public announcement of medium term inflation target,
-easy to understand
-reduces time inconsistency problem
-stresses transparency and accountability
-take time to have effect ( 6 - 8 quarters)
-too much rigidity, eg. inflation nutter

Monetary Policy and Financial Stability
Time inconsistency problem: CB deviate from a policy after it was announced, destroys CB's creditability
Nominal anchor: money supply or inflation rate

** use nominal anchor because the public can observe nominal variable, such as price increase

** second round effect: if wage goes up, price goes, up, wages goes up, wage-price spiral. If CB can anchor inflation expectations, the second round effect is minimal

**if monetary policy is credible enough to anchor inflation expectation, the inflation overall will be  maintained.

Clean vs lean debate:
Lean
besides price stability risk, CB respond to other risk, such as asset bubble risk
because cost of cleaning up is too high
Clean
It is impossible to lean against credit bubbles using monetary policy
difficult to identify asset price bubbles
only clean up after bubble burst

Two types of asset price bubbles:
- credit driven bubble
bank extends BS to investors, debt overhang problem
- "irrational exuberance" bubble
overly optimistic view of the investors

interest rate is a blunt tool, affecting other economic variables
and raising interest rate may not be effective in restraining bubbles

macroprudential policy can be used to reign in asset price bubbles, policy tools such as LTV, leverage ratio, and the below:
countercyclical buffer: good times banks hold more reserves
liquidity ratio: the ratio of liquid assets to total net cash outflows, that banks need to have

It is dangerous to associate easing/tightening of monetary policy with a fall/rise in ST nominal rates. It is important to look at other assets prices as well.
Case study:
In Japan, in the two lost decades, although the nominal rate is low, deflation means real rate remained high. The high real interest rate is reflected in the lower asset prices of real estate and stock valuation.

Monetary Policy and Transmission Channels
Interest rate: real interest rate affects consumers and business, LT interest rate has major impact on spending
Credit supply:
- bank lending channel: policy rate affects banks marginal cost of funds, increase in cost of funds make banks reduce loan
- balance sheets channel: interest rate affects firms balance sheet, firms can borrow more when their balance sheet improves
Asset prices: stock price up, financial wealth up, consumption rises
Exchange rate: FX changes lead to changes in relative prices of domestic and foreign goods and services
Expectations: anchor expectations

Money and Inflation
Nominal Rigidity
- known as price stickiness or wage stickiness
- lags in the adjustment of prices and wages to changes in demand
- so money affects real variables in the short run, and prices in the long run

there are no explicit relationship between money aggregates and inflation but correlation exists

Saturday, July 1, 2017

Labor Economics (Part 2)

Demand for Labor

Principles
Labor demand = derived demand (product demand comes first, labor demand comes second)

government influences:
- min wages
- welfare laws
- retirement , pension regulation
- safety protection laws
- immigration control
increase the cost of hiring labor

profit maximization
2 preconditions
- price are influenced by the market ( profit max is done thru output decision)
- most decisions are marginal (incremental)

max profit = incrementally optimise output
- if income of one additional input unit > expense of unit => add more input
- if income of one additional input unit < expense of unit => reduce input

2 input factors: labor , capital

marginal product
  MPL = dQ/dL ( holding capital constant)
  MPK = dQ/dK ( holding labor constant)

marginal revenue
  MR = P in competitive mkt

marginal revenue product
  MRPL = MPL * MR     =>     MRPL = MPL * P

marginal expense of labor
  MEL = w  ( forms are wage takers in competitive mkt)

Employee Value Proposition
- what ppl can get out of the company
- why ppl would want to work there

Labor demand in the SR
(capital is fixed, only labor can be adjusted)
assume declining MPL, diminishing marginal returns

from profit max to labor demand, MRPL = MEL
MPL*P = w ; in dollar term
MPL = w/P ; in physical quantity
at E2, MPL < (w/p)0, make a loss, reduce employees
at E1, MPL > (w/p)0, make a profit, increase employees

not making judgement about individual, labor are interchangeable

criticism (to the marginal productivity theory of demand)
- firms don not really understand MPL, firm guess the value added of a worker
- adding labor without increasing capital does not work
 (not entirely true: holiday coverage. shift breaks)

Labor demand in the LR
LR: other input factors can be varied and affect the demand for labor
Two equations must be fulfilled:
MPL = W/P   ;   MPK = C/P

so   W/MPL = C/MPK
- marginal cost of producing an extra unit, using capital , same as marginal cost of producing an extra unit, using labor
- to maximise profit, firm must adjust the labor and capital inputs, so that MC of an extra unit is equal, whether using L or K

(to be continued...)

Tuesday, June 20, 2017

Labor Economics (Part 1)

Labor Market

It is a special market, the conditions under which services are rented can be as important as the price. it means for labor market, non pecuniary factors are important, such as :
- work environment
- personality of manager
- perception of fair treatment
- flexibility of working house

Nonetheless, it is still a market
- institutions such as employment agencies facilitate contact between buyers and sellers of labor resources
- info about price and quality is exchanged
- formal and informal contracts exists, regulating time and compensation

Positive economic model
- theory of behavior whereby people respond positively to benefits and negatively to costs
Scarcity - we have to make trade offs
Rationality - utility max
(correct vs incorrect)

Normative economic model
- based on some underlying values, what ought to exist
min wage, immigration, welfare program
(good vs bad)

culture is a system of values and norms
values are abstract ideas about what a group believes to be good, right, desirable
norms are social rules and guidelines that prescribe appropriate behavior in situations

two types of transactions
- voluntary , mutually beneficial
- mandatory, based on policy or law, even though one or more parties might lose out, eg. tax

five types of market failure
- ignorance
- transaction barriers
- externalities
- public goods, free rider problem
- price distortion, eg. min wage
gov intervention can correct market failures, such as intervene to promote socially beneficial transactions

Efficiency vs equity
- What is efficient is not necessarily equity. Normative econ stress efficiency, because it can be analysed scientifically. For equity, seek guidance from political systems, not market.

Labor Market Overview

A market with buyers and sellers

Labor force and employment
unemployment rate = number of ppl unemployment /number of ppl in labor force

Wage, earnings, compensation and income

wage rate * unit of time = earnings
earnings + employment benefits (in-kind or deferred) = total compensation
- payment in kind: employer provided health care or insurance
- deferred: social security
total compensation + unearned income (interest, dividend) = income

How it works

two effects
- scale effect: wage ↑, price ↑, product demand ↓ -> employment ↓
- substitution effect: wage ↑, capital intensive production ↑  -> emp ↓
(substitute labor and machine, product market stays the same)

other effects
- demand for product ↑ -> hire more labor
higher demand at any price -> demand for labor ↑

- supply of capital, when capital price ↓


a. scale effect dominates
- more machine -> hire more workers to run the machine -> higher labor demand

b, substitute effect dominates
- same product demands -> substitute labor with machines

Thus, no clear prediction from econ theory

Supply of Labor
- market supply
if salary in other professions remain the same, more people want to become lawyers if lawyer's wages rise

if wage of insurance up, supply of paralegals comes down

- supply to firms

individual firms are wage takers - pay market wage

Wage determination
market clearing wage
w1 -> demand ↑  S ↓
w2 -> demand ↓  S ↑
market clearing wage - wage which supply = demand. at We, everyone is satisfied
The market clearing wage becomes going wage in the market.

disturbing the equilibrium
- demand shift
eg. if there is new regulation, more lawyers need

- supply shift

workers decrease, market wage goes up

barriers to adjustment
- workers: skill change, cost of moving
- employers: search and training cost, firing cost, wage cost
- non market forces: law constraining individual
  customs, culture

barrier of adjustment is the reason of unemployment

Discussion
market adjust more quickly for rising wages, because forces keep wages above market
market adjust slowly to decreasing wages, because labor union may protest
- the above market wages implies S of labor greater than D of labor, there will be unemployment

Applications of the theory


company overpay with above mkt wages
- if lower wages (lower than We), less ppl want to work

at individual level, economic rent is the amount where one's wage exceeds one's reservation wage
- reservation wage is the wage below which worker would not want to work
for L0 workers, they receive economic rent of W2 - W0

- employer do not know the reservation wage , so they pay more
- hard to know the fair wage


Tuesday, June 6, 2017

Marketing and Behavioral Economics

Consumer Behavior
use theories to understand, explain, predict and change the Consumer Behavior
- consumer consume (consumer behavior)
- customer buy (customer behavior)

consumer behavior and advertising , how to link together?
- largely a matter of motivation
- what and how to say things that interest them

needs: hunger state of feeling deprivation, shaped by culture and individual
wants: noodles. sushi, rice

marketing myopia
- forgetting customers needs, focusing only on wants
- product differentiation to a point that it is overdone
- forgetting customers needs

different benefits for diff wants and needs, differentiate and target different segments

Motivation and Culture
two motivation types:
utilitarian - functional
hedonistic - fun, pleasure

approach or avoidance motivation
- problem solving or avoidance of problem

evolutionary psychology
- human do not like being oppressed, rebel instinct
- humans seek status instinctively
- conformity consumption - fitting in
- opposition consumption - standing out, rebel cool

Consumption and signals
- clean cut (Ralph Lauren) or rebellious (Diesel)
- hanky code , ppl create their meaning

public consumption : conspicuous consumption - want to be seen
private consumption : cheaper brands

Adding structure to unstructured problems
- structured: routine and repetitive
- unstructured: non routine, rely on experience, intuition, judgement, eg. choosing strategy to remain competitive in changing market
- semi-structured: combination of the above two,  eg. choosing a new univ

theories and past research help structure an unstructured problem into semi structure problem

constructs - prefer intangible variables
price, age - tangibles
IQ, personality, religiosity, happiness - intangibles


factor analysis - data reduction to identify a small number of factors that explain most of the variance that is observed in variables

Marketing Research
the planning, collection, analysis of data relevant to marketing decision making, and communication of the results of analysis to the management (the client)

use market research before advertising campaign, reduce risk. save money

1st step - identify the problem
2nd step - identify the variables
- eg. what factors are involved when choosing a bank
3rd step - clarify the questions
4th step build the constructs and scales

qualitative - understanding, tell you why, such as focus group
quantitative - measurement, tell you what but not why, such as descriptive research

descriptive research doesn't tell why, only tell what, it is very weak

Attitudes and Behavior
- do attitudes have to be based on experience
no, you can form attitudes without ever using a product

attitudes comes first, long lasting behavior second
attitudes drives behavior

Double jeopardy
- similar to halo effect
- ppl are using a brand with high market share, so end up with more ppl talking about a brand they use themselves
- big brands get good scores
- small brands will not, except from those who use the brands

Puffery
- express subject views, no reasonable person would take it seriously
- a brand calling itself the best or the finest, might not be true

** marketing can be very good at stimulating wants and needs, but nobody can force you to buy anything

Loyalty and Brand Repertoires
- loyalty means a person chooses a brand due to preference
- timeframe very likely to affect loyalty patterns
- more time, less likely to appear loyal
- using share of category requirements (SCR), how many times you buy the category per year
- proportional loyalty - SCR

Dirichlet model
- assume normal distribution, random (stochastic) purchasing
implications of it
- brand loyalty is mostly divided, almost all customers buy more than one brand over time period
- buyers of my brand also buy other brands
- individuals have brand repertoires -> multi brand royal
- should try to reach more consumers so that a larger group of people us buying your brand, some of the time
- do not aim for 100% loyalty
- big brands likely to be consumed publicly, while cheaper brands consumed privately

Branding
- familiarity and trust make it easier for consumers to buy, reduce effort in decision making
- serves as a bridge, help connect people
- a strong brand moves product away from commodity status

product differentiation or salient point
- no fixed answer
- most ads are using salient points
- product differentiation can be boring because it focus on facts

after learning about brand repertoires, it seems that ads should mainly be about getting ppl to know a brand and use it (at least once in a while)
- brand does not have to be seen as the best, but only as good enough - satisficing
- survival of the fit enough, not of the fittest

the more you see an ads, the more effective it is ? Not true
- if ad doesn't work in the short term, will it magically start working in the long term?
- must have short term impact to have any long term effect

break thru the clutter
- to find a way to reach consumers in spite of the many ads they are exposed to
- use creativity

however, dangers of creativity
- ppl don't understand
- may offend ppl
- ppl don't link to or remember the brand
- different reactions to ads because values may differ, sense of humor can differ

world of mouth can be tiring if repeat many times, such as on social media

Product and price
core product: core benefits, eg. same functionalities, watches, cameras, shampoo
actual product: combine to deliver core product benefits, eg. private label or manufacturer bands
augmented product: additional services or benefits

**successful new products are kept away from the formal system. Why?
ans: company is rigid and slow , difficult to break out of the system
dont judge new product using old criteria

Marketing Management 
- five different concepts
1. production - believe that consumers want products that are available and affordable.
mgt shd focus on improving production efficiency
2. product - believe that consumers want products that offers most quality, features, performance. mgt shd focus on continuous product improvements
3. selling - believe that people won't buy enough unless promotion is done
4. marketing - believe that consumer needs and wants must be understood and satisfied
5. social marketing - questions the marketing concept is adequate due to the number of problems in the world

McDonalds - selling , faster , std product
BurgerKing - marketing, slower, customised product

Promotion and advertising
- if you have a discount, give a reason
- advertising, for LT, build up the brand
- promotion, for ST, if brand is strong, promotion can be effective

cognitive dissonance, buyer's remorse
- anxiety or regret that lingers on after a difficult decision
esp if it is tough choice, many close alternatives, expensive, or leads to long term commitment

advertising type
- primary demand stimulation, for entire product category, eg. milk, egg
- selective stimulation, promote particular brand

Marketing funnel
- awareness
- interest
- evaluation
- commitment
- referral

if awareness high, interest low, what to do?
ans: change benefits or communications

if awareness high, interest high, trial low , what to do?
ans: free sample, distribution

if awareness high, interest high, trial high , what to do?
ans: more market research, maybe it is not good value for money

buyer decision process
- need recognition
- info search
- evaluation of alternative
- purchase decision
- post purchase behavior

adoption process
- action
- desire
- interest
- awareness

STP marketing
- segmentation
according to demographics or psychographics
- targeting
target specific segment
- positioning
where the product's position is in the consumers' mind

beware:
- different benefits for diff wants and needs, differentiate and target diff segments
- create choice confusion, variety seeking
- danger to label ppl when they don't want to be reminded of

better:
- understand ppl and position product to reach a wider group
- better than segment the market and find loyal customers


Wednesday, April 26, 2017

Quantitatve Methods

Nonparametric Statistics
- test characteristics of populations without referring to specific parameters
- designed to test ordinal data
- when data is ordinal, the mean is not an appropriate measure of central location
- does not need data to be normally distributed
- Nonparametric is distribution free statistics
- test population locations

Wilcoxon rank sum test
- compare two populations
- samples are independent
- data are ordinal or interval
- test whether population distributions are identical or not
- in locations and shapes, spreads (variances)

Sign test
- samples are matched pairs
- compare two populations of ordinal data in a matched pair

Wilcoxon signed rank sum test
- samples are matched pairs
- compare two populations of interval data in a matched pair

Kruskal Wallis Test
- compare two or more populations
- data are ordinal or interval
- data from independent samples

Friedman test
- compare two or more populations
- data are ordinal or interval
- data from randomised block experiment

Spearman rank correlation coefficient
- test whether relationship exists between two variables
- ordinal or interval data

Analysis of Variance (ANOVA)
- compare two or more population means
- by analyzing sample variance
- of interval data
- from independent samples or blocked samples
- populations are referred to as treatments

SST - sum of square for treatment
- between treatment variation

SSE - sum of square error
- within treatment variation

MST = SST / (k-1)
MSE = SSE / (n-k)

test statistics F = MST / MSE
- if F larger than Fcritical, reject H0
- if p value less than significance, reject H0

independent samples - one way ANOVA

blocked samples - two way ANOVA

Inference
- when population variance is known or given
use Z = (x̄ - u ) /(σ/√ n)
- when population variance is NOT known
use t = (x̄ - u ) /( s/√ n)

z statistics is:
and 

when z statistics is replaced by t statistics, t statistics is:
 and

use s : sample std deviation instead of population std deviation
- t stat assume data is normal

and the confidence interval estimator of u is:

- test population proportion


and

Two Populations Inference
- assume populations are normally distributed
-test the variances are equal or not
use F-test
-if variances are equal
use t-statistics
-Else if variances are unequal
use t-statistics

Chi Squared Test
- multinomial experiment
- goodness of fit test
- nominal data
- test about population's variability

Sampling and Estimation
- central limit theorem
for a large enough sample size, the distribution of sample mean is approximately normal

the probability of Z within the significance level of α
P(-Zα/2 < Z < Zα/2) = 1 -α

Example:
The student salary distribution with mean 500, variance 10
Qn: what fraction of students earn more than 520?
Ans:
P( (x̄ - u ) /(σ) > (520 - 500)/ 10 ) = P(Z > 2) = 1 - 0.9772 = 0.0228
(for population, don't need to know n)
Qn: 93.32% of students earn less than me, how much do i earn?
Ans:     find Z from 0.9332, so Z = 1.5
    then calculate    (x̄ - 500)/ 10 = 1.5  => x̄ = 515



Tuesday, February 28, 2017

Microeconomics

Economic Optimization
Total revenue
TR = f(Q)
TR = P * Q
MR = 𝛿TR/𝛿Q

Revenue maximization
TR = f(Q)
dTR/dQ = 0
when MR = 0, revenue is max

Average cost minimization
MC = dTC/dQ
AC = TC/Q
set MC = AC, solve for Q

Profit maximization
π = TR - TC
π(Q) = TR(Q) - TFC - TVC(Q)  
dπ/dQ = dTR/dQ - 0 - dTVC/dQ = 0    ; if ignore TVC
dπ/dQ = 0    -> mπ = 0
dTR/dQ = 0 -> mR = 0
So: mπ = mR

π(Q) = TR(Q) - TC(Q)
dπ/dQ = dTR/dQ - dTC/dQ = 0
marginal profit
Mπ = MR - MC = 0
Mπ = 0 , MR-MC = 0
So: MR = MC

Accounting profit πA = TR - TC(explicit)
Economic profit πE = TR - TC(explicit + implicit)
πE = πA - implicit cost(opportunity cost)

In perfect competition, business are earning normal profit, and economic profit is zero.

πE = 0
Normal profit = TC(explicit + implicit)

Demand Analysis
Market basket: combination of good and services that gives the same amount of utility or satisfaction

Indifference curve:
A curve of all market baskets that provides same utility to consumer
indifference curves do not intersect, convex to the origin, slopes downward

A->B->C, the utility value of one unit of x becomes smaller compared to y, then the amount of x to substitute is larger
(the more unit you consume, the less satisfaction per unit you get)

Budget constraints
B = PxX + PyY
slope of B  = dY/dX
PyY = B - PxX
Y = B/Py - Px/Py X
slope of B = dY/dX = -Px/Py
combination of products that can be purchased for a fixed amount

Income effect: increase in consumption after price cut

Substitution effect: changes in consumption as consumer substitute cheaper products for expensive ones

Effect: The change of relative prices is the substitution effect (steep line to dotted line) and the change of purchasing power is the income effect (dotted line to parallel solid line)

Engle Curves:
The effects of changing income on consumption

Optimal Consumption
for utility max, slope IC = slope B
-MUx/MUy = -Px/Py
MUx/Px = MUy/Py

one dollar you spend on goods X, give you the same satisfaction or not, compared to one dollar you spend on good Y

Marginal rate of substitution (MRS)
MRS = dY/dX, slope of an IC
MUx = dU/dX
MUy = dU/dY
MUx*dX = -MUy*dY
slope IC = dY/dX = -MUx/MUy = MRSxy

MRSxy = MUx/MUy

On the consumption side, for utility to remain constant, the quantity goods X has to be given up for one extra unit of goods Y.

Elasticity
Point elasticity
 e = %ΔY/%ΔX = X/Y * DY/DX
Arc elasticity
E = ((Y2-Y1)/((Y2+Y1)/2)) / ((X2-X1)/((X2+X1)/2))

Price elasticity of demand = %ΔQ/%ΔP
Point elasticity
 e = (P/Q) * (DQ/DP)
Arc elasticity
E = ((P2+P1) / (Q2+Q1) ) * ((Q2-Q1) / (P2-P1))

completely inelastic demand, ep = 0, see below
completely elastic demand, ep = infinite
(happen in perfect competition market, price taker only)

Price elasticity and price changes
elastic demand  |ep| > 1.0
  luxury goods  %ΔQ>%ΔP
  P↓ => Q↑ ->  P↓ => TR↑
  P↑=> Q↓ ->  P↑ => TR↓
unitary elasticity |ep| =1.0
inelastic demand |ep| < 1.0
  necessity goods  %ΔQ<%ΔP
  P↓ => Q↑ ->  P↓ => TR↓
  P↑=> Q↓ ->  P↑ => TR↑


Production Analysis
Marginal Product
MPx = dQ/dX

Isoquant
Different input combinations used to efficiently produce a output

Marginal rate of technical substitution
MRTSxy = MPx/MPy

On the production side, for output to remain constant, the quantity input X has to be reduced for one extra unit of input Y.

imperfect substitution
perfect substitution
perfect complement
Margin revenue product
MRPx = dTR/dX = dQ/dX * dTR/dQ
          = MPx * MRQ

Margin revenue product of Labor
PL = MPL * MRQ =  MRPL
PL is wage of labor

If MRP > MC, profit will increase
Economy efficiency MRP = MC

Budget line (isocost curve)
B = PxX + PyY
slope of B  = dY/dX
PyY = B - PxX
Y = B/Py - Px/Py X
slope of B = dY/dX = -Px/Py

Expansion path
for utility max, slope Isoquant = slope B
-MPx/MPy = -Px/Py
MPx/Px = MPy/Py

Output elasticity  = %ΔQ/%ΔX
Point elasticity
 e = (X/Q) * (DQ/DX)
Arc elasticity
E = ((X2+X1) / (Q2+Q1) ) * ((Q2-Q1) / (X2-X1))

Degree of operating leverage (DOL)  = %Δπ/%ΔQ
 e = (Q/π) * (Dπ/DQ)
DOL = (P-AVC)/(P-AC)

Cost Analysis
TC = TFC + TVC
AC = AFC + AVC
MC = dTC/dQ
short run cost curves
Profit contribution πc
πc = P - AVC  per unit
πc = PQ - AVC*Q  total
      = TR - TVC
P > AVC => πc +
P < AVC => πc  -

Learning curve


learning rate  (AC1 - AC2) / AC1 *100

Breakeven analysis
total  revenue = total cost
  P * Q = TFC + AVC * Q
  QBE = TFC / (P - AVC)

Cost elasticity  = %ΔTC/%ΔQ
Point elasticity
 e = (Q/TC) * (DTC/DQ)
Arc elasticity
E = ((Q2+Q1) / (TC2+TC1) ) * ((TC2-TC1) / (Q2-Q1))

Price Theory
Competitive markets
P = MR = MC

Imperfectly competitively markets
TR = PQ
MR = dTR/dQ = d(PQ)/dQ
       = PdQ/dQ + QdP/dQ
       = P(1 + Q/P * dP/dQ)
MR = P(1 + 1/ep)
max π: MR = MC
P* = MC/(1 + 1/ep)   -> P* is profit max price per unit

MOC = (P-MC)/MC => P=MC(1+MOC)  ; markup on cost
Optimal markup on cost = -1/(ep+1)

MOP = (P-MC)/P)  ; markup on price
Optimal markup on price = -1/ep

Competitive Market
- essential identical products
- large number of buyers and sellers
- free entry and exit
- opportunity for normal profits in the LR (LR: P = MC = AC)


SR: MC is the supply curve.
P=MC=MR (point A)
π= TR - TC  = rectangle CBQ1


LR: MC is the supply curve.
P=MC=AC
π=0

Monopoly
- product has no substitutes
- only one seller
- restricted entry and exit
- opportunity for economic profits in the LR (LR: P > AC)
- pricing power


For SR and LR , P > Cost, monopoly equilibrium Q is at MR = MC. MC is the supply curve.

For deadweight loss, it occur because P > Cost and Qm < Qc.

social benefits of monopoly
- economies of scale
- invention and innovation

Monopolistic Competition
- differentiated products
- many buyers and sellers
- free entry and exit
- opportunity for normal profits in the LR (SR: P > MC, LR: P = AC)

when P=AC,  there are normal profit , but zero economic profit

Qn: compare perfect competition and monopolistic competition, why perfect competition is more efficient in the LR?
- perfect competitive market P= AC at the lowest AC
- monopolistic competition P = AC , but that AC is not the lowest AC
- so perfect competition is more efficient than monopolistic competition

Oligopoly
- identical or differentiated products
- interdependent price output decisions
- few competitors
- opportunity for economic profits in the LR (P > MC, P = AR > AC)
- restricted entry and exit
- output setting models (cournot, stackelberg)
- price setting models (sweezy, bertrand)

Cournot model
- firms make simultaneous and independent output decisions
- duopoly, two firms
- find output reaction curve

Stackelberg model
- sequential output settings, big firm set output levels, smaller firm follows
- price leadership
DL = DT -Sf , DT is total demand, Sf is follower supply curve
Price leader faces demand curve DL, as a monopolist, max profit where MRL = MCL, at Q1 and P1. Followers supply output of Q3 - A1.

Bertrand model
- firms make simultaneous and independent price decisions
- find price reaction curve

Sweezy model
- kinked demand curve

This model faces a kinked demand curve, indicating that competitors will react to price reductions by cutting their own prices and causing the segment of the D curve below the kinked to be relatively inelastic. Price increases are not followed, causing the portion of the D curve above the kink to be relatively elastic.