Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: problem with -contract-


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: problem with -contract-
Date   Tue, 5 Jan 2010 18:52:57 +0100

<> 

-h limits- (in Stata 10) does indicate that IC can handle 2,047 variables,
though. What happens when you run this example code?



*************
clear*

vers 10.1

set obs 1000

forv i=1/165{
	gen var`i'=irecode(runiform(), 0, .2, .9, 1)
}

contract var*

su _freq, d
*************



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Karen Wright
Gesendet: Dienstag, 5. Januar 2010 18:32
An: [email protected]
Betreff: st: problem with -contract-

I was wondering if anyone could help with a problem i am having using
-contract-.  I wish to use contract on about 165 variables at the same time,
this would create a dataset containing 166 variables if contract worked.
however Stata (of which I am using version 10, IC)  cannot do this due to
too many variables.  Is there another way to create the frequencies I
require or to alter -contract- in some way to allow this many variables?

Thank you,
Karen 


The Institute of Cancer Research: Royal Cancer Hospital, a charitable
Company Limited by Guarantee, Registered in England under Company No. 534147
with its Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addressee only.  If
the message is received by anyone other than the addressee, please return
the message to the sender by replying to it and then delete the message from
your computer and network.

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


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index