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: st: how can I use noof obs in Syntax


From   Daniel Feenberg <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: how can I use noof obs in Syntax
Date   Wed, 24 Oct 2012 07:01:14 -0400 (EDT)


On Wed, 24 Oct 2012, rasool.bux wrote:

How I can use as an option in Syntax noobs(integer _N) is giving a syntax error.

syntax varlist(min=2) [if] [in] [, REPS(integer 50) noobs(integer _N) seed(integer 1) ]

I don't think you can modify _N. You need a different name. It isn't clear why you would have picked that name - it already has the value of the number of observations - did you want the .ado to choose a subset?

daniel feenberg
NBER


Thanks
Rasool Bux

________________________________

This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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