Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: twoway line
Nick Cox <email@example.com>
Re: st: twoway line
Sun, 7 Oct 2012 13:27:20 +0100
By -parm- you presumably allude to -parmest- (SJ/Roger Newson's own
site). If you use that, or any other convenient command, to save the
coefficients to a dataset, then you can plot the coefficients with
-eclplot- (SJ/Roger Newson's own site) or with a suitable combination
of -twoway line- and -rcap-.
That said, your treatment of years may yield inaccurate confidence
intervals if you are not properly modelling serial dependence.
On Sun, Oct 7, 2012 at 1:04 PM, Lynn Lee <firstname.lastname@example.org> wrote:
> Thank you for your reminder, Nick. I apologize for unclearness.
> I run an OLS regression regarding returns to education.There are 20 years,
> each year has its coefficient on returns o education. So, I want to plot a
> graph, with year on x-axis , each year's coefficient on y-axis, and
> confidence interval marked on the graph. How to create a data set that store
> all coefficients in it, so, I can plot this picture easily?
> First, thank you for your email regarding the interesting document of -parm-
> and confidence interval plot. But I see, the plots seems to be in discrete
> case. If I want to plot graph that is in "twoway line" shape, how to do
> that? Since I want to plot coefficients over years.
> I appreciate for your help.
> Best Regards,
> Lynn Lee
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Nick Cox
> Sent: Sunday, October 07, 2012 4:13 PM
> To: email@example.com
> Subject: Re: st: twoway line
> What is "the [line] graph regarding  coefficients" from what presumably
> is a multiple regression obtained with -regress-?
> You need to explain precisely what you want, i.e. what is on the y axis,
> what is on the x axis, and how the 20 coefficients feature.
> On Sun, Oct 7, 2012 at 3:45 AM, Lynn Lee <firstname.lastname@example.org> wrote:
>> I am trying to plot twoway line with regard to coefficients in OLS.
>> For example, the model has 20 coefficients, I want to plot the graph
>> regarding these coefficients. I tried to use command -eret-, but
>> coefficients can not be stored in data set. How to do this plotting?
>> Any suggestion is appreciated.
* For searches and help try: