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]

re: Re: st: Constructing a variable from standard deviations


From   Christopher F Baum <[email protected]>
To   <[email protected]>
Subject   re: Re: st: Constructing a variable from standard deviations
Date   Mon, 22 Nov 2010 16:40:49 -0500

<>
When I estimate the standard error of all these residuals I will
probably have 106 different "variables". How can I construct one
variable from all these standard deviations? This is the problem at
which I was stuck at my old approach, so i will probably have the
problem again when i use a new method.


No, just stack them up and apply collapse as I suggested. Presumably the 106 subsamples are all part of one variable. My solution creates temporary variables for each subsample but then combines them in a single residual variable, which can then be collapsed over subsamples.

Kit



Kit Baum   |   Boston College Economics and DIW Berlin   |   http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming   |   http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata   |   http://www.stata-press.com/books/imeus.html


*
*   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