Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: bs expression list has a limite on the number of character?


From   "Jun Xu" <mystata@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: bs expression list has a limite on the number of character?
Date   Tue, 15 Jul 2003 20:39:17 -0500

All Stata experts:

One dumb question about the bs command. I am writing some codes that invoke bootstrap in this routine. However, it seems that the number of characters in the expression list is limited in the bs command. Not sure if this is the case. The following are the results grabbed from the resutls window after I run the bs command.
********************************************************************************
. bs "mlogit abortion election religion age marital" "(exp([1]_b[_cons]+1.857238605898123*[1]_b[e

lection]+1.653485254691689*[1]_b[religion]+47.07908847184987*[1]_b[age]+2.018766756032171*[1]_b[
marital])/(1+exp([1]_b[_cons] +1.857238605898123*[1]_b[election]+1.653485254691689*[1]_b[religio
n]+47.07908847184987*[1]_b[age]+2.018766756032171*[1]_b[marital])+exp([2]_b[_cons]+1.85723860589
8123*[2]_b[election]+1.653485254691689*[2]_b[religion]+47.07908847184987*[2]_b[age]+2.0187667560
32171*[2]_b[marital])+exp([3]_b[_cons]+1.857238605898123*[3]_b[election]+1.653485254691689*[3]_b
[religion]+47.07908847184987*[3]_b[age]+2.018766756032171*[3]_b[marital])+exp([6]_b[_cons]+1.857
238605898123*[6]_b[election]+1.653485254691689*[6]_b[religion]+47.07908847184987*[6]_b[age]+2.01
8766756032171*[6]_b[marital])+exp([7]_b[_cons]+1.857238605898123*[7]_b[election]+1.6534852546916
89*[7]_b[religion]+47.07908847184987*[7]_b[age]+2.018766756032171*[7]_b[marital]))), reps(20)
command: mlogit abortion election religion age marital
statistic: _bs_1 = exp([1]_b[_cons]+1.857238605898123*[1]_b[election]+1.653485254691689*[1

]_b[religion]+47.07908847184987*[1]_b[age]+2.018766756032171*[1]_b[marital])/(1+exp([1]_b[_cons]
+1.857238605898123*[1]_b[election]+1.653485254691689*[1]_b[religion]+47.07908847184987*[1]_b[a
ge]+2.018766756032171*[1]_b[marital])+exp([2]_b[_cons]+1.857238605898123*[2]_b[election]+1.65348
5254691689*[2]_b[religion]+47.07908847184987*[2]_b[age]+2.018766756032171*[2]_b[marital])+exp([3
]_b[_cons]+1.857238605898123*[3]_b[election]+1.653485254691689*[3]_b[religion]+47.07908847184987
*[3]_b[age]+2.018766756032171*[3]_b[marital])+exp([6]_b[_cons]+1.857238605898123*[6]_b[election]
+1.653485254691689*[6]_b[religion]+47.07908847184987*[6]_b[age]+2.018766756032171*[6]_b[marital]
)+exp([7]_b[_cons]+1.857238605898123*[7]_b[election]+1.653485254691689*[7]_b[religion]+47.079088
47184987*[7]_b[age]+2.018766756032171*[7]_b[marital]))
invalid syntax
r(198);
**********************************************************************************

Thanks a lot.

Jun Xu
Department of Sociology
Indiana University at Bloomington

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

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