Please help with Python code!
Given 16 pairs of prices (as dependent variable) and corresponding demands (as independent variable), use the CURVE FITTING tool to estimate the best fitting LINEAR, EXPONENTIAL, LOGARITHMIC, and POWER curves. (Python code)
Price Demand
127 3420
134 3400
136 3250
139 3410
140 3190
141 3250
148 2860
149 2830
151 3160
154 2820
155 2780
157 2900
159 2810
167 2580
168 2520
171 2430
Please help with Python code! Given 16 pairs of prices (as dependent variable) and corresponding demands...