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

st: logistic -- items vs scale


From   Ben Dulong <ben_dulong@sympatico.ca>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: logistic -- items vs scale
Date   Thu, 01 Aug 2002 07:36:36 -0400

Consider the variables:

y=0  or  y=1

x1=0 or x1=1
x2=0 or x2=1
x3=0 or x3=1

xtotal = x1+x2+x3
xtotal is a scale calculated from the items x1,x2,x3.

********************************************************

Which is the better syntax?

logistic y xtotal

or

xi: logistic y i.xtotal

Other variables will be included in the model.
Other scales will be calculated from n items.

********************************************************

Thank you.
BD.


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