Bookmark and Share

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]

st: FW: saving regression output after "PV" command


From   Menshawy Badr <[email protected]>
To   "'[email protected]'" <'[email protected]'>
Subject   st: FW: saving regression output after "PV" command
Date   Sun, 10 Apr 2011 15:48:39 +0100

1) I installed the command "pv"
"ssc install pv"
2) run the regression "example"
sysuse auto
pv  length weight, cmd ("reg") pv ("price")
3)trying to store estimates 
Estimates store mod1
4) stata error " last estimation results not found, nothing to store
r(301);"

what do you think, where this problem come from.
Is it something wrong with the pv module or something wrong I do.
Please provide any suggestions.
Thanks 
Menshawy Badr



-----Original Message-----
From: Badr Menshawy 
Sent: Sunday, April 10, 2011 3:38 PM
To: '[email protected]'
Subject: RE: saving regression output after "PV" command

Hi all,
First I am sorry.
Here it is an example of what I am doing 
sysuse auto
pv  length weight, cmd ("reg") pv ("price")
Estimates for price complete

Number of observations: 74
Average R-Squared: .3475630724239042

Plausible Values: price


              Coef     Std Err           t     t Param       P>|t|
length  -97.960312   39.174598   -2.500608          71   .01470813
weight   4.6990649   1.1223393   4.1868486          71   .00007998
 _cons   10386.541   4308.1585   2.4109003          71    .0185038

. estimates store

Here it is the error message
last estimation results not found, nothing to store
r(301);





-----Original Message-----
From: Badr Menshawy 
Sent: Sunday, April 10, 2011 12:59 PM
To: '[email protected]'
Subject: RE: saving regression output after "PV" command

The "PV" command is a user written module to estimate the data from large stratified samples like "PISA, PIRLS and TIMSS".
The PV command is very useful, the problem is that after running the command I do want to use the estimates of two subgroups to run decomposition, but it does not see the output when using "estimates store" stata return (last estimation results not found, nothing to store).

Sorry for any inconvenience (I am new to statelist)
Thanks again,
Menshawy 



-----Original Message-----
From: Badr Menshawy 
Sent: Saturday, April 09, 2011 1:09 PM
To: '[email protected]'
Subject: saving regression output after "PV" command

Hi all,

I am doing regression analysis on stratified sample using PV command.
I am trying to use estimates store after running the command to use the output in another analysis but it does not work (error says: last estimation results not found, nothing to store).
Any help or suggestion.

Thanks, 

Menshawy Badr





This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index