Statalist The Stata Listserver

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

Re: st: How to deal with a lot of exogenous variables in Path analysis (help)

From   Maarten buis <>
Subject   Re: st: How to deal with a lot of exogenous variables in Path analysis (help)
Date   Sat, 10 Mar 2007 09:39:14 +0000 (GMT)

--- Yan Cheng <> wrote:
>      I want to get a model through path analysis, including five
> parts of exogenous variables (background, family, peer, media and
> school environment) and three endogenous variables (knowledge,
> attitude and behavior). In each part of exogenous variables, there
> are more than 5 independent variables, some of them are category
> variables (occupation and family structure) while others are
> continuous variables (age, family support score). 

Assuming that all your endogenous variables are influenced by all your
exogenous variables and that knowledge is not influenced by attitude
and behaviour, that attitude is influenced by knowledge but not
behoviour, and behaviour is influenced by both knowledge and attitude
you can estimate the model like this:

pathreg (knowledge background family peer media school) /*
*/ (attitude knowledge background family peer media school) /*
*/ (behavior attitude knowledge background family peer media school) /*

replace background, family, peer, etc. with the variable names of the
variables that are in those blocks. Add the categorical and ordinal
variables as a series of dummie variables as you would in any other
regression type analysis.

-pahtreg- is not part of official Stata, but written by Phill Ender.
Type -findit pathreg- to find it and follow the instructions to install
it. Also see:

Hope this helps,

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider.
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index