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: Estimating SEM with Dummy


From   John Antonakis <[email protected]>
To   [email protected]
Subject   Re: st: Estimating SEM with Dummy
Date   Sun, 30 Mar 2014 23:16:58 +0200

Right Billy!

So, Theofilus, show us the model and and full output and error message.

Best,
J.

__________________________________________

John Antonakis
Professor of Organizational Behavior
Director, Ph.D. Program in Management

Faculty of Business and Economics
University of Lausanne
Internef #618
CH-1015 Lausanne-Dorigny
Switzerland
Tel ++41 (0)21 692-3438
Fax ++41 (0)21 692-3305
http://www.hec.unil.ch/people/jantonakis

Associate Editor:
The Leadership Quarterly
Organizational Research Methods
__________________________________________

On 30.03.2014 23:03, William Buchanan wrote:
John's example was a simple linear regression.  Again, you really should provide more information about exactly what you are trying to do.  The error message you received means that the values Stata chose by default for the starting values weren't good. You can either try specifying starting values for the model manually or it's possible that the -difficult- option for MLE algorithm could alleviate the problem.  However, if you have a series of dummy variables (e.g., already coded as 0|1), then the xi: prefix isn't doing anything.  If, instead, you have a series of nominal variables with several categories you could use the generate option of -tabulate- to create your dummy variables.

HTH,
Billy

Sent from my iPhone

On Mar 30, 2014, at 15:42, Theophilus Dapel <[email protected]> wrote:

Dear John,
I applied the option you gave, thanks.

But I got an error message: initial values not feasible
On 30 Mar 2014, at 17:07, John Antonakis <[email protected]> wrote:

Hi:

In terms of controls, that is, right hand side variables. Just do as you would normally:

xi: sem (y <- x z i.dummy)

Stata will generate k-1 dummies for you, like with other estimators.

Best,
J.

__________________________________________

John Antonakis
Professor of Organizational Behavior
Director, Ph.D. Program in Management

Faculty of Business and Economics
University of Lausanne
Internef #618
CH-1015 Lausanne-Dorigny
Switzerland
Tel ++41 (0)21 692-3438
Fax ++41 (0)21 692-3305
http://www.hec.unil.ch/people/jantonakis

Associate Editor:
The Leadership Quarterly
Organizational Research Methods
__________________________________________

On 30.03.2014 16:38, Theophilus Dapel wrote:
Dear User of Stata,
Any assistance on how to estimate a SEM with dummies in the list of control variables?

Thanks,
Dapel
*
*   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/

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

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