Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Re: Finding and graphing intersection of lines
From
Anders Alexandersson <[email protected]>
To
[email protected]
Subject
Re: st: Re: Finding and graphing intersection of lines
Date
Tue, 2 Aug 2011 17:21:44 -0400
Could you please describe the line intersection problem more clearly,
perhaps using a simple data example in Stata?
Did you consider using the Stata graphics editor for editing the graphs?
Anders Alexandersson
[email protected]
Charles Vinis <[email protected]> wrote:
>> I'm currently developing an n-firm model of Cournot competition in which I am mapping the change in market shares between multiple companies based on reductions in marginal costs. I used a stata loop to find different market shares based on a 1-99 percent decrease in MC for the indicated firm, and I am graphing this as a line against the firms whose MCs are not decreasing. Because this is a program that I want people to be able to experiment with, I would prefer to find a way to get stata to find the intersection of the lines on its own so that I don't have to do it myself each time I run the calculations. I would like to be able to get the graph to label the point of intersection of these lines as well as to display the value of the x-axis and y-axis at that time. If anybody has any helpful ideas I would really appreciate it.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/