Statalist The Stata Listserver


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

Re: st: Whether the dichotomous variable be treated as endogenous variable in the path analysis and how?(help)


From   Richard Williams <Richard.A.Williams.5@ND.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Whether the dichotomous variable be treated as endogenous variable in the path analysis and how?(help)
Date   Sun, 13 May 2007 02:30:38 -0500

At 12:19 AM 5/13/2007, Yan Cheng wrote:
Hello, everyone,

I have a a dichotomous variable as endogenous variable in the path
analysis, sex(0/1), I wrote the following syntax, is it right? Could
you please provide me some advances?

pathreg (knowledge exogenous_vars) /*
*/ (attitude knowledge exegenous_vars) /*
*/ (sex attitude knowledge exogenous_vars)
I am not sure if you are asking a technical question about syntax or a substantive question about how to model something. If the question is technical, You can always try the above and see if it works. It looks like it will run but it is easy to miss something.

More substantively, if sex is 0 = male and 1 = female, I don't see why it would be endogenous. But, perhaps sex stands for attitudes or behaviors instead. Also, since sex is a dichotomy, I would think you'd want to use logit or probit instead.

If you can


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: Richard.A.Williams.5@ND.Edu
WWW: http://www.nd.edu/~rwilliam

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