Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Re: Generating 'filler' data


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   Re: st: Re: Generating 'filler' data
Date   Sat, 02 Jun 2007 11:11:56 -0400

..
First, I wouldn't say "can't work" if I were you.

Second, is fillin clairvoyant? No, but it can look at the data you do have and fill in whatever combinations are missing. If your data does not have any observations for some buckets, then it won't know. But that can be easily solved by creating some observations that have all the numbers, run fillin, then delete the fake observations.

set obs 4096
gen id=0
gen bucket=_n-1

append using mydata
fillin id bucket
drop if id==0
replace value=0 if value==.

Michael Blasnik

----- Original Message ----- From: "Joe Trubisz" <[email protected]>
To: <[email protected]>
Sent: Saturday, June 02, 2007 9:34 AM
Subject: Re: st: Re: Generating 'filler' data



Fillin can't work.
After all, how does it know that the limit for the bucket is 4095, and not 3713?

Joe


On Jun 1, 2007, at 9:36 PM, Michael Blasnik wrote:


You said it: ."What I want to do is to 'fill in' the buckets".  Try


help fillin

Michael Blasnik
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index