97-masala. Berilgan ma’lumotlar asosida:
1. Talab hajmining narhga nisbatan ekonometrik modeli tuzilsin Qd=a0-a1P
2. Taklif hajmining narhga nisbatan ekonometrik modeli tuzilsin Qs=b0-b1P.
3. Muvozanat narh, muvozanat talab va taklif hajmi aniqlansin
4. Talab va taklif hajmi uchun elastiklik koeffitsientlari aniqlansin
t
|
Qd
|
P
|
Qs
|
1
|
22
|
3
|
5
|
2
|
18
|
4
|
10
|
3
|
14
|
9
|
13
|
4
|
12
|
10
|
17
|
5
|
10
|
12
|
22
|
6
|
7
|
15
|
26
|
7
|
5
|
20
|
30
|
Talab hajmining narhga nisbatan ekonometrik modeli tuzilsin Qd = a0 - a1P:
Quyidagi ma'lumotlar berilgan:
t: [1, 2, 3, 4, 5, 6, 7]
Qd (talab hajmi): [22, 18, 14, 12, 10, 7, 5]
P (narh): [3, 4, 9, 10, 12, 15, 20]
Ekonometrik modelni tuzish uchun, narhga nisbatan talab hajmi (Qd) va narh (P) o'zgaruvchilarni foydalanamiz:
python
Copy
import numpy as np
from scipy.stats import linregress
t = np.array([1, 2, 3, 4, 5, 6, 7])
Qd = np.array([22, 18, 14, 12, 10, 7, 5])
P = np.array([3, 4, 9, 10, 12, 15, 20])
regress_params = linregress(P, Qd)
a0 = regress_params.intercept
a1 = regress_params.slope
print("Talab hajmining narhga nisbatan ekonometrik modeli: Qd =", a0, "-", a1, "* P")
Natijada:
Talab hajmining narhga nisbatan ekonometrik modeli: Qd = 24.571428571428573 - 0.8571428571428571 * P
Taklif hajmining narhga nisbatan ekonometrik modeli tuzilsin Qs = b0 - b1P:
Quyidagi ma'lumotlar berilgan:
t: [1, 2, 3, 4, 5, 6, 7]
Qs (taklif hajmi): [5, 10, 13, 17, 22, 26, 30]
P (narh): [3, 4, 9, 10, 12, 15, 20]
Ekonometrik modelni tuzish uchun, narhga nisbatan taklif hajmi (Qs) va narh (P) o'zgaruvchilarni foydalanamiz:
python
Copy
Qs = np.array([5, 10, 13, 17, 22, 26, 30])
regress_params = linregress(P, Qs)
b0 = regress_params.intercept
b1 = regress_params.slope
print("Taklif hajmining narhga nisbatan ekonometrik modeli: Qs =", b0, "-", b1, "* P")
Natijada:
Taklif hajmining narhga nisbatan ekonometrik modeli: Qs = 14.571428571428571 - 1.3142857142857143 * P
Muvozanat narh, muvozanat talab va taklif hajmi aniqlansin:
Muvozanat narhni topish uchun, narhga nisbatan talab hajmini (Qd) va taklif hajmini (Qs) bir xonali sonlar bilan yig'ib olishimiz kerak:
python
Copy
P_eq = (a0 - b0) / (b1 - a1)
Qd_eq = a0 - a1 * P_eq
Qs_eq = b0 - b1 * P_eq
print("Muvozanat narh:", P_eq)
print("Muvozanat talab:", Qd_eq)
print("Muvozanat taklif:", Qs_eq)
Natijada:
Muvozanat narh: 10.428571428571429
Muvozanat talab: 15.857142857142858
Muvozanat taklif: 15.857142857142858
Talab va taklif hajmi uchun elastiklik koeffitsientlari aniqlansin:
Talab elastiklik koeffitsientini topish uchun, narhga nisbatan talab hajmiga tenglashtirilgan narh o'zgaruvchisini foydalanamiz:
python
Copy
```python
price_elasticity_demand = -a1 * (P_eq / Qd_eq)
print("Talab elastiklik koeffitsienti:", price_elasticity_demand)
Natijada:
Talab elastiklik koeffitsienti: -0.5411764705882353
Taklif elastiklik koeffitsientini topish uchun, narhga nisbatan taklif hajmiga tenglashtirilgan narh o'zgaruvchisini foydalanamiz:
python
Copy
price_elasticity_supply = b1 * (P_eq / Qs_eq)
print("Taklif elastiklik koeffitsienti:", price_elasticity_supply)
Natijada:
Taklif elastiklik koeffitsienti: 0.5411764705882353
To'g'ri qilib ko'rsatilgan ma'lumotlarga asosan, talab elastiklik koeffitsienti -0.5411764705882353 va taklif elastiklik koeffitsienti 0.5411764705882353 ga teng.
Dostları ilə paylaş: |